Package org.apache.harmony.security.x509
Class GeneralSubtree
java.lang.Object
org.apache.harmony.security.x509.GeneralSubtree
public final class GeneralSubtree extends Object
The class encapsulates the ASN.1 DER encoding/decoding work
with the GeneralSubtree structure which is a part of X.509 certificate:
(as specified in RFC 3280 -
Internet X.509 Public Key Infrastructure.
Certificate and Certificate Revocation List (CRL) Profile.
http://www.ietf.org/rfc/rfc3280.txt):
GeneralSubtree ::= SEQUENCE {
base GeneralName,
minimum [0] BaseDistance DEFAULT 0,
maximum [1] BaseDistance OPTIONAL }
BaseDistance ::= INTEGER (0..MAX)
- See Also:
NameConstraints,GeneralName
-
Field Summary
Fields Modifier and Type Field Description static ASN1SequenceASN1ASN.1 DER X.509 GeneralSubtree encoder/decoder class. -
Constructor Summary
Constructors Constructor Description GeneralSubtree(GeneralName base, int minimum, int maximum) -
Method Summary
Modifier and Type Method Description voiddumpValue(StringBuilder sb, String prefix)GeneralNamegetBase()Returns the value of base field of the structure.byte[]getEncoded()Returns ASN.1 encoded form of this X.509 GeneralSubtree value.
-
Field Details
-
ASN1
ASN.1 DER X.509 GeneralSubtree encoder/decoder class.
-
-
Constructor Details
-
GeneralSubtree
-
-
Method Details
-
getBase
Returns the value of base field of the structure. -
getEncoded
public byte[] getEncoded()Returns ASN.1 encoded form of this X.509 GeneralSubtree value. -
dumpValue
-