|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gudy.bouncycastle.asn1.ASN1Encodable org.gudy.bouncycastle.asn1.x509.CertificatePolicies
public class CertificatePolicies
Field Summary |
---|
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable |
---|
BER, DER |
Constructor Summary | |
---|---|
CertificatePolicies(ASN1Sequence seq)
Deprecated. use an ASN1Sequence of PolicyInformation |
|
CertificatePolicies(DERObjectIdentifier p)
Deprecated. use an ASN1Sequence of PolicyInformation |
|
CertificatePolicies(String p)
Deprecated. use an ASN1Sequence of PolicyInformation |
Method Summary | |
---|---|
void |
addPolicy(String p)
|
static CertificatePolicies |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated. use an ASN1Sequence of PolicyInformation |
static CertificatePolicies |
getInstance(Object obj)
Deprecated. use an ASN1Sequence of PolicyInformation |
String |
getPolicy(int nr)
|
DERObject |
toASN1Object()
Deprecated. use an ASN1Sequence of PolicyInformation |
String |
toString()
|
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable |
---|
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CertificatePolicies(ASN1Sequence seq)
public CertificatePolicies(DERObjectIdentifier p)
public CertificatePolicies(String p)
Method Detail |
---|
public static CertificatePolicies getInstance(ASN1TaggedObject obj, boolean explicit)
public static CertificatePolicies getInstance(Object obj)
public void addPolicy(String p)
public String getPolicy(int nr)
public DERObject toASN1Object()
certificatePolicies ::= SEQUENCE SIZE (1..MAX) OF PolicyInformation PolicyInformation ::= SEQUENCE { policyIdentifier CertPolicyId, policyQualifiers SEQUENCE SIZE (1..MAX) OF PolicyQualifierInfo OPTIONAL } CertPolicyId ::= OBJECT IDENTIFIER PolicyQualifierInfo ::= SEQUENCE { policyQualifierId PolicyQualifierId, qualifier ANY DEFINED BY policyQualifierId } PolicyQualifierId ::= OBJECT IDENTIFIER (id-qt-cps | id-qt-unotice)
toASN1Object
in class ASN1Encodable
public String toString()
toString
in class Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |