X509CertificateVerify(AsymmetricKeyParameter) Method

Verify the certificate's signature using the nominated public key.

Definition

Namespace: Org.BouncyCastle.X509
Assembly: BouncyCastle.Cryptography (in BouncyCastle.Cryptography.dll) Version: 2.3.0-beta.187+d6da5648ae
public virtual void Verify(
	AsymmetricKeyParameter key
)

Parameters

key  AsymmetricKeyParameter
An appropriate public key parameter object, RsaPublicKeyParameters, DsaPublicKeyParameters or ECDsaPublicKeyParameters

Return Value

True if the signature is valid.

Exceptions

ExceptionIf key submitted is not of the above nominated types.

See Also