Top Description Fields Constructors Methods
org.bouncycastle.tls.crypto.impl.bc

public Class BcTlsRSAVerifier

extends BcTlsVerifier
Class Inheritance
Imports
org.bouncycastle.crypto.Digest, .Signer, org.bouncycastle.crypto.digests.NullDigest, org.bouncycastle.crypto.encodings.PKCS1Encoding, org.bouncycastle.crypto.engines.RSABlindedEngine, org.bouncycastle.crypto.params.RSAKeyParameters, org.bouncycastle.crypto.signers.GenericSigner, .RSADigestSigner, org.bouncycastle.tls.DigitallySigned, .SignatureAlgorithm, .SignatureAndHashAlgorithm, .TlsUtils

Operator supporting the verification of RSASSA-PKCS1-v1_5 signatures using the BC light-weight API.

Field Summary

Inherited from org.bouncycastle.tls.crypto.impl.bc.BcTlsVerifier:
cryptopublicKey

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
verifyRawSignature(DigitallySigned
the signature object containing the signature to be verified.
digitallySigned
,
byte[]
the hash calculated for the signature.
hash
)

Implements org.bouncycastle.tls.crypto.TlsVerifier.verifyRawSignature.

Return true if the passed in signature and hash represent a real signature.

Inherited from org.bouncycastle.tls.crypto.impl.bc.BcTlsVerifier:
getStreamVerifier

Constructor Detail

BcTlsRSAVerifierback to summary
public BcTlsRSAVerifier(BcTlsCrypto crypto, RSAKeyParameters publicKey)

Method Detail

verifyRawSignatureback to summary
public boolean verifyRawSignature(DigitallySigned digitallySigned, byte[] hash)

Implements org.bouncycastle.tls.crypto.TlsVerifier.verifyRawSignature.

Doc from org.bouncycastle.tls.crypto.TlsVerifier.verifyRawSignature.

Return true if the passed in signature and hash represent a real signature.

Parameters
digitallySigned:DigitallySigned

the signature object containing the signature to be verified.

hash:byte[]

the hash calculated for the signature.

Returns:boolean

true if signature verifies, false otherwise.