Top Description Fields Constructors Methods
org.bouncycastle.asn1.x509

public Class NoticeReference

extends ASN1Object
Class Inheritance
Imports
java.math.BigInteger, java.util.Enumeration, .Vector, org.bouncycastle.asn1.ASN1EncodableVector, .ASN1Integer, .ASN1Object, .ASN1Primitive, .ASN1Sequence, .DERSequence

NoticeReference class, used in CertificatePolicies X509 V3 extensions (in policy qualifiers).
 NoticeReference ::= SEQUENCE {
     organization     DisplayText,
     noticeNumbers    SEQUENCE OF INTEGER }

See Also
PolicyQualifierInfo, PolicyInformation

Field Summary

Modifier and TypeField and Description
private ASN1Sequence
private DisplayText

Constructor Summary

AccessConstructor and Description
public
NoticeReference(String
a String value
organization
,
Vector<E>
a Vector value
numbers
)

Creates a new NoticeReference instance.

public
NoticeReference(String
a String value
organization
,
ASN1EncodableVector
an ASN1EncodableVector value
noticeNumbers
)

Creates a new NoticeReference instance.

public
NoticeReference(DisplayText
displayText
organization
,
ASN1EncodableVector
an ASN1EncodableVector value
noticeNumbers
)

Creates a new NoticeReference instance.

private
NoticeReference(ASN1Sequence
an ASN1Sequence value obtained from either calling @{link toASN1Primitive()} for a NoticeReference instance or from parsing it from a DER-encoded stream.
as
)

Creates a new NoticeReference instance.

Method Summary

Modifier and TypeMethod and Description
private static ASN1EncodableVector
convertVector(Vector<E> numbers)

public static NoticeReference
public ASN1Integer[]
public DisplayText
public ASN1Primitive

Returns:

a ASN1Primitive value
toASN1Primitive
()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Describe toASN1Object method here.

Inherited from org.bouncycastle.asn1.ASN1Object:
encodeToencodeToequalsgetEncodedgetEncodedhasEncodedTagValuehashCode

Field Detail

noticeNumbersback to summary
private ASN1Sequence noticeNumbers
organizationback to summary
private DisplayText organization

Constructor Detail

NoticeReferenceback to summary
public NoticeReference(String organization, Vector<E> numbers)

Creates a new NoticeReference instance.

Parameters
organization:String

a String value

numbers:Vector<E>

a Vector value

NoticeReferenceback to summary
public NoticeReference(String organization, ASN1EncodableVector noticeNumbers)

Creates a new NoticeReference instance.

Parameters
organization:String

a String value

noticeNumbers:ASN1EncodableVector

an ASN1EncodableVector value

NoticeReferenceback to summary
public NoticeReference(DisplayText organization, ASN1EncodableVector noticeNumbers)

Creates a new NoticeReference instance.

Parameters
organization:DisplayText

displayText

noticeNumbers:ASN1EncodableVector

an ASN1EncodableVector value

NoticeReferenceback to summary
private NoticeReference(ASN1Sequence as)

Creates a new NoticeReference instance.

Useful for reconstructing a NoticeReference instance from its encodable/encoded form.

Parameters
as:ASN1Sequence

an ASN1Sequence value obtained from either calling @{link toASN1Primitive()} for a NoticeReference instance or from parsing it from a DER-encoded stream.

Method Detail

convertVectorback to summary
private static ASN1EncodableVector convertVector(Vector<E> numbers)
getInstanceback to summary
public static NoticeReference getInstance(Object as)
getNoticeNumbersback to summary
public ASN1Integer[] getNoticeNumbers()
getOrganizationback to summary
public DisplayText getOrganization()
toASN1Primitiveback to summary
public ASN1Primitive toASN1Primitive()

Implements abstract org.bouncycastle.asn1.ASN1Object.toASN1Primitive.

Implements org.bouncycastle.asn1.ASN1Encodable.toASN1Primitive.

Describe toASN1Object method here.

Returns:ASN1Primitive

a ASN1Primitive value