Class RSAPSSSignature
java.lang.Object
java.security.SignatureSpi
com.ibm.crypto.hdwrCCA.provider.RSAPSSSignature
PKCS#1 RSA-PSS signatures with the various message digest algorithms. This
file contains an abstract base class with all the logic plus a nested static
class for each of the message digest algorithms (see end of the file). Only
SHA-1, SHA-256, SHA-384, and SHA-512 are recommended for EMSA-PSS encoding
schemes per RFC.
-
Field Summary
Fields inherited from class SignatureSpi
appRandom -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ObjectengineGetParameter(String param) Deprecated.protected AlgorithmParametersprotected voidengineInitSign(PrivateKey privateKey) protected voidengineInitVerify(PublicKey publicKey) protected voidengineSetParameter(String param, Object value) Deprecated.protected voidThis method is overridden by providers to initialize this signature engine with the specified parameter set.protected byte[]protected voidengineUpdate(byte b) protected voidengineUpdate(byte[] data, int off, int len) protected booleanengineVerify(byte[] signature) Methods inherited from class SignatureSpi
clone, engineInitSign, engineSign, engineUpdate, engineVerify
-
Constructor Details
-
RSAPSSSignature
public RSAPSSSignature()
-
-
Method Details
-
engineInitSign
- Specified by:
engineInitSignin classSignatureSpi- Throws:
InvalidKeyException
-
engineInitVerify
- Specified by:
engineInitVerifyin classSignatureSpi- Throws:
InvalidKeyException
-
engineUpdate
- Specified by:
engineUpdatein classSignatureSpi- Throws:
SignatureException
-
engineUpdate
- Specified by:
engineUpdatein classSignatureSpi- Throws:
SignatureException
-
engineSign
- Specified by:
engineSignin classSignatureSpi- Throws:
SignatureException
-
engineVerify
- Specified by:
engineVerifyin classSignatureSpi- Throws:
SignatureException
-
engineSetParameter
@Deprecated protected void engineSetParameter(String param, Object value) throws InvalidParameterException Deprecated.- Specified by:
engineSetParameterin classSignatureSpi- Throws:
InvalidParameterException
-
engineGetParameter
Deprecated.- Specified by:
engineGetParameterin classSignatureSpi- Throws:
InvalidParameterException
-
engineSetParameter
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException This method is overridden by providers to initialize this signature engine with the specified parameter set.- Overrides:
engineSetParameterin classSignatureSpi- Parameters:
params- the parameters- Throws:
UnsupportedOperationException- if this method is not overridden by a providerInvalidAlgorithmParameterException- if this method is overridden by a provider and the given parameters are inappropriate for this signature engine
-
engineGetParameters
- Overrides:
engineGetParametersin classSignatureSpi- Throws:
InvalidParameterException
-