public abstract class AbstractTlsSigner extends Object implements TlsSigner
| Modifier and Type | Field and Description |
|---|---|
protected TlsContext |
context |
| Constructor and Description |
|---|
AbstractTlsSigner() |
| 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 |
verifyRawSignature(byte[] sigBytes,
AsymmetricKeyParameter publicKey,
byte[] md5AndSha1) |
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 TlsSignerCopyright © 2015–2020 The veraPDF Consortium. All rights reserved.