Class NoParamsRSAPSSSignatureAlgorithm
java.lang.Object
se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
se.swedenconnect.security.algorithms.impl.NoParamsRSAPSSSignatureAlgorithm
- All Implemented Interfaces:
Algorithm,AlgorithmIdentifierAware,JoseAlgorithm,KeyBasedAlgorithm,RSAPSSSignatureAlgorithm,SignatureAlgorithm
Handles the special case where we represent RSA-PSS without any parameters.
- Author:
- Martin Lindström (martin@idsec.se), Stefan Santesson (stefan@idsec.se)
-
Nested Class Summary
Nested classes/interfaces inherited from class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
RSAPSSSignatureAlgorithmImpl.RSAPSSSignatureAlgorithmBuilderNested classes/interfaces inherited from class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
SignatureAlgorithmImpl.AbstractSignatureAlgorithmBuilder<T extends SignatureAlgorithmImpl,B extends SignatureAlgorithmImpl.AbstractSignatureAlgorithmBuilder<T, ? extends AlgorithmBuilder<T>>>, SignatureAlgorithmImpl.SignatureAlgorithmBuilder Nested classes/interfaces inherited from class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
AbstractKeyBasedAlgorithm.AbstractKeyBasedAlgorithmBuilder<T extends AbstractKeyBasedAlgorithm,B extends AbstractKeyBasedAlgorithm.AbstractKeyBasedAlgorithmBuilder<T, ? extends AlgorithmBuilder<T>>> Nested classes/interfaces inherited from class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
AbstractJoseAlgorithm.AbstractJoseAlgorithmBuilder<T extends AbstractJoseAlgorithm,B extends AbstractJoseAlgorithm.AbstractJoseAlgorithmBuilder<T, ? extends AlgorithmBuilder<T>>> Nested classes/interfaces inherited from class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
AbstractAlgorithm.AbstractAlgorithmBuilder<T extends AbstractAlgorithm,B extends AlgorithmBuilder<T>> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.bouncycastle.asn1.x509.AlgorithmIdentifierNo AlgorithmIdentifier is valid for this special case.Always returnsnull.Always returnsnull.toString()Methods inherited from class se.swedenconnect.security.algorithms.impl.RSAPSSSignatureAlgorithmImpl
equals, getBuilder, getParameterSpec, hashCode, setMGFDigestAlgorithm, setMGFUri, setParameterSpecMethods inherited from class se.swedenconnect.security.algorithms.impl.SignatureAlgorithmImpl
builder, getMessageDigestAlgorithm, setJcaName, setMessageDigestAlgorithmMethods inherited from class se.swedenconnect.security.algorithms.impl.AbstractKeyBasedAlgorithm
getKeyType, setKeyTypeMethods inherited from class se.swedenconnect.security.algorithms.impl.AbstractJoseAlgorithm
getJoseAlgorithm, setJoseAlgorithmMethods inherited from class se.swedenconnect.security.algorithms.impl.AbstractAlgorithm
getJcaName, getOrder, getUri, isBlacklisted, setBlacklisted, setOrderMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface se.swedenconnect.security.algorithms.Algorithm
getJcaName, getOrder, getUri, isBlacklistedMethods inherited from interface se.swedenconnect.security.algorithms.JoseAlgorithm
getJoseAlgorithmMethods inherited from interface se.swedenconnect.security.algorithms.RSAPSSSignatureAlgorithm
getKeyTypeMethods inherited from interface se.swedenconnect.security.algorithms.SignatureAlgorithm
getMessageDigestAlgorithm, getType
-
Constructor Details
-
NoParamsRSAPSSSignatureAlgorithm
public NoParamsRSAPSSSignatureAlgorithm()Constructor.
-
-
Method Details
-
getMGFUri
Always returnsnull.- Specified by:
getMGFUriin interfaceRSAPSSSignatureAlgorithm- Overrides:
getMGFUriin classRSAPSSSignatureAlgorithmImpl- Returns:
- the MGF URI
-
getAlgorithmIdentifier
public org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()No AlgorithmIdentifier is valid for this special case. Only the OID.- Specified by:
getAlgorithmIdentifierin interfaceAlgorithmIdentifierAware- Overrides:
getAlgorithmIdentifierin classSignatureAlgorithmImpl- Returns:
- the AlgorithmIdentifier
-
getMGFDigestAlgorithm
Always returnsnull.- Specified by:
getMGFDigestAlgorithmin interfaceRSAPSSSignatureAlgorithm- Overrides:
getMGFDigestAlgorithmin classRSAPSSSignatureAlgorithmImpl- Returns:
- the MGF digest algorithm
-
toString
- Overrides:
toStringin classRSAPSSSignatureAlgorithmImpl
-