static void |
SignatureVerifier.initializeSignatureAndUpdateWithSignedData(org.bouncycastle.openpgp.PGPSignature signature,
InputStream signedData,
org.bouncycastle.openpgp.PGPPublicKey signingKey) |
Initialize a signature and then update it with the signed data from the given InputStream .
|
static boolean |
CertificateValidator.validateCertificate(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKeyRing signingKeyRing,
Policy policy) |
Check if the signing key was eligible to create the provided signature.
|
static boolean |
CertificateValidator.validateCertificateAndVerifyInitializedSignature(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKeyRing verificationKeys,
Policy policy) |
Validate the signing key and the given initialized signature.
|
static boolean |
CertificateValidator.validateCertificateAndVerifyOnePassSignature(OnePassSignatureCheck onePassSignature,
Policy policy) |
|
static boolean |
CertificateValidator.validateCertificateAndVerifyUninitializedSignature(org.bouncycastle.openpgp.PGPSignature signature,
InputStream signedData,
org.bouncycastle.openpgp.PGPPublicKeyRing signingKeyRing,
Policy policy,
Date validationDate) |
Validate the given signing key and then verify the given signature while parsing out the signed data.
|
abstract void |
SignatureValidator.verify(org.bouncycastle.openpgp.PGPSignature signature) |
|
static boolean |
SignatureVerifier.verifyDirectKeySignature(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
org.bouncycastle.openpgp.PGPPublicKey signedKey,
Policy policy,
Date validationDate) |
Verify a direct-key signature.
|
static boolean |
SignatureVerifier.verifyDirectKeySignature(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
Policy policy,
Date validationDate) |
Verify a direct-key self-signature.
|
static boolean |
SignatureVerifier.verifyInitializedSignature(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
Policy policy,
Date validationDate) |
Verify an initialized signature.
|
static boolean |
SignatureVerifier.verifyKeyRevocationSignature(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
Policy policy,
Date validationDate) |
Verify a key revocation signature.
|
static boolean |
SignatureVerifier.verifyOnePassSignature(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
OnePassSignatureCheck onePassSignature,
Policy policy) |
|
static boolean |
SignatureVerifier.verifySignatureOverUserId(String userId,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
org.bouncycastle.openpgp.PGPPublicKey keyWithUserId,
Policy policy,
Date validationDate) |
Verify a signature (certification or revocation) over a user-id.
|
static boolean |
SignatureVerifier.verifySignatureOverUserId(String userId,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
Policy policy,
Date validationDate) |
Verify a signature (certification or revocation) over a user-id.
|
static boolean |
SignatureVerifier.verifySubkeyBindingRevocation(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
org.bouncycastle.openpgp.PGPPublicKey subkey,
Policy policy,
Date validationDate) |
Verify a subkey revocation signature.
|
static boolean |
SignatureVerifier.verifySubkeyBindingSignature(org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
org.bouncycastle.openpgp.PGPPublicKey subkey,
Policy policy,
Date validationDate) |
Verify a subkey binding signature.
|
static boolean |
SignatureVerifier.verifyUninitializedSignature(org.bouncycastle.openpgp.PGPSignature signature,
InputStream signedData,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
Policy policy,
Date validationDate) |
Initialize a signature and verify it afterwards by updating it with the signed data.
|
static boolean |
SignatureVerifier.verifyUserAttributesCertification(org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector userAttributes,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
org.bouncycastle.openpgp.PGPPublicKey keyWithUserAttributes,
Policy policy,
Date validationDate) |
Verify a certification signature over a user-attributes packet.
|
static boolean |
SignatureVerifier.verifyUserAttributesCertification(org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector userAttributes,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
Policy policy,
Date validationDate) |
Verify a certification self-signature over a user-attributes packet.
|
static boolean |
SignatureVerifier.verifyUserAttributesRevocation(org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector userAttributes,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
org.bouncycastle.openpgp.PGPPublicKey keyWithUserAttributes,
Policy policy,
Date validationDate) |
Verify a user-attributes revocation signature.
|
static boolean |
SignatureVerifier.verifyUserAttributesRevocation(org.bouncycastle.openpgp.PGPUserAttributeSubpacketVector userAttributes,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
Policy policy,
Date validationDate) |
Verify a user-attributes revocation self-signature.
|
static boolean |
SignatureVerifier.verifyUserIdCertification(String userId,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
org.bouncycastle.openpgp.PGPPublicKey keyWithUserId,
Policy policy,
Date validationDate) |
Verify a user-id certification.
|
static boolean |
SignatureVerifier.verifyUserIdCertification(String userId,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
Policy policy,
Date validationDate) |
Verify a certification self-signature over a user-id.
|
static boolean |
SignatureVerifier.verifyUserIdRevocation(String userId,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey signingKey,
org.bouncycastle.openpgp.PGPPublicKey keyWithUserId,
Policy policy,
Date validationDate) |
Verify a user-id revocation signature.
|
static boolean |
SignatureVerifier.verifyUserIdRevocation(String userId,
org.bouncycastle.openpgp.PGPSignature signature,
org.bouncycastle.openpgp.PGPPublicKey primaryKey,
Policy policy,
Date validationDate) |
Verify a user-id revocation self-signature.
|