|
|||||||||
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(java.lang.String p)
Deprecated. use an ASN1Sequence of PolicyInformation |
Method Summary | |
---|---|
void |
addPolicy(java.lang.String p)
|
static CertificatePolicies |
getInstance(ASN1TaggedObject obj,
boolean explicit)
Deprecated. use an ASN1Sequence of PolicyInformation |
static CertificatePolicies |
getInstance(java.lang.Object obj)
Deprecated. use an ASN1Sequence of PolicyInformation |
java.lang.String |
getPolicy(int nr)
|
DERObject |
toASN1Object()
Deprecated. use an ASN1Sequence of PolicyInformation |
java.lang.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(java.lang.String p)
Method Detail |
---|
public static CertificatePolicies getInstance(ASN1TaggedObject obj, boolean explicit)
public static CertificatePolicies getInstance(java.lang.Object obj)
public void addPolicy(java.lang.String p)
public java.lang.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 java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |