Uses of Class
org.pgpainless.algorithm.SignatureType
-
Packages that use SignatureType Package Description org.pgpainless.algorithm Enums which map to OpenPGP's algorithm IDs.org.pgpainless.signature.builder Classes related to OpenPGP signatures.org.pgpainless.signature.consumer Classes related to OpenPGP signature verification. -
-
Uses of SignatureType in org.pgpainless.algorithm
Methods in org.pgpainless.algorithm that return SignatureType Modifier and Type Method Description SignatureType
DocumentSignatureType. getSignatureType()
static SignatureType
SignatureType. valueOf(int code)
Convert a numerical id into aSignatureType
.static SignatureType
SignatureType. valueOf(String name)
Returns the enum constant of this type with the specified name.static SignatureType[]
SignatureType. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.pgpainless.algorithm with parameters of type SignatureType Modifier and Type Method Description static boolean
SignatureType. isRevocationSignature(SignatureType signatureType)
-
Uses of SignatureType in org.pgpainless.signature.builder
Fields in org.pgpainless.signature.builder declared as SignatureType Modifier and Type Field Description protected SignatureType
AbstractSignatureBuilder. signatureType
Methods in org.pgpainless.signature.builder with parameters of type SignatureType Modifier and Type Method Description protected abstract boolean
AbstractSignatureBuilder. isValidSignatureType(SignatureType type)
Return true if the givenSignatureType
is a valid choice for the concrete implementation ofAbstractSignatureBuilder
.protected boolean
DirectKeySignatureBuilder. isValidSignatureType(SignatureType type)
protected boolean
PrimaryKeyBindingSignatureBuilder. isValidSignatureType(SignatureType type)
protected boolean
RevocationSignatureBuilder. isValidSignatureType(SignatureType type)
protected boolean
SelfSignatureBuilder. isValidSignatureType(SignatureType type)
protected boolean
SubkeyBindingSignatureBuilder. isValidSignatureType(SignatureType type)
protected boolean
ThirdPartyCertificationSignatureBuilder. isValidSignatureType(SignatureType type)
protected boolean
UniversalSignatureBuilder. isValidSignatureType(SignatureType type)
B
AbstractSignatureBuilder. setSignatureType(SignatureType type)
Set the buildersSignatureType
.Constructors in org.pgpainless.signature.builder with parameters of type SignatureType Constructor Description AbstractSignatureBuilder(SignatureType signatureType, org.bouncycastle.openpgp.PGPSecretKey signingKey, SecretKeyRingProtector protector)
AbstractSignatureBuilder(SignatureType signatureType, org.bouncycastle.openpgp.PGPSecretKey signingKey, SecretKeyRingProtector protector, HashAlgorithm hashAlgorithm, SignatureSubpackets hashedSubpackets, SignatureSubpackets unhashedSubpackets)
RevocationSignatureBuilder(SignatureType signatureType, org.bouncycastle.openpgp.PGPSecretKey signingKey, SecretKeyRingProtector protector)
SelfSignatureBuilder(SignatureType signatureType, org.bouncycastle.openpgp.PGPSecretKey signingKey, SecretKeyRingProtector protector)
ThirdPartyCertificationSignatureBuilder(SignatureType signatureType, org.bouncycastle.openpgp.PGPSecretKey signingKey, SecretKeyRingProtector protector)
Create a new certification signature builder.UniversalSignatureBuilder(SignatureType signatureType, org.bouncycastle.openpgp.PGPSecretKey signingKey, SecretKeyRingProtector protector)
-
Uses of SignatureType in org.pgpainless.signature.consumer
Methods in org.pgpainless.signature.consumer with parameters of type SignatureType Modifier and Type Method Description static SignatureValidator
SignatureValidator. signatureIsOfType(SignatureType... signatureTypes)
Verify that a signature type equals one of the givenSignatureTypes
.
-