|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
oracle.security.crypto.cert.AttributeTypeAndValue
oracle.security.crypto.cmp.attribute.RegistrationControl
oracle.security.crypto.cmp.attribute.PKIPubInfoRegControl
public class PKIPubInfoRegControl
CRMF PKI publication information registration control.
| Nested Class Summary | |
|---|---|
static class |
PKIPubInfoRegControl.ActionPKI publication actions. |
static class |
PKIPubInfoRegControl.MethodPKI publication methods, if Action is PLEASE_PUBLISH. |
| Field Summary |
|---|
| Fields inherited from class oracle.security.crypto.cmp.attribute.RegistrationControl |
|---|
decoded, encoded |
| Constructor Summary | |
|---|---|
PKIPubInfoRegControl()Creates a new, empty PKIPubInfoRegControl instance. |
|
PKIPubInfoRegControl(java.io.InputStream is) |
|
PKIPubInfoRegControl(PKIPubInfoRegControl.Action action)Creates a new PKIPubInfoRegControl instance with the specified PKIPubInfoRegControl.Action. |
|
PKIPubInfoRegControl(PKIPubInfoRegControl.Action action, PKIPubInfoRegControl.Method pubMethod, oracle.security.crypto.cert.GeneralName pubLocation)Creates a new PKIPubInfoRegControl instance with the specified PKIPubInfoRegControl.Action and single publication method/location. |
|
| Method Summary | |
|---|---|
void |
addPubInfo(PKIPubInfoRegControl.Method pubMethod, oracle.security.crypto.cert.GeneralName pubLocation)Defines a new publication location for the specified Method. |
protected void |
decodeValue()Decodes the superclass AttributeTypeAndValue's ASN1Object value to populate this control's fields. |
protected void |
encodeValue()Encodes this control's fields as an ASN1Object for the superclass AttributeTypeAndValue's value. |
PKIPubInfoRegControl.Action |
getAction() |
java.util.Vector |
getPubLocations(PKIPubInfoRegControl.Method pubMethod)Returns a vector of all locations for the specified Method if it has been defined, otherwise returns null. |
boolean |
hasPubMethod(PKIPubInfoRegControl.Method pubMethod)Returns true if this PKIPubInfoRegControl has the specified PKIPubInfoRegControl.Method defined. |
java.util.Enumeration |
pubMethods() |
| Methods inherited from class oracle.security.crypto.cmp.attribute.RegistrationControl |
|---|
input, inputInstance, length, output, setValue |
| Methods inherited from class oracle.security.crypto.cert.AttributeTypeAndValue |
|---|
getType, getValue, readExternal, writeExternal |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PKIPubInfoRegControl()
PKIPubInfoRegControl instance. Note, the created object is not valid, and is intended primarily for use in conjunction with the RegistrationControl.input(java.io.InputStream) method.public PKIPubInfoRegControl(PKIPubInfoRegControl.Action action)
PKIPubInfoRegControl instance with the specified PKIPubInfoRegControl.Action.
public PKIPubInfoRegControl(PKIPubInfoRegControl.Action action,
PKIPubInfoRegControl.Method pubMethod,
oracle.security.crypto.cert.GeneralName pubLocation)
PKIPubInfoRegControl instance with the specified PKIPubInfoRegControl.Action and single publication method/location.
action - PKIPubInfoRegControl.Action.DONT_PUBLISH or PKIPubInfoRegControl.Action.PLEASE_PUBLISHpubMethod - PKIPubInfoRegControl.Method.DONT_CARE, PKIPubInfoRegControl.Method.X500, PKIPubInfoRegControl.Method.WEB, or PKIPubInfoRegControl.Method.LDAP.pubLocation - The GeneralName location for the given method (may be null).
public PKIPubInfoRegControl(java.io.InputStream is)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public void addPubInfo(PKIPubInfoRegControl.Method pubMethod,
oracle.security.crypto.cert.GeneralName pubLocation)
Method.pubMethod - The publication method.pubLocation - The publication location for the given method (may be null).public PKIPubInfoRegControl.Action getAction()
public boolean hasPubMethod(PKIPubInfoRegControl.Method pubMethod)
PKIPubInfoRegControl has the specified PKIPubInfoRegControl.Method defined.public java.util.Enumeration pubMethods()
public java.util.Vector getPubLocations(PKIPubInfoRegControl.Method pubMethod)
Method if it has been defined, otherwise returns null.GeneralNames.protected void encodeValue()
RegistrationControlASN1Object for the superclass AttributeTypeAndValue's value.
Subclasses must override this method to properly test and set the RegistrationControl.encoded field, and invoke the superclass RegistrationControl.setValue(oracle.security.crypto.asn1.ASN1Object) method to set the encoded structure.
encodeValue in class RegistrationControlprotected void decodeValue()
RegistrationControlAttributeTypeAndValue's ASN1Object value to populate this control's fields.
Subclasses must override this method to invoke the superclass AttributeTypeAndValue.getValue() method to get the structure to decode, and properly test and set the RegistrationControl.decoded field.
decodeValue in class RegistrationControl
|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||