public class UserNotice extends ASN1Encodable
UserNotice class, used in
CertificatePolicies X509 extensions (in policy
qualifiers).
UserNotice ::= SEQUENCE {
noticeRef NoticeReference OPTIONAL,
explicitText DisplayText OPTIONAL}
PolicyQualifierId,
PolicyInformationBER, 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,
String str)
Creates a new
UserNotice instance. |
| Modifier and Type | Method and Description |
|---|---|
DisplayText |
getExplicitText() |
NoticeReference |
getNoticeRef() |
DERObject |
toASN1Object() |
equals, getDEREncoded, getDERObject, getEncoded, getEncoded, hashCodepublic UserNotice(NoticeReference noticeRef, DisplayText explicitText)
UserNotice instance.noticeRef - a NoticeReference valueexplicitText - a DisplayText valuepublic UserNotice(NoticeReference noticeRef, 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 © 2015. All rights reserved.