org.bouncycastle.asn1.x509
Class NoticeReference
java.lang.Object
|
+--org.bouncycastle.asn1.ASN1Encodable
|
+--org.bouncycastle.asn1.x509.NoticeReference
- All Implemented Interfaces:
- DEREncodable
- public class NoticeReference
- extends ASN1Encodable
NoticeReference class, used in
CertificatePolicies X509 V3 extensions
(in policy qualifiers).
NoticeReference ::= SEQUENCE {
organization DisplayText,
noticeNumbers SEQUENCE OF INTEGER }
- See Also:
PolicyQualifierInfo,
PolicyInformation
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
NoticeReference
public NoticeReference(java.lang.String orgName,
java.util.Vector numbers)
- Creates a new
NoticeReference instance.
- Parameters:
orgName - a String valuenumbers - a Vector value
NoticeReference
public NoticeReference(java.lang.String orgName,
ASN1Sequence numbers)
- Creates a new
NoticeReference instance.
- Parameters:
orgName - a String valuenumbers - an ASN1EncodableVector value
NoticeReference
public NoticeReference(int displayTextType,
java.lang.String orgName,
ASN1Sequence numbers)
- Creates a new
NoticeReference instance.
- Parameters:
displayTextType - an int valueorgName - a String valuenumbers - an ASN1EncodableVector value
NoticeReference
public NoticeReference(ASN1Sequence as)
- Creates a new
NoticeReference instance.
Useful for reconstructing a NoticeReference
instance from its encodable/encoded form.
- Parameters:
as - an ASN1Sequence value obtained from either
calling @{link toASN1Object()} for a NoticeReference
instance or from parsing it from a DER-encoded stream.
getInstance
public static NoticeReference getInstance(java.lang.Object as)
toASN1Object
public DERObject toASN1Object()
- Describe
toASN1Object method here.
- Overrides:
toASN1Object in class ASN1Encodable
- Returns:
- a
DERObject value