public interface TlsSigner
Modifier and Type | Method and Description |
---|---|
Signer |
createSigner(AsymmetricKeyParameter privateKey) |
Signer |
createVerifyer(AsymmetricKeyParameter publicKey) |
byte[] |
generateRawSignature(AsymmetricKeyParameter privateKey,
byte[] md5AndSha1) |
void |
init(TlsContext context) |
boolean |
isValidPublicKey(AsymmetricKeyParameter publicKey) |
boolean |
verifyRawSignature(byte[] sigBytes,
AsymmetricKeyParameter publicKey,
byte[] md5AndSha1) |
void init(TlsContext context)
byte[] generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1) throws CryptoException
CryptoException
boolean verifyRawSignature(byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] md5AndSha1) throws CryptoException
CryptoException
Signer createSigner(AsymmetricKeyParameter privateKey)
Signer createVerifyer(AsymmetricKeyParameter publicKey)
boolean isValidPublicKey(AsymmetricKeyParameter publicKey)