public class UserNotice extends ASN1Encodable
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 |
BER, DER| Constructor and Description |
|---|
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() |
NoticeReference |
getNoticeRef() |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodeprivate 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.public 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 toASN1Object()} for a UserNotice
instance or from parsing it from a DER-encoded stream.public NoticeReference getNoticeRef()
public DisplayText getExplicitText()
public DERObject toASN1Object()
toASN1Object in class ASN1EncodableCopyright © 1998-2014 Gamma Technologies. All Rights Reserved.