Package org.apache.harmony.security.x509
Class ExtensionValue
java.lang.Object
org.apache.harmony.security.x509.ExtensionValue
- Direct Known Subclasses:
AlternativeName,AuthorityKeyIdentifier,BasicConstraints,CertificateIssuer,CertificatePolicies,CRLDistributionPoints,CRLNumber,ExtendedKeyUsage,InfoAccessSyntax,InhibitAnyPolicy,InvalidityDate,IssuingDistributionPoint,KeyUsage,NameConstraints,PolicyConstraints,ReasonCode,SubjectKeyIdentifier
public class ExtensionValue extends Object
Base class for extension value structures.
-
Field Summary
Fields Modifier and Type Field Description protected byte[]encodingEncoded form of the extension. -
Constructor Summary
Constructors Constructor Description ExtensionValue()Default constructor.ExtensionValue(byte[] encoding)Creates the object on the base of its encoded form. -
Method Summary
Modifier and Type Method Description voiddumpValue(StringBuilder sb)voiddumpValue(StringBuilder sb, String prefix)byte[]getEncoded()Returns encoded form of the object.
-
Field Details
-
encoding
protected byte[] encodingEncoded form of the extension.
-
-
Constructor Details
-
ExtensionValue
public ExtensionValue()Default constructor. -
ExtensionValue
public ExtensionValue(byte[] encoding)Creates the object on the base of its encoded form.
-
-
Method Details
-
getEncoded
public byte[] getEncoded()Returns encoded form of the object. -
dumpValue
-
dumpValue
-