Example usage for Java org.bouncycastle.openpgp PGPSignatureGenerator fields, constructors, methods, implement or subclass
The text is from its open source code.
PGPSignatureGenerator(PGPContentSignerBuilder contentSignerBuilder) Create a signature generator built on the passed in contentSignerBuilder. |
PGPSignature | generate() Return a signature object containing the current signature state. |
PGPSignature | generateCertification(PGPPublicKey pubKey) Generate a certification, such as a revocation, for the passed in key. |
PGPSignature | generateCertification(String id, PGPPublicKey pubKey) Generate a certification for the passed in id and key. |
PGPSignature | generateCertification(PGPUserAttributeSubpacketVector userAttributes, PGPPublicKey pubKey) Generate a certification for the passed in userAttributes |
PGPSignature | generateCertification(PGPPublicKey masterKey, PGPPublicKey pubKey) Generate a certification for the passed in key against the passed in master key. |
PGPOnePassSignature | generateOnePassVersion(boolean isNested) Return the one pass header associated with the current signature. |
void | init(int signatureType, PGPPrivateKey key) Initialise the generator for signing. |
void | initSign(int signatureType, PGPPrivateKey key) Initialise the generator for signing. |
void | setHashedSubpackets(PGPSignatureSubpacketVector hashedPcks) |
void | setUnhashedSubpackets(PGPSignatureSubpacketVector unhashedPcks) |
void | update(byte b) |
void | update(byte[] b) |
void | update(byte[] b, int off, int len) |