public class BeIDSignature extends SignatureSpi
Signature implementation. Supports the following
signature algorithms:
SHA1withRSASHA224withRSASHA256withRSASHA384withRSASHA512withRSANONEwithRSA, used for mutual TLS authentication.RIPEMD128withRSARIPEMD160withRSARIPEMD256withRSASHA1withRSAandMGF1, supported by future eID cards.SHA256withRSAandMGF1, supported by future eID cards.appRandom| Modifier and Type | Method and Description |
|---|---|
protected Object |
engineGetParameter(String param)
Deprecated.
|
protected void |
engineInitSign(PrivateKey privateKey) |
protected void |
engineInitVerify(PublicKey publicKey) |
protected void |
engineSetParameter(String param,
Object value)
Deprecated.
|
protected byte[] |
engineSign() |
protected void |
engineUpdate(byte b) |
protected void |
engineUpdate(byte[] b,
int off,
int len) |
protected boolean |
engineVerify(byte[] sigBytes) |
clone, engineGetParameters, engineInitSign, engineSetParameter, engineSign, engineUpdate, engineVerifyprotected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify 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 SignatureSpiSignatureException@Deprecated protected void engineSetParameter(String param, Object value) throws InvalidParameterException
engineSetParameter in class SignatureSpiInvalidParameterException@Deprecated protected Object engineGetParameter(String param) throws InvalidParameterException
engineGetParameter in class SignatureSpiInvalidParameterExceptionCopyright © 2012–2019 BOSA. All rights reserved.