|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-03 |
||||||||
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.RegistrationInfo
oracle.security.crypto.cmp.attribute.UTF8PairsRegInfo
public class UTF8PairsRegInfo
CRMF registration info containing UTF8 string pairs.
Field Summary |
---|
Fields inherited from class oracle.security.crypto.cmp.attribute.RegistrationInfo |
---|
decoded, encoded |
Constructor Summary | |
---|---|
UTF8PairsRegInfo() |
|
UTF8PairsRegInfo(oracle.security.crypto.asn1.ASN1String value) |
|
UTF8PairsRegInfo(java.io.InputStream is) |
|
UTF8PairsRegInfo(java.lang.String name, java.lang.String value) |
Method Summary | |
---|---|
java.lang.String |
addPair(java.util.Date notBefore, java.util.Date notAfter) Adds a "validity" name/value pair to this UTF8PairsRegInfo . |
java.lang.String |
addPair(java.lang.String name, oracle.security.crypto.cert.GeneralName value) Adds the given name/value pair to this UTF8PairsRegInfo , where the value is a GeneralName . |
java.lang.String |
addPair(java.lang.String name, java.lang.String value) Adds the given name/value pair to this UTF8PairsRegInfo . |
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. |
java.lang.String |
getValue(java.lang.String name) Returns the value for the given name, or null if none has been defined. |
java.util.Enumeration |
names() Returns an enumeration of the names for which values have been defined. |
Methods inherited from class oracle.security.crypto.cmp.attribute.RegistrationInfo |
---|
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 UTF8PairsRegInfo()
public UTF8PairsRegInfo(java.lang.String name, java.lang.String value)
public UTF8PairsRegInfo(oracle.security.crypto.asn1.ASN1String value)
public UTF8PairsRegInfo(java.io.InputStream is) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public java.lang.String addPair(java.lang.String name, java.lang.String value)
UTF8PairsRegInfo
.null
if none was defined.public java.lang.String addPair(java.lang.String name, oracle.security.crypto.cert.GeneralName value)
UTF8PairsRegInfo
, where the value is a GeneralName
. This method is recommended for use with the names "issuerName"
and "subjectName"
.
The underlying form of the GeneralName
is examined and the appropriate ID character is prepended to the value string:
"X"
for X500 directory name form"O"
for Other name form"E"
for E-mail address (rfc822name) name form"D"
for DNS name form"U"
for URI name form"I"
for IP addresspublic java.lang.String addPair(java.util.Date notBefore, java.util.Date notAfter)
UTF8PairsRegInfo
.
Dates are formatted "YYYYMMDDHHMMSS". Either date argument may be null
. The validity period value is formatted validity?notBefore-notAfter".
notBefore
- The UTC date before which the certificate is invalid.notAfter
- The UTC date after which the certificate is invalid.public java.lang.String getValue(java.lang.String name)
null
if none has been defined.public java.util.Enumeration names()
protected void encodeValue()
RegistrationInfo
ASN1Object
for the superclass AttributeTypeAndValue
's value.
Subclasses must override this method to properly test and set the RegistrationInfo.encoded
field, and invoke the superclass RegistrationInfo.setValue(oracle.security.crypto.asn1.ASN1Object)
method to set the encoded structure.
encodeValue
in class RegistrationInfo
protected void decodeValue()
RegistrationInfo
AttributeTypeAndValue
'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 RegistrationInfo.decoded
field.
decodeValue
in class RegistrationInfo
|
Oracle Fusion Middleware PKI SDK CMP Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10666-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |