public class

UserNotice

extends ASN1Encodable
java.lang.Object
   ↳ org.bouncycastle.asn1.ASN1Encodable
     ↳ org.bouncycastle.asn1.x509.UserNotice

Class Overview

UserNotice class, used in CertificatePolicies X509 extensions (in policy qualifiers).

 UserNotice ::= SEQUENCE {
      noticeRef        NoticeReference OPTIONAL,
      explicitText     DisplayText OPTIONAL}

 

Summary

[Expand]
Inherited Constants
From class org.bouncycastle.asn1.ASN1Encodable
Public Constructors
UserNotice(NoticeReference noticeRef, DisplayText explicitText)
Creates a new UserNotice instance.
UserNotice(NoticeReference noticeRef, String str)
Creates a new UserNotice instance.
UserNotice(ASN1Sequence as)
Creates a new UserNotice instance.
Public Methods
DisplayText getExplicitText()
NoticeReference getNoticeRef()
DERObject toASN1Object()
[Expand]
Inherited Methods
From class org.bouncycastle.asn1.ASN1Encodable
From class java.lang.Object
From interface org.bouncycastle.asn1.DEREncodable

Public Constructors

public UserNotice (NoticeReference noticeRef, DisplayText explicitText)

Creates a new UserNotice instance.

Parameters
noticeRef a NoticeReference value
explicitText a DisplayText value

public UserNotice (NoticeReference noticeRef, String str)

Creates a new UserNotice instance.

Parameters
noticeRef a NoticeReference value
str the explicitText field as a String.

public UserNotice (ASN1Sequence as)

Creates a new UserNotice instance.

Useful from reconstructing a UserNotice instance from its encodable/encoded form.

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

Public Methods

public DisplayText getExplicitText ()

public NoticeReference getNoticeRef ()

public DERObject toASN1Object ()