public class UserNotice extends ASN1Object
UserNotice class, used in
CertificatePolicies X509 extensions (in policy
qualifiers).
UserNotice ::= SEQUENCE {
noticeRef NoticeReference OPTIONAL,
explicitText DisplayText OPTIONAL}
PolicyQualifierId,
PolicyInformation| Modifier and Type | Field and Description |
|---|---|
private DisplayText |
explicitText |
private NoticeReference |
noticeRef |
| Modifier | Constructor and Description |
|---|---|
private |
UserNotice(ASN1Sequence as)
Creates a new
UserNotice instance. |
|
UserNotice(NoticeReference noticeRef,
DisplayText explicitText)
Creates a new
UserNotice instance. |
|
UserNotice(NoticeReference noticeRef,
java.lang.String str)
Creates a new
UserNotice instance. |
| Modifier and Type | Method and Description |
|---|---|
DisplayText |
getExplicitText() |
static UserNotice |
getInstance(java.lang.Object obj) |
NoticeReference |
getNoticeRef() |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
equals, getEncoded, getEncoded, hasEncodedTagValue, hashCode, toASN1Objectprivate NoticeReference noticeRef
private DisplayText explicitText
public UserNotice(NoticeReference noticeRef, DisplayText explicitText)
UserNotice instance.noticeRef - a NoticeReference valueexplicitText - a DisplayText valuepublic UserNotice(NoticeReference noticeRef, java.lang.String str)
UserNotice instance.noticeRef - a NoticeReference valuestr - the explicitText field as a String.private UserNotice(ASN1Sequence as)
UserNotice instance.
Useful from reconstructing a UserNotice instance
from its encodable/encoded form.
as - an ASN1Sequence value obtained from either
calling @{link toASN1Primitive()} for a UserNotice
instance or from parsing it from a DER-encoded stream.public static UserNotice getInstance(java.lang.Object obj)
public NoticeReference getNoticeRef()
public DisplayText getExplicitText()
public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object