Compartir a través de


PKIXCertPathValidatorResult.PolicyTree Property

Definition

Returns the root node of the valid policy tree resulting from the PKIX certification path validation algorithm.

public virtual Java.Security.Cert.IPolicyNode? PolicyTree { [Android.Runtime.Register("getPolicyTree", "()Ljava/security/cert/PolicyNode;", "GetGetPolicyTreeHandler")] get; }
[<get: Android.Runtime.Register("getPolicyTree", "()Ljava/security/cert/PolicyNode;", "GetGetPolicyTreeHandler")>]
member this.PolicyTree : Java.Security.Cert.IPolicyNode

Property Value

the root node of the valid policy tree, or null if there are no valid policies

Attributes

Remarks

Returns the root node of the valid policy tree resulting from the PKIX certification path validation algorithm. The PolicyNode object that is returned and any objects that it returns through public methods are immutable.

Most applications will not need to examine the valid policy tree. They can achieve their policy processing goals by setting the policy-related parameters in PKIXParameters. However, more sophisticated applications, especially those that process policy qualifiers, may need to traverse the valid policy tree using the PolicyNode#getParent PolicyNode.getParent and PolicyNode#getChildren PolicyNode.getChildren methods.

Java documentation for java.security.cert.PKIXCertPathValidatorResult.getPolicyTree().

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