Uses of Enum
eu.europa.esig.dss.enumerations.SignatureAlgorithm
Package
Description
-
Uses of SignatureAlgorithm in eu.europa.esig.dss.cades.validation
-
Uses of SignatureAlgorithm in eu.europa.esig.dss.crl
Modifier and TypeMethodDescriptionCRLValidity.getSignatureAlgorithm()
Gets used SignatureAlgorithmModifier and TypeMethodDescriptionvoid
CRLValidity.setSignatureAlgorithm
(SignatureAlgorithm signatureAlgorithm) Sets used SignatureAlgorithm -
Uses of SignatureAlgorithm in eu.europa.esig.dss.diagnostic
Modifier and TypeMethodDescriptionAbstractTokenProxy.getSignatureAlgorithm()
TokenProxy.getSignatureAlgorithm()
Returns the SignatureAlgorithm used to create the signatureValue -
Uses of SignatureAlgorithm in eu.europa.esig.dss.enumerations
Modifier and TypeMethodDescriptionstatic SignatureAlgorithm
For given signature algorithm and digest algorithm this function returns the Java form of the signature algorithm Signature Algorithms The algorithm names in this section can be specified when generating an instance of Signature.static SignatureAlgorithm
Returns a correspondingSignatureAlgorithm
by the JWA namestatic SignatureAlgorithm
SignatureAlgorithm.forJWA
(String jsonWebAlgorithm, SignatureAlgorithm defaultValue) This method return theSignatureAlgorithm
or the default value if the algorithm is unknown.static SignatureAlgorithm
Returns a correspondingSignatureAlgorithm
by the OIDstatic SignatureAlgorithm
SignatureAlgorithm.forOidAndParams
(String oid, byte[] sigAlgParams) Returns a correspondingSignatureAlgorithm
by the OID and signature algorithm parametersstatic SignatureAlgorithm
Returns a correspondingSignatureAlgorithm
by the XML URI stringstatic SignatureAlgorithm
SignatureAlgorithm.forXML
(String xmlName, SignatureAlgorithm defaultValue) This method return theSignatureAlgorithm
or the default value if the algorithm is unknown.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.static SignatureAlgorithm
Returns the enum constant of this type with the specified name.static SignatureAlgorithm[]
SignatureAlgorithm.values()
Returns an array containing the constants of this enum type, in the order they are declared.Modifier and TypeMethodDescriptionstatic SignatureAlgorithm
SignatureAlgorithm.forJWA
(String jsonWebAlgorithm, SignatureAlgorithm defaultValue) This method return theSignatureAlgorithm
or the default value if the algorithm is unknown.static SignatureAlgorithm
SignatureAlgorithm.forXML
(String xmlName, SignatureAlgorithm defaultValue) This method return theSignatureAlgorithm
or the default value if the algorithm is unknown. -
Uses of SignatureAlgorithm in eu.europa.esig.dss.jades.validation
-
Uses of SignatureAlgorithm in eu.europa.esig.dss.model
Modifier and TypeMethodDescriptionSignatureValue.getAlgorithm()
Gets theSignatureAlgorithm
AbstractSerializableSignatureParameters.getSignatureAlgorithm()
SerializableSignatureParameters.getSignatureAlgorithm()
Gets the signature algorithm.Modifier and TypeMethodDescriptionvoid
SignatureValue.setAlgorithm
(SignatureAlgorithm algorithm) Sets theSignatureAlgorithm
ModifierConstructorDescriptionSignatureValue
(SignatureAlgorithm algorithm, byte[] value) Default constructor -
Uses of SignatureAlgorithm in eu.europa.esig.dss.model.x509
Modifier and TypeFieldDescriptionprotected SignatureAlgorithm
Token.signatureAlgorithm
The algorithm that was used to sign the token.Modifier and TypeMethodDescriptionToken.getSignatureAlgorithm()
Returns the algorithm that was used to sign the token (ex: SHA1WithRSAEncryption, SHA1withRSA...). -
Uses of SignatureAlgorithm in eu.europa.esig.dss.signature
Modifier and TypeMethodDescriptionprotected SignatureValue
AbstractSignatureService.ensureSignatureValue
(SignatureAlgorithm targetSignatureAlgorithm, SignatureValue signatureValue) This method ensures the providedsignatureValue
has the expectedtargetSignatureAlgorithm
SignatureValueChecker.ensureSignatureValue
(SignatureValue signatureValue, SignatureAlgorithm targetSignatureAlgorithm) This method ensures the providedsignatureValue
has the expectedtargetSignatureAlgorithm
-
Uses of SignatureAlgorithm in eu.europa.esig.dss.spi
Modifier and TypeMethodDescriptionstatic SignatureAlgorithm
DSSUtils.getEdDSASignatureAlgorithm
(byte[] signatureValue) This method returns aSignatureAlgorithm
used to create thesignatureValue
NOTE: Only EdDSA algorithm is being returned by this method.Modifier and TypeMethodDescriptionstatic SignatureValue
DSSUtils.convertECSignatureValue
(SignatureAlgorithm expectedAlgorithm, SignatureValue signatureValue) This method ensures theSignatureValue
has an expected format and converts it when required -
Uses of SignatureAlgorithm in eu.europa.esig.dss.spi.x509.revocation.ocsp
-
Uses of SignatureAlgorithm in eu.europa.esig.dss.token
Modifier and TypeMethodDescriptionAbstractSignatureTokenConnection.sign
(ToBeSigned toBeSigned, SignatureAlgorithm signatureAlgorithm, DSSPrivateKeyEntry keyEntry) SignatureTokenConnection.sign
(ToBeSigned toBeSigned, SignatureAlgorithm signatureAlgorithm, DSSPrivateKeyEntry keyEntry) This method signs thetoBeSigned
data with the pre-defined signature algorithmsignatureAlgorithm
, and the givenkeyEntry
.AbstractSignatureTokenConnection.signDigest
(Digest digest, SignatureAlgorithm signatureAlgorithm, DSSPrivateKeyEntry keyEntry) SignatureTokenConnection.signDigest
(Digest digest, SignatureAlgorithm signatureAlgorithm, DSSPrivateKeyEntry keyEntry) This method signs thedigest
data with the pre-definedsignatureAlgorithm
and the givenkeyEntry
. -
Uses of SignatureAlgorithm in eu.europa.esig.dss.validation
Modifier and TypeMethodDescriptionAdvancedSignature.getSignatureAlgorithm()
Retrieves the signature algorithm (or cipher) used for generating the signature. -
Uses of SignatureAlgorithm in eu.europa.esig.dss.ws.dto
Modifier and TypeMethodDescriptionSignatureValueDTO.getAlgorithm()
Gets the usedSignatureAlgorithm
Modifier and TypeMethodDescriptionvoid
SignatureValueDTO.setAlgorithm
(SignatureAlgorithm algorithm) Sets the usedSignatureAlgorithm
ModifierConstructorDescriptionSignatureValueDTO
(SignatureAlgorithm algorithm, byte[] value) The default constructor -
Uses of SignatureAlgorithm in eu.europa.esig.dss.ws.server.signing.common
Modifier and TypeMethodDescriptionRemoteSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, SignatureAlgorithm signatureAlgorithm, String alias) This method signs thetoBeSigned
data with the digestsignatureAlgorithm
and the givenalias
.RemoteSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, SignatureAlgorithm signatureAlgorithm, String alias) RemoteSignatureTokenConnection.signDigest
(DigestDTO digest, SignatureAlgorithm signatureAlgorithm, String alias) This method signs thedigest
data with asignatureAlgorithm
and the givenalias
.RemoteSignatureTokenConnectionImpl.signDigest
(DigestDTO digest, SignatureAlgorithm signatureAlgorithm, String alias) -
Uses of SignatureAlgorithm in eu.europa.esig.dss.ws.server.signing.rest
Modifier and TypeMethodDescriptionRestSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, SignatureAlgorithm signatureAlgorithm, String alias) RestSignatureTokenConnectionImpl.signDigest
(DigestDTO digest, SignatureAlgorithm signatureAlgorithm, String alias) -
Uses of SignatureAlgorithm in eu.europa.esig.dss.ws.server.signing.rest.client
Modifier and TypeMethodDescriptionRestSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, SignatureAlgorithm signatureAlgorithm, String alias) This method signs thetoBeSigned
data with the digestdigestAlgorithm
and the givenalias
.RestSignatureTokenConnection.signDigest
(DigestDTO digest, SignatureAlgorithm signatureAlgorithm, String alias) This method signs thedigest
data with a maskmgf
and the givenalias
. -
Uses of SignatureAlgorithm in eu.europa.esig.dss.ws.server.signing.soap
Modifier and TypeMethodDescriptionSoapSignatureTokenConnectionImpl.sign
(ToBeSignedDTO toBeSigned, SignatureAlgorithm signatureAlgorithm, String alias) SoapSignatureTokenConnectionImpl.signDigest
(DigestDTO digest, SignatureAlgorithm signatureAlgorithm, String alias) -
Uses of SignatureAlgorithm in eu.europa.esig.dss.ws.server.signing.soap.client
Modifier and TypeMethodDescriptionSoapSignatureTokenConnection.sign
(ToBeSignedDTO toBeSigned, SignatureAlgorithm signatureAlgorithm, String alias) This method signs thetoBeSigned
data with thesignatureAlgorithm
and the givenalias
.SoapSignatureTokenConnection.signDigest
(DigestDTO digest, SignatureAlgorithm signatureAlgorithm, String alias) This method signs thedigest
data with asignatureAlgorithm
and the givenalias
. -
Uses of SignatureAlgorithm in eu.europa.esig.dss.ws.signature.dto.parameters
Modifier and TypeMethodDescriptionRemoteSignatureParameters.getSignatureAlgorithm()
Gets the signature algorithm. -
Uses of SignatureAlgorithm in eu.europa.esig.dss.xades.validation