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
NoticeReference
class, used in
CertificatePolicies
X509 V3 extensions
(in policy qualifiers).
NoticeReference ::= SEQUENCE { organization DisplayText, noticeNumbers SEQUENCE OF INTEGER }
- See Also:
-
Field Summary
FieldsFields inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
BER, DER
-
Constructor Summary
ConstructorsConstructorDescriptionNoticeReference
(int displayTextType, String orgName, ASN1Sequence numbers) Creates a newNoticeReference
instance.NoticeReference
(String orgName, Vector numbers) Creates a newNoticeReference
instance.NoticeReference
(String orgName, ASN1Sequence numbers) Creates a newNoticeReference
instance.Creates a newNoticeReference
instance. -
Method Summary
Modifier and TypeMethodDescriptionstatic NoticeReference
getInstance
(Object as) DescribetoASN1Object
method here.Methods inherited from class org.gudy.bouncycastle.asn1.ASN1Encodable
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCode
-
Field Details
-
organization
-
noticeNumbers
-
-
Constructor Details
-
NoticeReference
Creates a newNoticeReference
instance.- Parameters:
orgName
- aString
valuenumbers
- aVector
value
-
NoticeReference
Creates a newNoticeReference
instance.- Parameters:
orgName
- aString
valuenumbers
- anASN1EncodableVector
value
-
NoticeReference
Creates a newNoticeReference
instance.- Parameters:
displayTextType
- anint
valueorgName
- aString
valuenumbers
- anASN1EncodableVector
value
-
NoticeReference
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 Details
-
getInstance
-
getOrganization
-
getNoticeNumbers
-
toASN1Object
DescribetoASN1Object
method here.- Specified by:
toASN1Object
in classASN1Encodable
- Returns:
- a
DERObject
value
-