Package | Description |
---|---|
org.bouncycastle.openpgp |
High level classes for dealing with OpenPGP objects.
|
Modifier and Type | Method and Description |
---|---|
PGPSignature |
PGPSignatureGenerator.generate()
Return a signature object containing the current signature state.
|
PGPSignature |
PGPV3SignatureGenerator.generate()
Return a V3 signature object containing the current signature state.
|
PGPSignature |
PGPSignatureGenerator.generateCertification(PGPPublicKey pubKey)
Generate a certification, such as a revocation, for the passed in key.
|
PGPSignature |
PGPSignatureGenerator.generateCertification(PGPPublicKey masterKey,
PGPPublicKey pubKey)
Generate a certification for the passed in key against the passed in
master key.
|
PGPSignature |
PGPSignatureGenerator.generateCertification(PGPUserAttributeSubpacketVector userAttributes,
PGPPublicKey pubKey)
Generate a certification for the passed in userAttributes
|
PGPSignature |
PGPSignatureGenerator.generateCertification(String id,
PGPPublicKey pubKey)
Generate a certification for the passed in id and key.
|
PGPSignature |
PGPSignatureList.get(int index) |
Modifier and Type | Method and Description |
---|---|
Iterator<PGPSignature> |
PGPPublicKey.getSignaturesForID(byte[] rawID)
Return any signatures associated with the passed in id.
|
Iterator<PGPSignature> |
PGPPublicKey.getSignaturesForID(String id)
Return any signatures associated with the passed in id.
|
Iterator<PGPSignature> |
PGPPublicKey.getSignaturesForKeyID(long keyID)
Return any signatures associated with the passed in key identifier keyID.
|
Iterator<PGPSignature> |
PGPSignatureList.iterator()
Support method for Iterable where available.
|
Modifier and Type | Method and Description |
---|---|
static PGPPublicKey |
PGPPublicKey.addCertification(PGPPublicKey key,
byte[] rawID,
PGPSignature certification)
Add a certification for an id to the given public key.
|
static PGPPublicKey |
PGPPublicKey.addCertification(PGPPublicKey key,
PGPSignature certification)
Add a revocation or some other key certification to a key.
|
static PGPPublicKey |
PGPPublicKey.addCertification(PGPPublicKey key,
PGPUserAttributeSubpacketVector userAttributes,
PGPSignature certification)
Add a certification for the given UserAttributeSubpackets to the given public key.
|
static PGPPublicKey |
PGPPublicKey.addCertification(PGPPublicKey key,
String id,
PGPSignature certification)
Add a certification for an id to the given public key.
|
static PGPPublicKey |
PGPPublicKey.removeCertification(PGPPublicKey key,
byte[] id,
PGPSignature certification)
Remove a certification associated with a given id on a key.
|
static PGPPublicKey |
PGPPublicKey.removeCertification(PGPPublicKey key,
PGPSignature certification)
Remove a certification from the key.
|
static PGPPublicKey |
PGPPublicKey.removeCertification(PGPPublicKey key,
PGPUserAttributeSubpacketVector userAttributes,
PGPSignature certification)
Remove a certification associated with a given user attributes on a key.
|
static PGPPublicKey |
PGPPublicKey.removeCertification(PGPPublicKey key,
String id,
PGPSignature certification)
Remove a certification associated with a given id on a key.
|
void |
PGPSignatureSubpacketGenerator.setEmbeddedSignature(boolean isCritical,
PGPSignature pgpSignature) |
boolean |
PGPOnePassSignature.verify(PGPSignature pgpSig)
Verify the calculated signature against the passed in PGPSignature.
|
Constructor and Description |
---|
PGPSignatureList(PGPSignature sig) |
PGPSignatureList(PGPSignature[] sigs) |
Copyright © 2018 BouncyCastle.org. All rights reserved.