Uses of Enum
eu.europa.esig.dss.enumerations.EncryptionAlgorithm
Package
Description
-
Uses of EncryptionAlgorithm in eu.europa.esig.dss.cades.validation
-
Uses of EncryptionAlgorithm in eu.europa.esig.dss.diagnostic
Modifier and TypeMethodDescriptionAbstractTokenProxy.getEncryptionAlgorithm()
TokenProxy.getEncryptionAlgorithm()
Returns the EncryptionAlgorithm used to create the signatureDiagnosticData.getFirstSignatureEncryptionAlgorithm()
This method returns theEncryptionAlgorithm
of the first signature.DiagnosticData.getSignatureEncryptionAlgorithm
(String signatureId) This method returns theDigestAlgorithm
for the given signature. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.diagnostic.jaxb
Modifier and TypeFieldDescriptionprotected EncryptionAlgorithm
XmlBasicSignature.encryptionAlgoUsedToSignThisToken
protected EncryptionAlgorithm
XmlCertificate.publicKeyEncryptionAlgo
Modifier and TypeMethodDescriptionXmlBasicSignature.getEncryptionAlgoUsedToSignThisToken()
Gets the value of the encryptionAlgoUsedToSignThisToken property.XmlCertificate.getPublicKeyEncryptionAlgo()
Gets the value of the publicKeyEncryptionAlgo property.Modifier and TypeMethodDescriptionAdapter25.marshal
(EncryptionAlgorithm value) Adapter28.marshal
(EncryptionAlgorithm value) void
XmlBasicSignature.setEncryptionAlgoUsedToSignThisToken
(EncryptionAlgorithm value) Sets the value of the encryptionAlgoUsedToSignThisToken property.void
XmlCertificate.setPublicKeyEncryptionAlgo
(EncryptionAlgorithm value) Sets the value of the publicKeyEncryptionAlgo property. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.enumerations
Modifier and TypeMethodDescriptionstatic EncryptionAlgorithm
Returns the encryption algorithm associated to the given key.static EncryptionAlgorithm
Returns the encryption algorithm associated to the given JCE name.static EncryptionAlgorithm
EncryptionAlgorithm.forName
(String name, EncryptionAlgorithm defaultValue) Returns the encryption algorithm associated to the given JCE name.static EncryptionAlgorithm
Returns the encryption algorithm associated to the given OID.SignatureAlgorithm.getEncryptionAlgorithm()
This method returns the encryption algorithm.static EncryptionAlgorithm
Returns the enum constant of this type with the specified name.static EncryptionAlgorithm[]
EncryptionAlgorithm.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic EncryptionAlgorithm
EncryptionAlgorithm.forName
(String name, EncryptionAlgorithm defaultValue) Returns the encryption algorithm associated to the given JCE name.static SignatureAlgorithm
SignatureAlgorithm.getAlgorithm
(EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm) For given encryption algorithm and digest algorithm this function returns the signature algorithm.static SignatureAlgorithm
SignatureAlgorithm.getAlgorithm
(EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf) For given encryption algorithm and digest algorithm this function returns the signature algorithm.boolean
EncryptionAlgorithm.isEquivalent
(EncryptionAlgorithm encryptionAlgorithm) Verifies if the providedencryptionAlgorithm
is equivalent to the current one. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.jades.validation
-
Uses of EncryptionAlgorithm in eu.europa.esig.dss.jaxb.parsers
Modifier and TypeMethodDescriptionstatic EncryptionAlgorithm
Parses the value and returnsEncryptionAlgorithm
Modifier and TypeMethodDescriptionstatic String
EncryptionAlgorithmParser.print
(EncryptionAlgorithm v) Gets a text name of the value -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.model
Modifier and TypeMethodDescriptionAbstractSerializableSignatureParameters.getEncryptionAlgorithm()
SerializableSignatureParameters.getEncryptionAlgorithm()
Get the encryption algorithmModifier and TypeMethodDescriptionvoid
AbstractSerializableSignatureParameters.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) This setter should be used only when dealing with web services (or when signing in three steps). -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.spi
Modifier and TypeMethodDescriptionstatic byte[]
DSSASN1Utils.ensurePlainSignatureValue
(EncryptionAlgorithm algorithm, byte[] signatureValue) Converts the ANS.1 binary signature value to the concatenated (plain) R || S format if required NOTE: used in XAdES and JAdES -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.token
Modifier and TypeMethodDescriptionDSSPrivateKeyEntry.getEncryptionAlgorithm()
Get the EncryptionAlgorithm corresponding to the PrivateKeyKSPrivateKeyEntry.getEncryptionAlgorithm()
-
Uses of EncryptionAlgorithm in eu.europa.esig.dss.validation
Modifier and TypeFieldDescriptionprotected Map<EncryptionAlgorithm,
Integer> RevocationDataVerifier.acceptableEncryptionAlgorithmKeyLength
Map of acceptable Encryption Algorithms with a corresponding minimal acceptable key length for each algorithm.Modifier and TypeMethodDescriptionAdvancedSignature.getEncryptionAlgorithm()
Retrieves the encryption algorithm used for generating the signature.Modifier and TypeMethodDescriptionvoid
RevocationDataVerifier.setAcceptableEncryptionAlgorithmKeyLength
(Map<EncryptionAlgorithm, Integer> acceptableEncryptionAlgorithmKeyLength) Sets a map of acceptable Encryption Algorithms and their corresponding minimal key length values. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.validation.process.bbb.sav.cc
Modifier and TypeFieldDescriptionprotected final EncryptionAlgorithm
AbstractCryptographicChecker.encryptionAlgorithm
The Encryption algorithmModifier and TypeMethodDescriptionprotected String
AbstractCryptographicCheck.getName
(EncryptionAlgorithm encryptionAlgorithm) Returns name for an EncryptionAlgorithm safelyprotected boolean
AbstractCryptographicChecker.isExpirationDateAvailable
(EncryptionAlgorithm encryptionAlgorithm, String keyLength) Gets if the expiration date if defined for the givenencryptionAlgorithm
andkeyLength
ModifierConstructorDescriptionprotected
AbstractCryptographicChecker
(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm, MaskGenerationFunction maskGenerationFunction, String keyLengthUsedToSignThisToken, Date validationDate, MessageTag position, CryptographicConstraint constraint) Complete constructorprotected
EncryptionAlgorithmAtValidationTimeCheck
(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgo, String keyLength, Date validationDate, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper) Default constructorprotected
EncryptionAlgorithmReliableCheck
(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgo, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper) Default constructorprotected
PublicKeySizeAcceptableCheck
(I18nProvider i18nProvider, EncryptionAlgorithm encryptionAlgo, String keyLength, XmlCC result, MessageTag position, CryptographicConstraintWrapper constraintWrapper) Default constructor -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.validation.process.bbb.sav.checks
Modifier and TypeMethodDescriptionCryptographicConstraintWrapper.getReliableEncryptionAlgorithms()
This method returns a list of reliableEncryptionAlgorithm
according to the current validation policyCryptographicConstraintWrapper.getReliableEncryptionAlgorithmsWithMinimalKeyLengthAtTime
(Date validationTime) This method returns a map between reliableEncryptionAlgorithm
according to the current validation policy and their minimal accepted key length at the given time.Modifier and TypeMethodDescriptionCryptographicConstraintWrapper.getExpirationDate
(EncryptionAlgorithm encryptionAlgorithm, Integer keySize) Gets an expiration date for the encryption algorithm with namealgoToSearch
andkeyLength
.CryptographicConstraintWrapper.getExpirationDate
(EncryptionAlgorithm encryptionAlgorithm, String keyLength) Gets an expiration date for the encryption algorithm with namealgoToSearch
andkeyLength
.boolean
CryptographicConstraintWrapper.isEncryptionAlgorithmReliable
(EncryptionAlgorithm encryptionAlgorithm) Checks if the givenEncryptionAlgorithm
is reliable (acceptable)boolean
CryptographicConstraintWrapper.isEncryptionAlgorithmWithKeySizeReliable
(EncryptionAlgorithm encryptionAlgorithm, Integer keySize) Checks if the {code keyLength} forEncryptionAlgorithm
is reliable (acceptable)boolean
CryptographicConstraintWrapper.isEncryptionAlgorithmWithKeySizeReliable
(EncryptionAlgorithm encryptionAlgorithm, String keyLength) Checks if the {code keyLength} forEncryptionAlgorithm
is reliable (acceptable) -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.ws.server.signing.dto
Modifier and TypeMethodDescriptionRemoteKeyEntry.getEncryptionAlgo()
Gets the encryption algorithmModifier and TypeMethodDescriptionvoid
RemoteKeyEntry.setEncryptionAlgo
(EncryptionAlgorithm encryptionAlgo) Sets the encryption algorithm -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.ws.signature.dto.parameters
Modifier and TypeMethodDescriptionRemoteSignatureParameters.getEncryptionAlgorithm()
Get the encryption algorithmModifier and TypeMethodDescriptionvoid
RemoteSignatureParameters.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) This setter should be used only when dealing with web services (or when signing in three steps). -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.xades.validation