Package org.bouncycastle.asn1.x509
Class NoticeReference
- java.lang.Object
-
- org.bouncycastle.asn1.ASN1Object
-
- org.bouncycastle.asn1.x509.NoticeReference
-
- All Implemented Interfaces:
ASN1Encodable,Encodable
public class NoticeReference extends ASN1Object
NoticeReference class, used in CertificatePolicies X509 V3 extensions (in policy qualifiers). NoticeReference ::= SEQUENCE { organization DisplayText, noticeNumbers SEQUENCE OF INTEGER }- See Also:
PolicyQualifierInfo,PolicyInformation
-
-
Constructor Summary
Constructors Constructor Description NoticeReference(java.lang.String organization, java.util.Vector numbers)Creates a new NoticeReference instance.NoticeReference(java.lang.String organization, ASN1EncodableVector noticeNumbers)Creates a new NoticeReference instance.NoticeReference(DisplayText organization, ASN1EncodableVector noticeNumbers)Creates a new NoticeReference instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoticeReferencegetInstance(java.lang.Object as)ASN1Integer[]getNoticeNumbers()DisplayTextgetOrganization()ASN1PrimitivetoASN1Primitive()Describe toASN1Object method here.-
Methods inherited from class org.bouncycastle.asn1.ASN1Object
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode
-
-
-
-
Constructor Detail
-
NoticeReference
public NoticeReference(java.lang.String organization, java.util.Vector numbers)Creates a new NoticeReference instance.- Parameters:
organization- a String valuenumbers- a Vector value
-
NoticeReference
public NoticeReference(java.lang.String organization, ASN1EncodableVector noticeNumbers)Creates a new NoticeReference instance.- Parameters:
organization- a String valuenoticeNumbers- an ASN1EncodableVector value
-
NoticeReference
public NoticeReference(DisplayText organization, ASN1EncodableVector noticeNumbers)
Creates a new NoticeReference instance.- Parameters:
organization- displayTextnoticeNumbers- an ASN1EncodableVector value
-
-
Method Detail
-
getInstance
public static NoticeReference getInstance(java.lang.Object as)
-
getOrganization
public DisplayText getOrganization()
-
getNoticeNumbers
public ASN1Integer[] getNoticeNumbers()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
Describe toASN1Object method here.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a ASN1Primitive value
-
-