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
NoticeReferenceclass, used inCertificatePoliciesX509 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 newNoticeReferenceinstance.NoticeReference(java.lang.String organization, ASN1EncodableVector noticeNumbers)Creates a newNoticeReferenceinstance.NoticeReference(DisplayText organization, ASN1EncodableVector noticeNumbers)Creates a newNoticeReferenceinstance.
-
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()DescribetoASN1Objectmethod 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 newNoticeReferenceinstance.- Parameters:
organization- aStringvaluenumbers- aVectorvalue
-
NoticeReference
public NoticeReference(java.lang.String organization, ASN1EncodableVector noticeNumbers)Creates a newNoticeReferenceinstance.- Parameters:
organization- aStringvaluenoticeNumbers- anASN1EncodableVectorvalue
-
NoticeReference
public NoticeReference(DisplayText organization, ASN1EncodableVector noticeNumbers)
Creates a newNoticeReferenceinstance.- Parameters:
organization- displayTextnoticeNumbers- anASN1EncodableVectorvalue
-
-
Method Detail
-
getInstance
public static NoticeReference getInstance(java.lang.Object as)
-
getOrganization
public DisplayText getOrganization()
-
getNoticeNumbers
public ASN1Integer[] getNoticeNumbers()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
DescribetoASN1Objectmethod here.- Specified by:
toASN1Primitivein interfaceASN1Encodable- Specified by:
toASN1Primitivein classASN1Object- Returns:
- a
ASN1Primitivevalue
-
-