PGPSignatureGenerator(int keyAlgorithm, int hashAlgorithm, String provider) Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.
public
PGPSignatureGenerator(int keyAlgorithm, String sigProvider, int hashAlgorithm, String provider) Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.
generateCertification(String id, PGPPublicKey pubKey) Generate a certification for the passed in id and key.
Parameters: id - the id we are certifying against the public key. Parameters: pubKey - the key we are certifying against the id.
generateCertification(PGPPublicKey masterKey, PGPPublicKey pubKey) Generate a certification for the passed in key against the passed in
master key.
Parameters: masterKey - the key we are certifying against. Parameters: pubKey - the key we are certifying.
generateCertification(PGPPublicKey pubKey) Generate a certification, such as a revocation, for the passed in key.
Parameters: pubKey - the key we are certifying.
Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.
Parameters: keyAlgorithm - keyAlgorithm to use for signing Parameters: hashAlgorithm - algorithm to use for digest Parameters: provider - provider to use for digest algorithm throws: NoSuchAlgorithmException - throws: NoSuchProviderException - throws: PGPException -
Create a generator for the passed in keyAlgorithm and hashAlgorithm codes.
Parameters: keyAlgorithm - keyAlgorithm to use for signing Parameters: sigProvider - provider to use for signature generation Parameters: hashAlgorithm - algorithm to use for digest Parameters: provider - provider to use for digest algorithm throws: NoSuchAlgorithmException - throws: NoSuchProviderException - throws: PGPException -
Generate a certification for the passed in id and key.
Parameters: id - the id we are certifying against the public key. Parameters: pubKey - the key we are certifying against the id. the certification. throws: SignatureException - throws: PGPException -
Generate a certification for the passed in key against the passed in
master key.
Parameters: masterKey - the key we are certifying against. Parameters: pubKey - the key we are certifying. the certification. throws: SignatureException - throws: PGPException -
Generate a certification, such as a revocation, for the passed in key.
Parameters: pubKey - the key we are certifying. the certification. throws: SignatureException - throws: PGPException -