Package netscape.security.x509
Class PolicyQualifiers
- java.lang.Object
-
- netscape.security.x509.PolicyQualifiers
-
- All Implemented Interfaces:
java.io.Serializable
public class PolicyQualifiers extends java.lang.Object implements java.io.Serializable
Represent the PolicyQualifiers. policyQualifiers ::= SEQUENCE SIZE (1..MAX) OF PolicyQualifierInfo- Author:
- Thomas Kwan
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PolicyQualifiers()
Create a PolicyQualifiers with the ObjectIdentifier.PolicyQualifiers(DerValue val)
Create the object from its Der encoded value.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(PolicyQualifierInfo info)
void
encode(DerOutputStream out)
Write the PolicyQualifiers to the DerOutputStream.PolicyQualifierInfo
getInfoAt(int i)
int
size()
java.lang.String
toString()
Returns a printable representation of the CertificatePolicyId.
-
-
-
Constructor Detail
-
PolicyQualifiers
public PolicyQualifiers()
Create a PolicyQualifiers with the ObjectIdentifier.- Parameters:
id
- the ObjectIdentifier for the policy id.
-
PolicyQualifiers
public PolicyQualifiers(DerValue val) throws java.io.IOException
Create the object from its Der encoded value.- Parameters:
val
- the DER encoded value for the same.- Throws:
java.io.IOException
-
-
Method Detail
-
add
public void add(PolicyQualifierInfo info)
-
size
public int size()
-
getInfoAt
public PolicyQualifierInfo getInfoAt(int i)
-
toString
public java.lang.String toString()
Returns a printable representation of the CertificatePolicyId.- Overrides:
toString
in classjava.lang.Object
-
encode
public void encode(DerOutputStream out) throws java.io.IOException
Write the PolicyQualifiers to the DerOutputStream.- Parameters:
out
- the DerOutputStream to write the object to.- Throws:
java.io.IOException
- on errors.
-
-