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 StringAlways returns "RSA".default MessageDigestAlgorithmGets the digest algorithm for the Mask Generation Function (MGF).default StringGets 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, isBlacklistedMethods inherited from interface se.swedenconnect.security.algorithms.AlgorithmIdentifierAware
getAlgorithmIdentifierMethods inherited from interface se.swedenconnect.security.algorithms.JoseAlgorithm
getJoseAlgorithmMethods inherited from interface se.swedenconnect.security.algorithms.SignatureAlgorithm
getMessageDigestAlgorithm, getType
-
Method Details
-
getKeyType
Always returns "RSA".- Specified by:
getKeyTypein 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
-