public class CertificateAlgorithmId
extends java.lang.Object
implements com.tencent.kona.sun.security.util.DerEncoder
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ALGORITHM
Identifier to be used with get, set, and delete methods.
|
static java.lang.String |
NAME |
| Constructor and Description |
|---|
CertificateAlgorithmId(com.tencent.kona.sun.security.x509.AlgorithmId algId)
Default constructor for the certificate attribute.
|
CertificateAlgorithmId(com.tencent.kona.sun.security.util.DerInputStream in)
Create the object, decoding the values from the passed DER stream.
|
CertificateAlgorithmId(java.io.InputStream in)
Create the object, decoding the values from the passed stream.
|
| Modifier and Type | Method and Description |
|---|---|
void |
encode(com.tencent.kona.sun.security.util.DerOutputStream out)
Encode the algorithm identifier in DER form to the stream.
|
com.tencent.kona.sun.security.x509.AlgorithmId |
getAlgId()
Get the AlgorithmId value.
|
java.lang.String |
toString()
Return the algorithm identifier as user readable string.
|
public static final java.lang.String NAME
public static final java.lang.String ALGORITHM
AlgorithmId,
Constant Field Valuespublic CertificateAlgorithmId(com.tencent.kona.sun.security.x509.AlgorithmId algId)
algId - the Algorithm identifierpublic CertificateAlgorithmId(com.tencent.kona.sun.security.util.DerInputStream in)
throws java.io.IOException
in - the DerInputStream to read the serial number from.java.io.IOException - on decoding errors.public CertificateAlgorithmId(java.io.InputStream in)
throws java.io.IOException
in - the InputStream to read the serial number 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.public com.tencent.kona.sun.security.x509.AlgorithmId getAlgId()
throws java.io.IOException
java.io.IOException