Created
June 8, 2021 13:00
-
-
Save hiroyuki-sato/26e3c588ac95d3dd332889c407ec8db3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
case PGPPublicKey.RSA_ENCRYPT: | |
case PGPPublicKey.RSA_GENERAL: | |
case PGPPublicKey.RSA_SIGN: | |
case PGPPublicKey.DSA: | |
case PGPPublicKey.ELGAMAL_ENCRYPT: | |
case PGPPublicKey.ELGAMAL_GENERAL: | |
case PGPPublicKey.ECDH: | |
case PGPPublicKey.ECDSA: | |
case PGPPublicKey.EDDSA: | |
default: | |
throw new PGPException("unknown public key algorithm encountered"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment