Udostępnij za pośrednictwem


X509CRL.Verify Method

Definition

Overloads

Verify(IPublicKey)

Verifies that this CRL was signed using the private key that corresponds to the given public key.

Verify(IPublicKey, Provider)

Verifies that this CRL was signed using the private key that corresponds to the given public key.

Verify(IPublicKey, String)

Verifies that this CRL was signed using the private key that corresponds to the given public key.

Verify(IPublicKey)

Verifies that this CRL was signed using the private key that corresponds to the given public key.

[Android.Runtime.Register("verify", "(Ljava/security/PublicKey;)V", "GetVerify_Ljava_security_PublicKey_Handler")]
public abstract void Verify (Java.Security.IPublicKey? key);
[<Android.Runtime.Register("verify", "(Ljava/security/PublicKey;)V", "GetVerify_Ljava_security_PublicKey_Handler")>]
abstract member Verify : Java.Security.IPublicKey -> unit

Parameters

key
IPublicKey

the PublicKey used to carry out the verification.

Attributes

Exceptions

if encoding or decoding fails.

if a needed algorithm is not present.

if the specified key is invalid.

if no provider can be found.

if errors occur on signatures.

Remarks

Verifies that this CRL was signed using the private key that corresponds to the given public key.

Java documentation for java.security.cert.X509CRL.verify(java.security.PublicKey).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Verify(IPublicKey, Provider)

Verifies that this CRL was signed using the private key that corresponds to the given public key.

[Android.Runtime.Register("verify", "(Ljava/security/PublicKey;Ljava/security/Provider;)V", "GetVerify_Ljava_security_PublicKey_Ljava_security_Provider_Handler", ApiSince=26)]
public virtual void Verify (Java.Security.IPublicKey? key, Java.Security.Provider? sigProvider);
[<Android.Runtime.Register("verify", "(Ljava/security/PublicKey;Ljava/security/Provider;)V", "GetVerify_Ljava_security_PublicKey_Ljava_security_Provider_Handler", ApiSince=26)>]
abstract member Verify : Java.Security.IPublicKey * Java.Security.Provider -> unit
override this.Verify : Java.Security.IPublicKey * Java.Security.Provider -> unit

Parameters

key
IPublicKey

the PublicKey used to carry out the verification.

sigProvider
Provider

the signature provider.

Attributes

Remarks

Verifies that this CRL was signed using the private key that corresponds to the given public key. This method uses the signature verification engine supplied by the given provider. Note that the specified Provider object does not have to be registered in the provider list.

This method was added to version 1.8 of the Java Platform Standard Edition. In order to maintain backwards compatibility with existing service providers, this method is not abstract and it provides a default implementation.

Added in 1.8.

Java documentation for java.security.cert.X509CRL.verify(java.security.PublicKey, java.security.Provider).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

Verify(IPublicKey, String)

Verifies that this CRL was signed using the private key that corresponds to the given public key.

[Android.Runtime.Register("verify", "(Ljava/security/PublicKey;Ljava/lang/String;)V", "GetVerify_Ljava_security_PublicKey_Ljava_lang_String_Handler")]
public abstract void Verify (Java.Security.IPublicKey? key, string? sigProvider);
[<Android.Runtime.Register("verify", "(Ljava/security/PublicKey;Ljava/lang/String;)V", "GetVerify_Ljava_security_PublicKey_Ljava_lang_String_Handler")>]
abstract member Verify : Java.Security.IPublicKey * string -> unit

Parameters

key
IPublicKey

the PublicKey used to carry out the verification.

sigProvider
String

the name of the signature provider.

Attributes

Exceptions

if encoding decoding fails.

if a needed algorithm is not present.

if the specified key is invalid.

if the specified provider cannot be found.

if errors occur on signatures.

Remarks

Verifies that this CRL was signed using the private key that corresponds to the given public key. This method uses the signature verification engine supplied by the given provider.

Java documentation for java.security.cert.X509CRL.verify(java.security.PublicKey, java.lang.String).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to