Skip to content

Most visited

Recently visited

navigation
Added in API level 1

PolicyNode

public interface PolicyNode

java.security.cert.PolicyNode


The interface to a valid policy tree node for the PKIX certification path validation algorithm.

Instances of this class are one of the outputs of the PKIX certification path validation algorithm.

Summary

Public methods

abstract Iterator<? extends PolicyNode> getChildren()

Returns the list of children of this node as an Iterator.

abstract int getDepth()

Returns the depth of this node in the policy tree.

abstract Set<String> getExpectedPolicies()

Returns the expected policies for the next certificate to be valid.

abstract PolicyNode getParent()

Returns the parent policy node.

abstract Set<? extends PolicyQualifierInfo> getPolicyQualifiers()

Returns the policy qualifiers associated with the policy of this node.

abstract String getValidPolicy()

Returns the valid policy of this node.

abstract boolean isCritical()

Returns whether the certificate policy extension of the most recently processed certificate is marked as critical.

Public methods

getChildren

Added in API level 1
Iterator<? extends PolicyNode> getChildren ()

Returns the list of children of this node as an Iterator.

Returns
Iterator<? extends PolicyNode> the list of children of this node as an Iterator.

getDepth

Added in API level 1
int getDepth ()

Returns the depth of this node in the policy tree.

the depth is zero based.

Returns
int the depth of this node in the policy tree.

getExpectedPolicies

Added in API level 1
Set<String> getExpectedPolicies ()

Returns the expected policies for the next certificate to be valid.

Returns
Set<String> the expected policies.

getParent

Added in API level 1
PolicyNode getParent ()

Returns the parent policy node.

Returns
PolicyNode the parent policy node.

getPolicyQualifiers

Added in API level 1
Set<? extends PolicyQualifierInfo> getPolicyQualifiers ()

Returns the policy qualifiers associated with the policy of this node.

Returns
Set<? extends PolicyQualifierInfo> the policy qualifiers associated with the policy of this node.

getValidPolicy

Added in API level 1
String getValidPolicy ()

Returns the valid policy of this node.

Returns
String the valid policy of this node.

isCritical

Added in API level 1
boolean isCritical ()

Returns whether the certificate policy extension of the most recently processed certificate is marked as critical.

Returns
boolean true if the extension is marked as critical, otherwise false.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.