| java.lang.Object org.apache.harmony.security.x509.GeneralSubtree
GeneralSubtree | public class GeneralSubtree (Code) | | 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: org.apache.harmony.security.x509.NameConstraints See Also: org.apache.harmony.security.x509.GeneralName |
Field Summary | |
final public static ASN1Sequence | ASN1 ASN.1 DER X.509 GeneralSubtree encoder/decoder class. |
Method Summary | |
public void | dumpValue(StringBuffer buffer, String prefix) Places the string representation of extension value
into the StringBuffer object. | public GeneralName | getBase() Returns the value of base field of the structure. | public byte[] | getEncoded() Returns ASN.1 encoded form of this X.509 GeneralSubtree value. | public int | getMaximum() Returns the value of maximum field of the structure. | public int | getMinimum() Returns the value of minimum field of the structure. |
ASN1 | final public static ASN1Sequence ASN1(Code) | | ASN.1 DER X.509 GeneralSubtree encoder/decoder class.
|
GeneralSubtree | public GeneralSubtree(GeneralName base, int minimum)(Code) | | TODO
base: GeneralName minimum: int |
GeneralSubtree | public GeneralSubtree(GeneralName base, int minimum, int maximum)(Code) | | TODO
base: GeneralName minimum: int maximum: int |
dumpValue | public void dumpValue(StringBuffer buffer, String prefix)(Code) | | Places the string representation of extension value
into the StringBuffer object.
|
getBase | public GeneralName getBase()(Code) | | Returns the value of base field of the structure.
base |
getEncoded | public byte[] getEncoded()(Code) | | Returns ASN.1 encoded form of this X.509 GeneralSubtree value.
a byte array containing ASN.1 encode form. |
getMaximum | public int getMaximum()(Code) | | Returns the value of maximum field of the structure.
maximum |
getMinimum | public int getMinimum()(Code) | | Returns the value of minimum field of the structure.
minimum |
|
|