org.bouncycastle.crypto.tls
Class TlsRSASigner
java.lang.Object
org.bouncycastle.crypto.tls.AbstractTlsSigner
org.bouncycastle.crypto.tls.TlsRSASigner
- All Implemented Interfaces:
- TlsSigner
public class TlsRSASigner
- extends AbstractTlsSigner
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TlsRSASigner
public TlsRSASigner()
generateRawSignature
public byte[] generateRawSignature(AsymmetricKeyParameter privateKey,
byte[] md5AndSha1)
throws CryptoException
- Throws:
CryptoException
verifyRawSignature
public boolean verifyRawSignature(byte[] sigBytes,
AsymmetricKeyParameter publicKey,
byte[] md5AndSha1)
throws CryptoException
- Throws:
CryptoException
createSigner
public Signer createSigner(AsymmetricKeyParameter privateKey)
createVerifyer
public Signer createVerifyer(AsymmetricKeyParameter publicKey)
isValidPublicKey
public boolean isValidPublicKey(AsymmetricKeyParameter publicKey)
makeSigner
protected Signer makeSigner(Digest d,
boolean forSigning,
CipherParameters cp)
createRSAImpl
protected AsymmetricBlockCipher createRSAImpl()