public class JDKPSSSigner extends SignatureSpi
| Modifier and Type | Class and Description |
|---|---|
static class |
JDKPSSSigner.nonePSS |
static class |
JDKPSSSigner.PSSwithRSA |
static class |
JDKPSSSigner.SHA1withRSA |
static class |
JDKPSSSigner.SHA224withRSA |
static class |
JDKPSSSigner.SHA256withRSA |
static class |
JDKPSSSigner.SHA384withRSA |
static class |
JDKPSSSigner.SHA512withRSA |
appRandom| Modifier | Constructor and Description |
|---|---|
protected |
JDKPSSSigner(AsymmetricBlockCipher signer,
PSSParameterSpec paramSpecArg) |
protected |
JDKPSSSigner(AsymmetricBlockCipher signer,
PSSParameterSpec baseParamSpec,
boolean isRaw) |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
engineGetParameter(String param) |
protected AlgorithmParameters |
engineGetParameters() |
protected void |
engineInitSign(PrivateKey privateKey) |
protected void |
engineInitSign(PrivateKey privateKey,
SecureRandom random) |
protected void |
engineInitVerify(PublicKey publicKey) |
protected void |
engineSetParameter(AlgorithmParameterSpec params) |
protected void |
engineSetParameter(String param,
Object value)
|
protected byte[] |
engineSign() |
protected void |
engineUpdate(byte b) |
protected void |
engineUpdate(byte[] b,
int off,
int len) |
protected boolean |
engineVerify(byte[] sigBytes) |
clone, engineSign, engineUpdate, engineVerifyprotected JDKPSSSigner(AsymmetricBlockCipher signer, PSSParameterSpec paramSpecArg)
protected JDKPSSSigner(AsymmetricBlockCipher signer, PSSParameterSpec baseParamSpec, boolean isRaw)
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify in class SignatureSpiInvalidKeyExceptionprotected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException
engineInitSign in class SignatureSpiInvalidKeyExceptionprotected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign in class SignatureSpiInvalidKeyExceptionprotected void engineUpdate(byte b)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected void engineUpdate(byte[] b,
int off,
int len)
throws SignatureException
engineUpdate in class SignatureSpiSignatureExceptionprotected byte[] engineSign()
throws SignatureException
engineSign in class SignatureSpiSignatureExceptionprotected boolean engineVerify(byte[] sigBytes)
throws SignatureException
engineVerify in class SignatureSpiSignatureExceptionprotected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidParameterException
engineSetParameter in class SignatureSpiInvalidParameterExceptionprotected AlgorithmParameters engineGetParameters()
engineGetParameters in class SignatureSpiprotected void engineSetParameter(String param, Object value)
engineSetParameter in class SignatureSpiprotected Object engineGetParameter(String param)
engineGetParameter in class SignatureSpiCopyright © 2015. All rights reserved.