Package org.forgerock.secrets.vault
Class VaultSignature.GenericRsaPssSignature
- java.lang.Object
 - 
- java.security.SignatureSpi
 - 
- org.forgerock.secrets.vault.VaultSignature.GenericRsaPssSignature
 
 
 
- 
- Enclosing class:
 - VaultSignature
 
public static class VaultSignature.GenericRsaPssSignature extends SignatureSpi
Generic RSA with PSS padding. Requires a call toengineSetParameter(AlgorithmParameterSpec)with an instance ofPSSParameterSpecbefore it can be used. The PSS parameters must specify the same SHA-2 hash algorithm for both message digest and MGF1. The supported parameters are exactly those used by the JOSEPS256,PS384, andPS512algorithms. 
- 
- 
Field Summary
- 
Fields inherited from class java.security.SignatureSpi
appRandom 
 - 
 
- 
Constructor Summary
Constructors Constructor Description GenericRsaPssSignature() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected ObjectengineGetParameter(String param)Deprecated.protected voidengineInitSign(PrivateKey privateKey)protected voidengineInitVerify(PublicKey publicKey)protected voidengineSetParameter(String param, Object value)Deprecated.protected voidengineSetParameter(AlgorithmParameterSpec params)protected byte[]engineSign()protected voidengineUpdate(byte b)protected voidengineUpdate(byte[] b, int off, int len)protected booleanengineVerify(byte[] sigBytes)- 
Methods inherited from class java.security.SignatureSpi
clone, engineGetParameters, engineInitSign, engineSign, engineUpdate, engineVerify 
 - 
 
 - 
 
- 
- 
Method Detail
- 
engineInitVerify
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
- Specified by:
 engineInitVerifyin classSignatureSpi- Throws:
 InvalidKeyException
 
- 
engineInitSign
protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
- Specified by:
 engineInitSignin classSignatureSpi- Throws:
 InvalidKeyException
 
- 
engineUpdate
protected void engineUpdate(byte b) throws SignatureException- Specified by:
 engineUpdatein classSignatureSpi- Throws:
 SignatureException
 
- 
engineUpdate
protected void engineUpdate(byte[] b, int off, int len) throws SignatureException- Specified by:
 engineUpdatein classSignatureSpi- Throws:
 SignatureException
 
- 
engineSign
protected byte[] engineSign() throws SignatureException- Specified by:
 engineSignin classSignatureSpi- Throws:
 SignatureException
 
- 
engineVerify
protected boolean engineVerify(byte[] sigBytes) throws SignatureException- Specified by:
 engineVerifyin classSignatureSpi- Throws:
 SignatureException
 
- 
engineSetParameter
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidAlgorithmParameterException
- Overrides:
 engineSetParameterin classSignatureSpi- Throws:
 InvalidAlgorithmParameterException
 
- 
engineSetParameter
@Deprecated protected void engineSetParameter(String param, Object value) throws InvalidParameterException
Deprecated.- Specified by:
 engineSetParameterin classSignatureSpi- Throws:
 InvalidParameterException
 
- 
engineGetParameter
@Deprecated protected Object engineGetParameter(String param) throws InvalidParameterException
Deprecated.- Specified by:
 engineGetParameterin classSignatureSpi- Throws:
 InvalidParameterException
 
 - 
 
 -