| java.lang.Object org.apache.harmony.security.x509.ExtensionValue org.apache.harmony.security.x509.PolicyConstraints
PolicyConstraints | public class PolicyConstraints extends ExtensionValue (Code) | | The class encapsulates the ASN.1 DER encoding/decoding work
with PolicyConstraints 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):
PolicyConstraints ::= SEQUENCE {
requireExplicitPolicy [0] SkipCerts OPTIONAL,
inhibitPolicyMapping [1] SkipCerts OPTIONAL }
SkipCerts ::= INTEGER (0..MAX)
TODO: This class is not fully implemented.
See Also: org.apache.harmony.security.x509.GeneralSubtree See Also: org.apache.harmony.security.x509.GeneralName |
Field Summary | |
final public static ASN1Sequence | ASN1 X.509 PolicyConstraints encoder/decoder. |
Method Summary | |
public void | dumpValue(StringBuffer buffer, String prefix) Places the string representation of extension value
into the StringBuffer object. | public byte[] | getEncoded() Returns ASN.1 encoded form of this X.509 PolicyConstraints value. |
PolicyConstraints | public PolicyConstraints()(Code) | | TODO
|
PolicyConstraints | public PolicyConstraints(BigInteger requireExplicitPolicy, BigInteger inhibitPolicyMapping)(Code) | | TODO
requireExplicitPolicy: GeneralSubtrees inhibitPolicyMapping: GeneralSubtrees |
PolicyConstraints | public PolicyConstraints(int requireExplicitPolicy, int inhibitPolicyMapping)(Code) | | TODO
requireExplicitPolicy: GeneralSubtrees inhibitPolicyMapping: GeneralSubtrees |
dumpValue | public void dumpValue(StringBuffer buffer, String prefix)(Code) | | Places the string representation of extension value
into the StringBuffer object.
|
getEncoded | public byte[] getEncoded()(Code) | | Returns ASN.1 encoded form of this X.509 PolicyConstraints value.
a byte array containing ASN.1 encode form. |
Fields inherited from org.apache.harmony.security.x509.ExtensionValue | protected byte[] encoding(Code)(Java Doc)
|
|
|