Uses of Enum Class
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 TypeMethodDescriptionAdapter26.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 class with the specified name.static EncryptionAlgorithm[]
EncryptionAlgorithm.values()
Returns an array containing the constants of this enum class, 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) Deprecated.since DSS 6.1.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 method sets encryption algorithm to be used on signature creation. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.pades
Modifier and TypeMethodDescriptionPAdESCommonParameters.getEncryptionAlgorithm()
Returns a EncryptionAlgorithm to be used to hash the signed/timestamped dataPAdESTimestampParameters.getEncryptionAlgorithm()
-
Uses of EncryptionAlgorithm in eu.europa.esig.dss.pki.jaxb
Modifier and TypeMethodDescriptionXmlKeyAlgo.getEncryption()
Gets the value of the encryption property.Modifier and TypeMethodDescriptionAdapter3.marshal
(EncryptionAlgorithm value) void
XmlKeyAlgo.setEncryption
(EncryptionAlgorithm value) Sets the value of the encryption property. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.pki.jaxb.builder
ModifierConstructorDescriptionKeyPairBuilder
(EncryptionAlgorithm encryptionAlgorithm, Integer keySize) Default constructor -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.pki.jaxb.model
Modifier and TypeMethodDescriptionJAXBCertEntity.getEncryptionAlgorithm()
Retrieves the EncryptionAlgorithm based on the private key. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.pki.model
Modifier and TypeMethodDescriptionCertEntity.getEncryptionAlgorithm()
Gets the encryption algorithm associated with this certificate entity. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.pki.x509.revocation.crl
Modifier and TypeMethodDescriptionvoid
PKICRLSource.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) Sets encryption algorithm to be used on CRL signature generation. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.pki.x509.revocation.ocsp
Modifier and TypeMethodDescriptionvoid
PKIOCSPSource.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) Sets an encryption algorithm to be used on OCSP Response signing. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.signature
Modifier and TypeMethodDescriptionAbstractSignatureParametersBuilder.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) Sets an encryption algorithm used by the signing-certificate's key pair. -
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.spi.signature
Modifier and TypeMethodDescriptionAdvancedSignature.getEncryptionAlgorithm()
Retrieves the encryption algorithm used for generating the signature. -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.spi.validation
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.spi.x509.tsp
Modifier and TypeMethodDescriptionvoid
KeyEntityTSPSource.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) Sets the encryption algorithm to be used on time-stamp's signature generation. -
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.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, 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.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 algorithmRemoteTrustedListSignatureParameters.getEncryptionAlgorithm()
Gets the encryption algorithm used by the signing-certificateModifier and TypeMethodDescriptionvoid
RemoteSignatureParameters.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) This setter should be used only when dealing with web services (or when signing in three steps).void
RemoteTrustedListSignatureParameters.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) Sets the encryption algorithm used by the signing-certificate -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.xades
Modifier and TypeMethodDescriptionTrustedListSignatureParametersBuilder.setEncryptionAlgorithm
(EncryptionAlgorithm encryptionAlgorithm) -
Uses of EncryptionAlgorithm in eu.europa.esig.dss.xades.validation