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 inCertificatePolicies
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 newNoticeReference
instance.NoticeReference(java.lang.String organization, ASN1EncodableVector noticeNumbers)
Creates a newNoticeReference
instance.NoticeReference(DisplayText organization, ASN1EncodableVector noticeNumbers)
Creates a newNoticeReference
instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NoticeReference
getInstance(java.lang.Object as)
ASN1Integer[]
getNoticeNumbers()
DisplayText
getOrganization()
ASN1Primitive
toASN1Primitive()
DescribetoASN1Object
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 newNoticeReference
instance.- Parameters:
organization
- aString
valuenumbers
- aVector
value
-
NoticeReference
public NoticeReference(java.lang.String organization, ASN1EncodableVector noticeNumbers)
Creates a newNoticeReference
instance.- Parameters:
organization
- aString
valuenoticeNumbers
- anASN1EncodableVector
value
-
NoticeReference
public NoticeReference(DisplayText organization, ASN1EncodableVector noticeNumbers)
Creates a newNoticeReference
instance.- Parameters:
organization
- displayTextnoticeNumbers
- anASN1EncodableVector
value
-
-
Method Detail
-
getInstance
public static NoticeReference getInstance(java.lang.Object as)
-
getOrganization
public DisplayText getOrganization()
-
getNoticeNumbers
public ASN1Integer[] getNoticeNumbers()
-
toASN1Primitive
public ASN1Primitive toASN1Primitive()
DescribetoASN1Object
method here.- Specified by:
toASN1Primitive
in interfaceASN1Encodable
- Specified by:
toASN1Primitive
in classASN1Object
- Returns:
- a
ASN1Primitive
value
-
-