| Modifier and Type | Class and Description |
|---|---|
| private static interface | |
| private static interface | |
| public static interface | |
| private static interface |
| Modifier and Type | Field and Description |
|---|---|
| private final PGPDigestCalculatorProvider | |
| private static final String[] | |
| private static final Map | |
| private static final Map | |
| private static final String[] | |
| private static final Map | |
| private static final String[] | |
| private static final Map |
| Access | Constructor and Description |
|---|---|
| public | SExprParser(PGPDigestCalculatorProvider
a provider for digest calculations. Used to confirm key protection hashes. digestProvider)Base constructor. |
| Modifier and Type | Method and Description |
|---|---|
| private static void | |
| private static BCPGKey | |
| public static PublicKeyAlgorithmTags[] | getPGPSecretKey(PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, PGPPublicKey pubKey, int maxDepth, int type, final SExpression expression, String keyType, PGPDigestCalculatorProvider digestProvider)
|
| private static int | |
| public static int | |
| private static PGPPublicKey | getPublicKey(KeyFingerPrintCalculator fingerPrintCalculator, PGPPublicKey pubKey, SExpression expression, int publicKeyAlgorithmTags, String[] bigIntegerLabels, SExprParser.
|
| private static SecretKeyPacket | getSecKeyPacket(PGPPublicKey pubKey, PBEProtectionRemoverFactory keyProtectionRemoverFactory, int maxDepth, int type, SExpression expression, PGPDigestCalculatorProvider digestProvider, Map<Integer, String[]> labels, SExprParser.
|
| private PGPSecretKey | parse(InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, PGPPublicKey pubKey)
|
| public PGPSecretKey | Returns: a secret key object.Parse a secret key from one of the GPG S expression keys associating it with the passed in public key. |
| public PGPSecretKey | Returns: a secret key object.Parse a secret key from one of the GPG S expression keys. |
| digestProvider | back to summary |
|---|---|
| private final PGPDigestCalculatorProvider digestProvider | |
| dsaBigIntegers | back to summary |
|---|---|
| private static final String[] dsaBigIntegers | |
| dsaLabels | back to summary |
|---|---|
| private static final Map<Integer, String[]> dsaLabels | |
| eccLabels | back to summary |
|---|---|
| private static final Map<Integer, String[]> eccLabels | |
| elgBigIntegers | back to summary |
|---|---|
| private static final String[] elgBigIntegers | |
| elgLabels | back to summary |
|---|---|
| private static final Map<Integer, String[]> elgLabels | |
| rsaBigIntegers | back to summary |
|---|---|
| private static final String[] rsaBigIntegers | |
| rsaLabels | back to summary |
|---|---|
| private static final Map<Integer, String[]> rsaLabels | |
| SExprParser | back to summary |
|---|---|
| public SExprParser(PGPDigestCalculatorProvider digestProvider) Base constructor.
| |
| assertEccPublicKeyMath | back to summary |
|---|---|
| private static void assertEccPublicKeyMath(BCPGKey key1, PGPPublicKey key2) throws PGPException | |
| getECCBasePublicKey | back to summary |
|---|---|
| private static BCPGKey getECCBasePublicKey(SExpression expression) | |
| getPGPSecretKey | back to summary |
|---|---|
| public static PublicKeyAlgorithmTags[] getPGPSecretKey(PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, PGPPublicKey pubKey, int maxDepth, int type, final SExpression expression, String keyType, PGPDigestCalculatorProvider digestProvider) throws PGPException, IOException | |
| getProtectionMode | back to summary |
|---|---|
| private static int getProtectionMode(String str) | |
| getProtectionType | back to summary |
|---|---|
| public static int getProtectionType(String str) | |
| getPublicKey | back to summary |
|---|---|
| private static PGPPublicKey getPublicKey(KeyFingerPrintCalculator fingerPrintCalculator, PGPPublicKey pubKey, SExpression expression, int publicKeyAlgorithmTags, String[] bigIntegerLabels, SExprParser. | |
| getSecKeyPacket | back to summary |
|---|---|
| private static SecretKeyPacket getSecKeyPacket(PGPPublicKey pubKey, PBEProtectionRemoverFactory keyProtectionRemoverFactory, int maxDepth, int type, SExpression expression, PGPDigestCalculatorProvider digestProvider, Map<Integer, String[]> labels, SExprParser. | |
| parse | back to summary |
|---|---|
| private PGPSecretKey parse(InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator, PGPPublicKey pubKey) throws IOException, PGPException | |
| parseSecretKey | back to summary |
|---|---|
| public PGPSecretKey parseSecretKey(InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, PGPPublicKey pubKey) throws IOException, PGPException Parse a secret key from one of the GPG S expression keys associating it with the passed in public key.
| |
| parseSecretKey | back to summary |
|---|---|
| public PGPSecretKey parseSecretKey(InputStream inputStream, PBEProtectionRemoverFactory keyProtectionRemoverFactory, KeyFingerPrintCalculator fingerPrintCalculator) throws IOException, PGPException Parse a secret key from one of the GPG S expression keys.
| |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public BCPGKey |
| assertPublicKeyMatch | back to summary |
|---|---|
| public void assertPublicKeyMatch(BCPGKey key1, BCPGKey key2) throws PGPException | |
| getBasePublicKey | back to summary |
|---|---|
| public BCPGKey getBasePublicKey(BigInteger[] bigIntegers) | |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] |
| getSecKeyData | back to summary |
|---|---|
| public byte[] getSecKeyData(SExpression keyIn) | |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| OPENPGP_PRIVATE_KEY | back to summary |
|---|---|
| public static final int OPENPGP_PRIVATE_KEY | |
| PRIVATE_KEY | back to summary |
|---|---|
| public static final int PRIVATE_KEY | |
| PROTECTED_PRIVATE_KEY | back to summary |
|---|---|
| public static final int PROTECTED_PRIVATE_KEY | |
| PROTECTED_SHARED_SECRET | back to summary |
|---|---|
| public static final int PROTECTED_SHARED_SECRET | |
| SHADOWED_PRIVATE_KEY | back to summary |
|---|---|
| public static final int SHADOWED_PRIVATE_KEY | |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | |
| public static final int |
| OPENPGP_NATIVE | back to summary |
|---|---|
| public static final int OPENPGP_NATIVE | |
| OPENPGP_S2K3_OCB_AES | back to summary |
|---|---|
| public static final int OPENPGP_S2K3_OCB_AES | |
| OPENPGP_S2K3_SHA1_AES_CBC | back to summary |
|---|---|
| public static final int OPENPGP_S2K3_SHA1_AES_CBC | |