to top
Android APIs
Added in API level 1
public interface

PolicyNode

java.security.cert.PolicyNode

Class Overview

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

public abstract Iterator<? extends PolicyNode> getChildren ()

Added in API level 1

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

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

public abstract int getDepth ()

Added in API level 1

Returns the depth of this node in the policy tree.

the depth is zero based.

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

public abstract Set<String> getExpectedPolicies ()

Added in API level 1

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

Returns
  • the expected policies.

public abstract PolicyNode getParent ()

Added in API level 1

Returns the parent policy node.

Returns
  • the parent policy node.

public abstract Set<? extends PolicyQualifierInfo> getPolicyQualifiers ()

Added in API level 1

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

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

public abstract String getValidPolicy ()

Added in API level 1

Returns the valid policy of this node.

Returns
  • the valid policy of this node.

public abstract boolean isCritical ()

Added in API level 1

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

Returns
  • true if the extension is marked as critical, otherwise false.