| 
 | Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
   oracle.security.crypto.cert.X509Extension
oracle.security.crypto.cert.X509Extension
       oracle.security.crypto.cert.ext.PolicyConstraintsExtension
oracle.security.crypto.cert.ext.PolicyConstraintsExtension
Represents the Policy Constraints certificate extension from RFC 2459. At least one of the two fields, requireExplicitPolicy and inhibitPolicyMapping, must be preset for the extension to be valid.
| Field Summary | 
| Fields inherited from class oracle.security.crypto.cert.X509Extension | 
| id_netscape_ce, id_netscape_ce_type, id_set_ce, id_set_ce_type, isDecoded | 
| Constructor Summary | |
| PolicyConstraintsExtension()Create a new extension with the appropriate OID type. | |
| PolicyConstraintsExtension(java.math.BigInteger requireExplicit, java.math.BigInteger inhibitMapping)Creates a new extension with the specified values for requireExplicitPolicy and inhibitPolicyMapping. | |
| PolicyConstraintsExtension(java.math.BigInteger requireExplicit, java.math.BigInteger inhibitMapping, boolean critical)Creates a new extension with the specified values for requireExplicitPolicy and inhibitPolicyMapping, and the given critical flag. | |
| PolicyConstraintsExtension(java.io.InputStream is) | |
| Method Summary | |
| java.math.BigInteger | getInhibitPolicyMapping()Gets the value for inhibitPolicyMapping, or nullif not defined for this extension. | 
| java.math.BigInteger | getRequireExplicitPolicy()Gets the value for requireExplicitPolicy, or nullif not defined for this extension. | 
| java.lang.String | toString()Returns a string representation of this object. | 
| Methods inherited from class oracle.security.crypto.cert.X509Extension | 
| getASN1Value, getCritical, getID, getType, getValue, input, inputInstance, isRecognized, length, output, setCritical, setValue | 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
public PolicyConstraintsExtension()
Note: An object created using this constructor may not be in a valid state. This constructor is intended primarily for use in conjunction with the X509Extension.input(java.io.InputStream) method.
public PolicyConstraintsExtension(java.math.BigInteger requireExplicit,
                                  java.math.BigInteger inhibitMapping)
requireExplicit - The number of additional certificates that may appear in the path before an explicit policy is required.inhibitMapping - The number of additional certificates that may appear in the path before policy mapping is no longer permitted.
public PolicyConstraintsExtension(java.math.BigInteger requireExplicit,
                                  java.math.BigInteger inhibitMapping,
                                  boolean critical)
requireExplicit - The number of additional certificates that may appear in the path before an explicit policy is required (may be null).inhibitMapping - The number of additional certificates that may appear in the path before policy mapping is no longer permitted (may be null).critical - true if this extension is critical, false otherwise.
public PolicyConstraintsExtension(java.io.InputStream is)
                           throws java.io.IOException
| Method Detail | 
public java.math.BigInteger getRequireExplicitPolicy()
null if not defined for this extension.public java.math.BigInteger getInhibitPolicyMapping()
null if not defined for this extension.public java.lang.String toString()
X509ExtensiontoString in class X509Extension| 
 | Oracle Security Developer Tools Security Engine Java API Reference 10g Release 2 (10.1.2.0.2) B15569-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||