Android APIs
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)

Added in API level 1

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 ()

Added in API level 1

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

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

public final byte[] getPolicyQualifier ()

Added in API level 1

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

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

public final String getPolicyQualifierId ()

Added in API level 1

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

Returns
String the identifier of this policy qualifier info.

public String toString ()

Added in API level 1

Returns a string representation of this PolicyQualifierInfo instance.

Returns
String a string representation of this PolicyQualifierInfo instance.