Package org.gudy.bouncycastle.asn1.x509
Class NoticeReference
- java.lang.Object
-
- org.gudy.bouncycastle.asn1.ASN1Encodable
-
- org.gudy.bouncycastle.asn1.x509.NoticeReference
-
- All Implemented Interfaces:
DEREncodable
public class NoticeReference extends ASN1Encodable
NoticeReference
class, used inCertificatePolicies
X509 V3 extensions (in policy qualifiers).NoticeReference ::= SEQUENCE { organization DisplayText, noticeNumbers SEQUENCE OF INTEGER }
- See Also:
PolicyQualifierInfo
,PolicyInformation
-
-
Field Summary
Fields Modifier and Type Field Description private ASN1Sequence
noticeNumbers
private DisplayText
organization
-
Fields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
-
Constructor Summary
Constructors Constructor Description NoticeReference(int displayTextType, java.lang.String orgName, ASN1Sequence numbers)
Creates a newNoticeReference
instance.NoticeReference(java.lang.String orgName, java.util.Vector numbers)
Creates a newNoticeReference
instance.NoticeReference(java.lang.String orgName, ASN1Sequence numbers)
Creates a newNoticeReference
instance.NoticeReference(ASN1Sequence as)
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)
ASN1Sequence
getNoticeNumbers()
DisplayText
getOrganization()
DERObject
toASN1Object()
DescribetoASN1Object
method here.-
Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
-
-
-
Field Detail
-
organization
private DisplayText organization
-
noticeNumbers
private ASN1Sequence noticeNumbers
-
-
Constructor Detail
-
NoticeReference
public NoticeReference(java.lang.String orgName, java.util.Vector numbers)
Creates a newNoticeReference
instance.- Parameters:
orgName
- aString
valuenumbers
- aVector
value
-
NoticeReference
public NoticeReference(java.lang.String orgName, ASN1Sequence numbers)
Creates a newNoticeReference
instance.- Parameters:
orgName
- aString
valuenumbers
- anASN1EncodableVector
value
-
NoticeReference
public NoticeReference(int displayTextType, java.lang.String orgName, ASN1Sequence numbers)
Creates a newNoticeReference
instance.- Parameters:
displayTextType
- anint
valueorgName
- aString
valuenumbers
- anASN1EncodableVector
value
-
NoticeReference
public NoticeReference(ASN1Sequence as)
Creates a newNoticeReference
instance.Useful for reconstructing a
NoticeReference
instance from its encodable/encoded form.- Parameters:
as
- anASN1Sequence
value obtained from either calling @{link toASN1Object()} for aNoticeReference
instance or from parsing it from a DER-encoded stream.
-
-
Method Detail
-
getInstance
public static NoticeReference getInstance(java.lang.Object as)
-
getOrganization
public DisplayText getOrganization()
-
getNoticeNumbers
public ASN1Sequence getNoticeNumbers()
-
toASN1Object
public DERObject toASN1Object()
DescribetoASN1Object
method here.- Specified by:
toASN1Object
in classASN1Encodable
- Returns:
- a
DERObject
value
-
-