public abstract class AbstractTlsSigner extends java.lang.Object implements TlsSigner
Modifier and Type | Field and Description |
---|---|
protected TlsContext |
context
Deprecated.
|
Constructor and Description |
---|
AbstractTlsSigner()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Signer |
createSigner(AsymmetricKeyParameter privateKey)
Deprecated.
|
Signer |
createVerifyer(AsymmetricKeyParameter publicKey)
Deprecated.
|
byte[] |
generateRawSignature(AsymmetricKeyParameter privateKey,
byte[] md5AndSha1)
Deprecated.
|
void |
init(TlsContext context)
Deprecated.
|
boolean |
verifyRawSignature(byte[] sigBytes,
AsymmetricKeyParameter publicKey,
byte[] md5AndSha1)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createSigner, createVerifyer, generateRawSignature, isValidPublicKey, verifyRawSignature
protected TlsContext context
public void init(TlsContext context)
public byte[] generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1) throws CryptoException
generateRawSignature
in interface TlsSigner
CryptoException
public boolean verifyRawSignature(byte[] sigBytes, AsymmetricKeyParameter publicKey, byte[] md5AndSha1) throws CryptoException
verifyRawSignature
in interface TlsSigner
CryptoException
public Signer createSigner(AsymmetricKeyParameter privateKey)
createSigner
in interface TlsSigner
public Signer createVerifyer(AsymmetricKeyParameter publicKey)
createVerifyer
in interface TlsSigner