public class EstIdentityLinking extends ASN1Object
estIdentityLinking attribute: an unambiguous replacement for the
overloaded PKCS#9 challengePassword attribute when used to convey
the tls-unique value linking the certificate request to the
authenticated TLS session per
RFC 7030 §3.5.
estIdentityLinking ATTRIBUTE ::= {
WITH SYNTAX DirectoryString {ub-aa-est-identity-linking}
EQUALITY MATCHING RULE caseExactMatch
SINGLE VALUE TRUE
ID id-aa-estIdentityLinking
}
ub-aa-est-identity-linking INTEGER ::= 255
Identified by PKCSObjectIdentifiers.id_aa_estIdentityLinking.| Constructor and Description |
|---|
EstIdentityLinking(DirectoryString value) |
EstIdentityLinking(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
static EstIdentityLinking |
fromAttribute(Attribute attribute)
Extract the
estIdentityLinking value carried by a PKCS#9 Attribute. |
protected ASN1ObjectIdentifier |
getAttrType()
The attribute-type OID for this RFC 7894 attribute.
|
static EstIdentityLinking |
getInstance(java.lang.Object obj) |
java.lang.String |
getString()
Return the value as a Java
String, decoded from whichever
underlying DirectoryString encoding was used. |
DirectoryString |
getValue()
Return the value as a
DirectoryString. |
ASN1Primitive |
toASN1Primitive()
Method providing a primitive representation of this object suitable for encoding.
|
Attribute |
toAttribute()
Wrap this value in a PKCS#9
Attribute carrying the RFC 7894 OID,
ready for inclusion in a CertificationRequest's
attributes set (or in a CSR-Attributes response). |
encodeTo, encodeTo, equals, getEncoded, getEncoded, hasEncodedTagValue, hashCodepublic EstIdentityLinking(java.lang.String value)
public EstIdentityLinking(DirectoryString value)
public static EstIdentityLinking getInstance(java.lang.Object obj)
public static EstIdentityLinking fromAttribute(Attribute attribute)
estIdentityLinking value carried by a PKCS#9 Attribute.java.lang.IllegalArgumentException - if the attribute is not
PKCSObjectIdentifiers.id_aa_estIdentityLinking or does not
carry exactly one value.protected ASN1ObjectIdentifier getAttrType()
toAttribute() to wrap the value in a PKCS#9 Attribute.public DirectoryString getValue()
DirectoryString.public java.lang.String getString()
String, decoded from whichever
underlying DirectoryString encoding was used.public Attribute toAttribute()
Attribute carrying the RFC 7894 OID,
ready for inclusion in a CertificationRequest's
attributes set (or in a CSR-Attributes response).Attribute of the form (oid, {value}).public ASN1Primitive toASN1Primitive()
ASN1ObjecttoASN1Primitive in interface ASN1EncodabletoASN1Primitive in class ASN1Object