| java.lang.Object org.apache.harmony.security.x509.ExtensionValue org.apache.harmony.security.x509.BasicConstraints
BasicConstraints | public class BasicConstraints extends ExtensionValue (Code) | | Basic Constraints Extension (OID == 2.5.29.19).
The ASN.1 definition for Basic Constraints Extension is:
id-ce-basicConstraints OBJECT IDENTIFIER ::= { id-ce 19 }
BasicConstraints ::= SEQUENCE {
cA BOOLEAN DEFAULT FALSE,
pathLenConstraint INTEGER (0..MAX) OPTIONAL
}
(as specified in RFC 3280)
|
Field Summary | |
final public static ASN1Type | ASN1 ASN.1 Encoder/Decoder. |
Constructor Summary | |
public | BasicConstraints(boolean cA, int pathLenConstraint) Creates the extension object on the base of the values of
fields of the structure.. | public | BasicConstraints(byte[] encoding) Creates the extension object on the base of its encoded form. |
BasicConstraints | public BasicConstraints(boolean cA, int pathLenConstraint)(Code) | | Creates the extension object on the base of the values of
fields of the structure..
|
BasicConstraints | public BasicConstraints(byte[] encoding) throws IOException(Code) | | Creates the extension object on the base of its encoded form.
|
dumpValue | public void dumpValue(StringBuffer buffer, String prefix)(Code) | | Places the string representation of extension value
into the StringBuffer object.
|
getCA | public boolean getCA()(Code) | | |
getEncoded | public byte[] getEncoded()(Code) | | Returns the encoded form of the object.
|
getPathLenConstraint | public int getPathLenConstraint()(Code) | | |
Fields inherited from org.apache.harmony.security.x509.ExtensionValue | protected byte[] encoding(Code)(Java Doc)
|
|
|