public class RsaPssSignature
extends java.security.SignatureSpi
RsaPssSignature implements SignatureSpi and is inherited by specific
transformation implementations. The digest mechanism is determined by these subclasses.
This class may be used directly by calling Signature.setParameter(AlgorithmParameterSpec) with a PSSParameterSpec.
Otherwise, one of the subclasses of RsaPssSignature may be used. Each subclass sets a
default salt length for a given digest.
Signature,
Signature.setParameter(AlgorithmParameterSpec),
PSSParameterSpec| Constructor and Description |
|---|
RsaPssSignature(CloudHsmProvider provider)
Constructs an empty
RsaPssSignature. |
RsaPssSignature(com.amazonaws.cloudhsm.jce.jni.DigestMechanism digestMechanism,
CloudHsmProvider provider)
Construct an RsaPssSignature with a digest mechanism.
|
public RsaPssSignature(CloudHsmProvider provider)
RsaPssSignature.
A call to Signature::setParameter() is necessary to set the salt length and digest
mechanism before this mechanism can be used to generate signatures.
provider - CloudHSM provider offering this service.Signature.setParameter(AlgorithmParameterSpec)public RsaPssSignature(com.amazonaws.cloudhsm.jce.jni.DigestMechanism digestMechanism,
CloudHsmProvider provider)
A default salt length will be configured equal to the length of the corresponding digest
in bytes. A call to Signature::setParameter() is not needed, but can optionally be
called to change the default configuration.
digestMechanism - The digest mechanism used to digest the input data.provider - CloudHSM provider offering this service.Signature.setParameter(AlgorithmParameterSpec)