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, engineVerify
protected JDKPSSSigner(AsymmetricBlockCipher signer, PSSParameterSpec paramSpecArg)
protected JDKPSSSigner(AsymmetricBlockCipher signer, PSSParameterSpec baseParamSpec, boolean isRaw)
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify
in class SignatureSpi
InvalidKeyException
protected void engineInitSign(PrivateKey privateKey, SecureRandom random) throws InvalidKeyException
engineInitSign
in class SignatureSpi
InvalidKeyException
protected void engineInitSign(PrivateKey privateKey) throws InvalidKeyException
engineInitSign
in class SignatureSpi
InvalidKeyException
protected void engineUpdate(byte b) throws SignatureException
engineUpdate
in class SignatureSpi
SignatureException
protected void engineUpdate(byte[] b, int off, int len) throws SignatureException
engineUpdate
in class SignatureSpi
SignatureException
protected byte[] engineSign() throws SignatureException
engineSign
in class SignatureSpi
SignatureException
protected boolean engineVerify(byte[] sigBytes) throws SignatureException
engineVerify
in class SignatureSpi
SignatureException
protected void engineSetParameter(AlgorithmParameterSpec params) throws InvalidParameterException
engineSetParameter
in class SignatureSpi
InvalidParameterException
protected AlgorithmParameters engineGetParameters()
engineGetParameters
in class SignatureSpi
protected void engineSetParameter(String param, Object value)
engineSetParameter
in class SignatureSpi
protected Object engineGetParameter(String param)
engineGetParameter
in class SignatureSpi
Copyright © 2015. All rights reserved.