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, waitcreateSigner, createVerifyer, generateRawSignature, isValidPublicKey, verifyRawSignatureprotected TlsContext context
public void init(TlsContext context)
public byte[] generateRawSignature(AsymmetricKeyParameter privateKey, byte[] md5AndSha1) throws CryptoException
generateRawSignature in interface TlsSignerCryptoExceptionpublic boolean verifyRawSignature(byte[] sigBytes,
AsymmetricKeyParameter publicKey,
byte[] md5AndSha1)
throws CryptoException
verifyRawSignature in interface TlsSignerCryptoExceptionpublic Signer createSigner(AsymmetricKeyParameter privateKey)
createSigner in interface TlsSignerpublic Signer createVerifyer(AsymmetricKeyParameter publicKey)
createVerifyer in interface TlsSigner