Uses of Enum
eu.europa.esig.dss.enumerations.SignatureAlgorithm
-
Uses of SignatureAlgorithm in eu.europa.esig.dss.enumerations
Methods in eu.europa.esig.dss.enumerations that return SignatureAlgorithmModifier and TypeMethodDescriptionstatic SignatureAlgorithmFor given signature algorithm and digest algorithm this function returns the Java form of the signature algorithm Signature Algorithmsstatic SignatureAlgorithmReturns a correspondingSignatureAlgorithmby the JWA namestatic SignatureAlgorithmSignatureAlgorithm.forJWA(String jsonWebAlgorithm, SignatureAlgorithm defaultValue) This method return theSignatureAlgorithmor the default value if the algorithm is unknown.static SignatureAlgorithmReturns a correspondingSignatureAlgorithmby the OIDstatic SignatureAlgorithmSignatureAlgorithm.forOidAndParams(String oid, byte[] sigAlgParams) Returns a correspondingSignatureAlgorithmby the OID and signature algorithm parametersstatic SignatureAlgorithmReturns a correspondingSignatureAlgorithmby the XML URI stringstatic SignatureAlgorithmSignatureAlgorithm.forXML(String xmlName, SignatureAlgorithm defaultValue) This method return theSignatureAlgorithmor the default value if the algorithm is unknown.static SignatureAlgorithmSignatureAlgorithm.getAlgorithm(EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm) For given encryption algorithm and digest algorithm this function returns the signature algorithm.static SignatureAlgorithmSignatureAlgorithm.getAlgorithm(EncryptionAlgorithm encryptionAlgorithm, DigestAlgorithm digestAlgorithm, MaskGenerationFunction mgf) For given encryption algorithm and digest algorithm this function returns the signature algorithm.static SignatureAlgorithmReturns 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.Methods in eu.europa.esig.dss.enumerations with parameters of type SignatureAlgorithmModifier and TypeMethodDescriptionstatic SignatureAlgorithmSignatureAlgorithm.forJWA(String jsonWebAlgorithm, SignatureAlgorithm defaultValue) This method return theSignatureAlgorithmor the default value if the algorithm is unknown.static SignatureAlgorithmSignatureAlgorithm.forXML(String xmlName, SignatureAlgorithm defaultValue) This method return theSignatureAlgorithmor the default value if the algorithm is unknown.