Compartir a través de


PKIXParameters.AddCertPathChecker(PKIXCertPathChecker) Method

Definition

Adds a PKIXCertPathChecker to the list of certification path checkers.

[Android.Runtime.Register("addCertPathChecker", "(Ljava/security/cert/PKIXCertPathChecker;)V", "GetAddCertPathChecker_Ljava_security_cert_PKIXCertPathChecker_Handler")]
public virtual void AddCertPathChecker (Java.Security.Cert.PKIXCertPathChecker? checker);
[<Android.Runtime.Register("addCertPathChecker", "(Ljava/security/cert/PKIXCertPathChecker;)V", "GetAddCertPathChecker_Ljava_security_cert_PKIXCertPathChecker_Handler")>]
abstract member AddCertPathChecker : Java.Security.Cert.PKIXCertPathChecker -> unit
override this.AddCertPathChecker : Java.Security.Cert.PKIXCertPathChecker -> unit

Parameters

checker
PKIXCertPathChecker

a PKIXCertPathChecker to add to the list of checks. If null, the checker is ignored (not added to list).

Attributes

Remarks

Adds a PKIXCertPathChecker to the list of certification path checkers. See the #setCertPathCheckers setCertPathCheckers method for more details.

Note that the PKIXCertPathChecker is cloned to protect against subsequent modifications.

Java documentation for java.security.cert.PKIXParameters.addCertPathChecker(java.security.cert.PKIXCertPathChecker).

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