Class PolicyQualifiers
- java.lang.Object
-
- org.mozilla.jss.netscape.security.x509.PolicyQualifiers
-
- All Implemented Interfaces:
java.io.Serializable
public class PolicyQualifiers extends java.lang.Object implements java.io.SerializableRepresent the PolicyQualifiers. policyQualifiers ::= SEQUENCE SIZE (1..MAX) OF PolicyQualifierInfo- 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 voidadd(PolicyQualifierInfo info)voidencode(DerOutputStream out)Write the PolicyQualifiers to the DerOutputStream.PolicyQualifierInfogetInfoAt(int i)intsize()java.lang.StringtoString()Returns a printable representation of the CertificatePolicyId.
-
-
-
Constructor Detail
-
PolicyQualifiers
public PolicyQualifiers()
Create a PolicyQualifiers with the ObjectIdentifier.
-
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:
toStringin 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.
-
-