Package org.pgpainless.algorithm
Enum SignatureSubpacket
- java.lang.Object
-
- java.lang.Enum<SignatureSubpacket>
-
- org.pgpainless.algorithm.SignatureSubpacket
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SignatureSubpacket>
public enum SignatureSubpacket extends java.lang.Enum<SignatureSubpacket>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SignatureSubpacketfromCode(int code)static java.util.List<SignatureSubpacket>fromCodes(int[] codes)intgetCode()static SignatureSubpacketvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SignatureSubpacket[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
signatureCreationTime
public static final SignatureSubpacket signatureCreationTime
-
signatureExpirationTime
public static final SignatureSubpacket signatureExpirationTime
-
exportableCertification
public static final SignatureSubpacket exportableCertification
-
trustSignature
public static final SignatureSubpacket trustSignature
-
regularExpression
public static final SignatureSubpacket regularExpression
-
revocable
public static final SignatureSubpacket revocable
-
keyExpirationTime
public static final SignatureSubpacket keyExpirationTime
-
placeholder
public static final SignatureSubpacket placeholder
-
preferredSymmetricAlgorithms
public static final SignatureSubpacket preferredSymmetricAlgorithms
-
revocationKey
public static final SignatureSubpacket revocationKey
-
issuerKeyId
public static final SignatureSubpacket issuerKeyId
-
notationData
public static final SignatureSubpacket notationData
-
preferredHashAlgorithms
public static final SignatureSubpacket preferredHashAlgorithms
-
preferredCompressionAlgorithms
public static final SignatureSubpacket preferredCompressionAlgorithms
-
keyServerPreferences
public static final SignatureSubpacket keyServerPreferences
-
preferredKeyServers
public static final SignatureSubpacket preferredKeyServers
-
primaryUserId
public static final SignatureSubpacket primaryUserId
-
policyUrl
public static final SignatureSubpacket policyUrl
-
keyFlags
public static final SignatureSubpacket keyFlags
-
signerUserId
public static final SignatureSubpacket signerUserId
-
revocationReason
public static final SignatureSubpacket revocationReason
-
features
public static final SignatureSubpacket features
-
signatureTarget
public static final SignatureSubpacket signatureTarget
-
embeddedSignature
public static final SignatureSubpacket embeddedSignature
-
issuerFingerprint
public static final SignatureSubpacket issuerFingerprint
-
preferredAEADAlgorithms
public static final SignatureSubpacket preferredAEADAlgorithms
-
intendedRecipientFingerprint
public static final SignatureSubpacket intendedRecipientFingerprint
-
attestedCertification
public static final SignatureSubpacket attestedCertification
-
-
Method Detail
-
values
public static SignatureSubpacket[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SignatureSubpacket c : SignatureSubpacket.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SignatureSubpacket valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCode
public int getCode()
-
fromCode
public static SignatureSubpacket fromCode(int code)
-
fromCodes
public static java.util.List<SignatureSubpacket> fromCodes(int[] codes)
-
-