PKIXParameters.CertPathCheckers Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the List
of certification path checkers. -or- Sets a List
of additional certification path checkers.
public virtual System.Collections.Generic.IList<Java.Security.Cert.PKIXCertPathChecker>? CertPathCheckers { [Android.Runtime.Register("getCertPathCheckers", "()Ljava/util/List;", "GetGetCertPathCheckersHandler")] get; [Android.Runtime.Register("setCertPathCheckers", "(Ljava/util/List;)V", "GetSetCertPathCheckers_Ljava_util_List_Handler")] set; }
[<get: Android.Runtime.Register("getCertPathCheckers", "()Ljava/util/List;", "GetGetCertPathCheckersHandler")>]
[<set: Android.Runtime.Register("setCertPathCheckers", "(Ljava/util/List;)V", "GetSetCertPathCheckers_Ljava_util_List_Handler")>]
member this.CertPathCheckers : System.Collections.Generic.IList<Java.Security.Cert.PKIXCertPathChecker> with get, set
Property Value
an immutable List
of
PKIXCertPathChecker
s (may be empty, but not
null
)
- Attributes
Remarks
Property getter documentation:
Returns the List
of certification path checkers. The returned List
is immutable, and each PKIXCertPathChecker
in the List
is cloned to protect against subsequent modifications.
Java documentation for java.security.cert.PKIXParameters.getCertPathCheckers()
.
Property setter documentation:
Sets a List
of additional certification path checkers. If the specified List
contains an object that is not a PKIXCertPathChecker
, it is ignored.
Each PKIXCertPathChecker
specified implements additional checks on a certificate. Typically, these are checks to process and verify private extensions contained in certificates. Each PKIXCertPathChecker
should be instantiated with any initialization parameters needed to execute the check.
This method allows sophisticated applications to extend a PKIX CertPathValidator
or CertPathBuilder
. Each of the specified PKIXCertPathChecker
s will be called, in turn, by a PKIX CertPathValidator
or CertPathBuilder
for each certificate processed or validated.
Regardless of whether these additional PKIXCertPathChecker
s are set, a PKIX CertPathValidator
or CertPathBuilder
must perform all of the required PKIX checks on each certificate. The one exception to this rule is if the RevocationEnabled flag is set to false (see the #setRevocationEnabled setRevocationEnabled
method).
Note that the List
supplied here is copied and each PKIXCertPathChecker
in the list is cloned to protect against subsequent modifications.
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.