Interface RSAPSSSignatureAlgorithm
- All Superinterfaces:
Algorithm
,AlgorithmIdentifierAware
,JoseAlgorithm
,KeyBasedAlgorithm
,SignatureAlgorithm
- All Known Implementing Classes:
NoParamsRSAPSSSignatureAlgorithm
,RSAPSSSignatureAlgorithmImpl
Representation of a RSA-PSS signature algorithm.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Method Summary
Modifier and TypeMethodDescriptiondefault String
Always returns "RSA".default MessageDigestAlgorithm
Gets the digest algorithm for the Mask Generation Function (MGF).default String
Gets the Mask Generation Function (MGF) URI.Gets the parameter spec for the RSA-PSS algorithm.Methods inherited from interface se.swedenconnect.security.algorithms.Algorithm
getJcaName, getOrder, getUri, isBlacklisted
Methods inherited from interface se.swedenconnect.security.algorithms.AlgorithmIdentifierAware
getAlgorithmIdentifier
Methods inherited from interface se.swedenconnect.security.algorithms.JoseAlgorithm
getJoseAlgorithm
Methods inherited from interface se.swedenconnect.security.algorithms.SignatureAlgorithm
getMessageDigestAlgorithm, getType
-
Method Details
-
getKeyType
Always returns "RSA".- Specified by:
getKeyType
in interfaceKeyBasedAlgorithm
- Returns:
- the key type
-
getParameterSpec
PSSParameterSpec getParameterSpec()Gets the parameter spec for the RSA-PSS algorithm.- Returns:
- the PSSParameterSpec
-
getMGFUri
Gets the Mask Generation Function (MGF) URI. Defaults tohttp://www.w3.org/2007/05/xmldsig-more#MGF1
.- Returns:
- the MGF URI
-
getMGFDigestAlgorithm
Gets the digest algorithm for the Mask Generation Function (MGF). Defaults to the same digest algorithm as the signature algorithm.- Returns:
- the MGF digest algorithm
-