public class BeIDSignature extends SignatureSpi
Signature
implementation. Supports the following
signature algorithms:
SHA1withRSA
SHA224withRSA
SHA256withRSA
SHA384withRSA
SHA512withRSA
SHA3-256withRSA
SHA3-384withRSA
SHA3-512withRSA
NONEwithRSA
, used for mutual TLS authentication.RIPEMD128withRSA
RIPEMD160withRSA
RIPEMD256withRSA
SHA1withRSAandMGF1
, supported by recent eID cards.SHA256withRSAandMGF1
, supported by recent eID cards.SHA256withECDSA
, supported by eID version 1.8 cards.SHA384withECDSA
, supported by eID version 1.8 cards.SHA512withECDSA
, supported by eID version 1.8 cards.SHA3-256withECDSA
, supported by eID version 1.8 cards.SHA3-384withECDSA
, supported by eID version 1.8 cards.SHA3-512withECDSA
, supported by eID version 1.8 cards.SHA256withECDSAinP1363Format
, supported by eID version 1.8
cards.SHA384withECDSAinP1363Format
, supported by eID version 1.8
cards.SHA512withECDSAinP1363Format
, supported by eID version 1.8
cards.SHA3-256withECDSAinP1363Format
, supported by eID version 1.8
cards.SHA3-384withECDSAinP1363Format
, supported by eID version 1.8
cards.SHA3-512withECDSAinP1363Format
, supported by eID version 1.8
cards.NONEwithECDSA
, supported by eID version 1.8 cards, used for
mutual TLS authentication.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, engineVerify
protected void engineInitVerify(PublicKey publicKey) throws InvalidKeyException
engineInitVerify
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
@Deprecated protected void engineSetParameter(String param, Object value) throws InvalidParameterException
engineSetParameter
in class SignatureSpi
InvalidParameterException
@Deprecated protected Object engineGetParameter(String param) throws InvalidParameterException
engineGetParameter
in class SignatureSpi
InvalidParameterException
Copyright © 2012–2024 e-Contract.be BV. All rights reserved.