public class

PolicyQualifierInfo

extends Object
java.lang.Object
   ↳ java.security.cert.PolicyQualifierInfo

Class Overview

This class implements a policy qualifier as defined by the ASN.1 PolicyQualifierInfo structure.

Summary

Public Constructors
PolicyQualifierInfo(byte[] encoded)
Creates a new PolicyQualifierInfo from the specified encoded form.
Public Methods
final byte[] getEncoded()
Returns a ASN.1 DER encoded copy of policy qualifier info.
final byte[] getPolicyQualifier()
Returns a ASN.1 DER encoded copy of the qualifier of this policy qualifier info.
final String getPolicyQualifierId()
Returns the identifier (an OID) of this policy qualifier info.
String toString()
Returns a string representation of this PolicyQualifierInfo instance.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public PolicyQualifierInfo (byte[] encoded)

Creates a new PolicyQualifierInfo from the specified encoded form.

Parameters
encoded the DER encoded policy qualifier.
Throws
IOException the policy qualifier cannot be decoded.

Public Methods

public final byte[] getEncoded ()

Returns a ASN.1 DER encoded copy of policy qualifier info.

Returns
  • a ASN.1 DER encoded copy of policy qualifier info.

public final byte[] getPolicyQualifier ()

Returns a ASN.1 DER encoded copy of the qualifier of this policy qualifier info.

Returns
  • a ASN.1 DER encoded copy of the qualifier of this policy qualifier info.

public final String getPolicyQualifierId ()

Returns the identifier (an OID) of this policy qualifier info.

Returns
  • the identifier of this policy qualifier info.

public String toString ()

Returns a string representation of this PolicyQualifierInfo instance.

Returns
  • a string representation of this PolicyQualifierInfo instance.