public class CertificateSubjectName
extends java.lang.Object
implements com.tencent.kona.sun.security.util.DerEncoder
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
CertificateSubjectName(com.tencent.kona.sun.security.util.DerInputStream in)
Create the object, decoding the values from the passed DER stream.
|
CertificateSubjectName(java.io.InputStream in)
Create the object, decoding the values from the passed stream.
|
CertificateSubjectName(X500Name name)
Default constructor for the certificate attribute.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(com.tencent.kona.sun.security.util.DerOutputStream out)
Encode the name in DER form to the stream.
|
java.lang.String |
toString()
Return the name as user readable string.
|
public static final java.lang.String NAME
public CertificateSubjectName(X500Name name)
name - the X500Namepublic CertificateSubjectName(com.tencent.kona.sun.security.util.DerInputStream in)
throws java.io.IOException
in - the DerInputStream to read the X500Name from.java.io.IOException - on decoding errors.public CertificateSubjectName(java.io.InputStream in)
throws java.io.IOException
in - the InputStream to read the X500Name from.java.io.IOException - on decoding errors.public java.lang.String toString()
toString in class java.lang.Objectpublic void encode(com.tencent.kona.sun.security.util.DerOutputStream out)
encode in interface com.tencent.kona.sun.security.util.DerEncoderout - the DerOutputStream to marshal the contents to.