public class SignatureSpi
extends java.security.SignatureSpi
Modifier and Type | Class and Description |
---|---|
static class |
SignatureSpi.withSha224 |
static class |
SignatureSpi.withSha256 |
static class |
SignatureSpi.withSha384 |
static class |
SignatureSpi.withSha512 |
Modifier | Constructor and Description |
---|---|
protected |
SignatureSpi(Digest digest,
RainbowSigner signer) |
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object |
engineGetParameter(java.lang.String param)
Deprecated.
|
protected void |
engineInitSign(java.security.PrivateKey privateKey) |
protected void |
engineInitSign(java.security.PrivateKey privateKey,
java.security.SecureRandom random) |
protected void |
engineInitVerify(java.security.PublicKey publicKey) |
protected void |
engineSetParameter(java.security.spec.AlgorithmParameterSpec params) |
protected void |
engineSetParameter(java.lang.String param,
java.lang.Object value)
Deprecated.
replaced with #engineSetParameter(java.security.spec.AlgorithmParameterSpec)
|
protected byte[] |
engineSign() |
protected void |
engineUpdate(byte b) |
protected void |
engineUpdate(byte[] b,
int off,
int len) |
protected boolean |
engineVerify(byte[] sigBytes) |
protected SignatureSpi(Digest digest, RainbowSigner signer)
protected void engineInitVerify(java.security.PublicKey publicKey) throws java.security.InvalidKeyException
engineInitVerify
in class java.security.SignatureSpi
java.security.InvalidKeyException
protected void engineInitSign(java.security.PrivateKey privateKey, java.security.SecureRandom random) throws java.security.InvalidKeyException
engineInitSign
in class java.security.SignatureSpi
java.security.InvalidKeyException
protected void engineInitSign(java.security.PrivateKey privateKey) throws java.security.InvalidKeyException
engineInitSign
in class java.security.SignatureSpi
java.security.InvalidKeyException
protected void engineUpdate(byte b) throws java.security.SignatureException
engineUpdate
in class java.security.SignatureSpi
java.security.SignatureException
protected void engineUpdate(byte[] b, int off, int len) throws java.security.SignatureException
engineUpdate
in class java.security.SignatureSpi
java.security.SignatureException
protected byte[] engineSign() throws java.security.SignatureException
engineSign
in class java.security.SignatureSpi
java.security.SignatureException
protected boolean engineVerify(byte[] sigBytes) throws java.security.SignatureException
engineVerify
in class java.security.SignatureSpi
java.security.SignatureException
protected void engineSetParameter(java.security.spec.AlgorithmParameterSpec params)
engineSetParameter
in class java.security.SignatureSpi
protected void engineSetParameter(java.lang.String param, java.lang.Object value)
engineSetParameter
in class java.security.SignatureSpi
protected java.lang.Object engineGetParameter(java.lang.String param)
engineGetParameter
in class java.security.SignatureSpi