org.bouncycastle.openpgp
public class PGPSignatureSubpacketGenerator extends Object
Constructor Summary | |
---|---|
PGPSignatureSubpacketGenerator() |
Method Summary | |
---|---|
PGPSignatureSubpacketVector | generate() |
void | setExportable(boolean isCritical, boolean isExportable) |
void | setKeyExpirationTime(boolean isCritical, long seconds)
Set the number of seconds a key is valid for after the time of its creation.
|
void | setKeyFlags(boolean isCritical, int flags) |
void | setNotationData(boolean isCritical, boolean isHumanReadable, String notationName, String notationValue) |
void | setPreferredCompressionAlgorithms(boolean isCritical, int[] algorithms) |
void | setPreferredHashAlgorithms(boolean isCritical, int[] algorithms) |
void | setPreferredSymmetricAlgorithms(boolean isCritical, int[] algorithms) |
void | setPrimaryUserID(boolean isCritical, boolean isPrimaryUserID) |
void | setRevocable(boolean isCritical, boolean isRevocable) |
void | setSignatureCreationTime(boolean isCritical, Date date)
Set the creation time for the signature.
|
void | setSignatureExpirationTime(boolean isCritical, long seconds)
Set the number of seconds a signature is valid for after the time of its creation.
|
void | setSignerUserID(boolean isCritical, String userID) |
void | setTrust(boolean isCritical, int depth, int trustAmount) |
Parameters: isCritical true if should be treated as critical, false otherwise. seconds
Note: this overrides the generation of a creation time when the signature is generated.
Parameters: isCritical true if should be treated as critical, false otherwise. seconds