Skip to content

Most visited

Recently visited

navigation
Added in API level 1

PolicyQualifierInfo

public class PolicyQualifierInfo
extends Object

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


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.

Inherited methods

From class java.lang.Object

Public constructors

PolicyQualifierInfo

Added in API level 1
PolicyQualifierInfo (byte[] encoded)

Creates a new PolicyQualifierInfo from the specified encoded form.

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

Public methods

getEncoded

Added in API level 1
byte[] getEncoded ()

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

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

getPolicyQualifier

Added in API level 1
byte[] getPolicyQualifier ()

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.

getPolicyQualifierId

Added in API level 1
String getPolicyQualifierId ()

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

Returns
String the identifier of this policy qualifier info.

toString

Added in API level 1
String toString ()

Returns a string representation of this PolicyQualifierInfo instance.

Returns
String a string representation of this PolicyQualifierInfo instance.
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.