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