Uses of Enum Class
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 Algorithmsstatic 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) Deprecated.since DSS 6.1.static SignatureAlgorithm
Returns the enum constant of this class with the specified name.static SignatureAlgorithm[]
SignatureAlgorithm.values()
Returns an array containing the constants of this enum class, 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.pki.jaxb.builder
Modifier and TypeMethodDescriptionX509CertificateBuilder.issuer
(CertificateToken issuerCertificate, PrivateKey issuerPrivateKey, SignatureAlgorithm signatureAlgorithm) Sets mandatory information about the certificate's issuer to sign the created certificate with a CertificateToken of the issuerX509CertificateBuilder.issuer
(org.bouncycastle.asn1.x500.X500Name issuerName, PrivateKey issuerPrivateKey, SignatureAlgorithm signatureAlgorithm) Sets mandatory information about the certificate's issuer to sign the created certificate -
Uses of SignatureAlgorithm in eu.europa.esig.dss.pki.x509.revocation.crl
Modifier and TypeMethodDescriptionprotected SignatureAlgorithm
PKICRLSource.getSignatureAlgorithm
(CertEntity crlIssuer) Returns a signature algorithm to be used on CRL creation -
Uses of SignatureAlgorithm in eu.europa.esig.dss.pki.x509.revocation.ocsp
Modifier and TypeMethodDescriptionprotected SignatureAlgorithm
PKIOCSPSource.getSignatureAlgorithm
(CertEntity ocspResponder) Returns a signature algorithm to be used on OCSP response creation -
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.signature
Modifier and TypeMethodDescriptionAdvancedSignature.getSignatureAlgorithm()
Retrieves the signature algorithm (or cipher) used for generating the signature. -
Uses of SignatureAlgorithm in eu.europa.esig.dss.spi.x509.revocation.ocsp
-
Uses of SignatureAlgorithm in eu.europa.esig.dss.spi.x509.tsp
Modifier and TypeMethodDescriptionprotected SignatureAlgorithm
KeyEntityTSPSource.getSignatureAlgorithm()
Returns the target signature algorithm to be used to time-stamp generation -
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.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()
Deprecated.since DSS 6.1.Modifier and TypeMethodDescriptionvoid
RemoteSignatureParameters.setSignatureAlgorithm
(SignatureAlgorithm signatureAlgorithm) Deprecated.since DSS 6.1. -
Uses of SignatureAlgorithm in eu.europa.esig.dss.xades.validation