Constructor and Description |
---|
TlsRSASigner() |
Modifier and Type | Method and Description |
---|---|
byte[] |
calculateRawSignature(java.security.SecureRandom random,
AsymmetricKeyParameter privateKey,
byte[] md5andsha1) |
Signer |
createVerifyer(AsymmetricKeyParameter publicKey) |
boolean |
isValidPublicKey(AsymmetricKeyParameter publicKey) |
public byte[] calculateRawSignature(java.security.SecureRandom random, AsymmetricKeyParameter privateKey, byte[] md5andsha1) throws CryptoException
calculateRawSignature
in interface TlsSigner
CryptoException
public Signer createVerifyer(AsymmetricKeyParameter publicKey)
createVerifyer
in interface TlsSigner
public boolean isValidPublicKey(AsymmetricKeyParameter publicKey)
isValidPublicKey
in interface TlsSigner