Interface RSAPSSSignatureAlgorithm
-
- All Superinterfaces:
Algorithm,AlgorithmIdentifierAware,JoseAlgorithm,KeyBasedAlgorithm,SignatureAlgorithm
- All Known Implementing Classes:
NoParamsRSAPSSSignatureAlgorithm,RSAPSSSignatureAlgorithmImpl
public interface RSAPSSSignatureAlgorithm extends SignatureAlgorithm
Representation of a RSA-PSS signature algorithm.- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default StringgetKeyType()Always returns "RSA".default MessageDigestAlgorithmgetMGFDigestAlgorithm()Gets the digest algorithm for the Mask Generation Function (MGF).default StringgetMGFUri()Gets the Mask Generation Function (MGF) URI.PSSParameterSpecgetParameterSpec()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 Detail
-
getKeyType
default String 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
default String getMGFUri()
Gets the Mask Generation Function (MGF) URI. Defaults tohttp://www.w3.org/2007/05/xmldsig-more#MGF1.- Returns:
- the MGF URI
-
getMGFDigestAlgorithm
default MessageDigestAlgorithm 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
-
-