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
All Methods Instance Methods Concrete Methods 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 Detail
-
ASN1
public static final ASN1Sequence ASN1
ASN.1 DER X.509 GeneralSubtree encoder/decoder class.
-
-
Constructor Detail
-
GeneralSubtree
public GeneralSubtree(GeneralName base, int minimum, int maximum)
-
-
Method Detail
-
getBase
public GeneralName 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
public void dumpValue(StringBuilder sb, String prefix)
-
-