Package org.apache.harmony.security.x509
Class GeneralSubtrees
- java.lang.Object
-
- org.apache.harmony.security.x509.GeneralSubtrees
-
public final class GeneralSubtrees extends Object
The class encapsulates the ASN.1 DER encoding/decoding work with the GeneralSubtrees 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):GeneralSubtrees ::= SEQUENCE SIZE (1..MAX) OF GeneralSubtree
- See Also:
NameConstraints,GeneralSubtree
-
-
Constructor Summary
Constructors Constructor Description GeneralSubtrees(List<GeneralSubtree> generalSubtrees)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description byte[]getEncoded()Returns ASN.1 encoded form of this X.509 AlgorithmIdentifier value.List<GeneralSubtree>getSubtrees()Returns the list of values of subtrees.
-
-
-
Field Detail
-
ASN1
public static final ASN1Type ASN1
ASN.1 DER X.509 GeneralSubtrees encoder/decoder class.
-
-
Constructor Detail
-
GeneralSubtrees
public GeneralSubtrees(List<GeneralSubtree> generalSubtrees)
-
-
Method Detail
-
getSubtrees
public List<GeneralSubtree> getSubtrees()
Returns the list of values of subtrees.
-
getEncoded
public byte[] getEncoded()
Returns ASN.1 encoded form of this X.509 AlgorithmIdentifier value.
-
-