|
Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10674-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
public class AttributeTypeAndValue
An attribute type OID and a value defined by the OID, used in PKIX and PKCS protocols. Similar to Attribute, but an AttributeTypeAndValue must have only a single value.
The ASN.1 syntax is:
AttributeTypeAndValue ::= SEQUENCE {
type AttributeType OBJECT IDENTIFIER,
value AttributeValue ANY DEFINED BY type
}
| Constructor Summary | |
|---|---|
AttributeTypeAndValue()Creates a new, empty attribute type and value. |
|
AttributeTypeAndValue(oracle.security.crypto.asn1.ASN1ObjectID type, oracle.security.crypto.asn1.ASN1Object value) |
|
AttributeTypeAndValue(java.io.InputStream is) |
|
| Method Summary | |
|---|---|
oracle.security.crypto.asn1.ASN1ObjectID |
getType()Returns the type. |
oracle.security.crypto.asn1.ASN1Object |
getValue()Returns the value. |
void |
input(java.io.InputStream is)Defines this attribute type-value pair by reading its encoding from the given input stream. |
int |
length() |
void |
output(java.io.OutputStream os) |
void |
readExternal(java.io.ObjectInput is) |
void |
setValue(oracle.security.crypto.asn1.ASN1Object value)Sets the value. |
void |
writeExternal(java.io.ObjectOutput os) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AttributeTypeAndValue()
public AttributeTypeAndValue(oracle.security.crypto.asn1.ASN1ObjectID type,
oracle.security.crypto.asn1.ASN1Object value)
public AttributeTypeAndValue(java.io.InputStream is)
throws java.io.IOException
java.io.IOException| Method Detail |
|---|
public oracle.security.crypto.asn1.ASN1ObjectID getType()
public oracle.security.crypto.asn1.ASN1Object getValue()
public void setValue(oracle.security.crypto.asn1.ASN1Object value)
public void input(java.io.InputStream is)
throws java.io.IOException
input in interface oracle.security.crypto.util.Streamableis - the input streamjava.io.IOException
public void output(java.io.OutputStream os)
throws java.io.IOException
output in interface oracle.security.crypto.util.Streamablejava.io.IOExceptionpublic int length()
length in interface oracle.security.crypto.util.Streamable
public void writeExternal(java.io.ObjectOutput os)
throws java.io.IOException
writeExternal in interface java.io.Externalizablejava.io.IOException
public void readExternal(java.io.ObjectInput is)
throws java.io.IOException,
java.lang.ClassNotFoundException
readExternal in interface java.io.Externalizablejava.io.IOExceptionjava.lang.ClassNotFoundException
|
Oracle Fusion Middleware Security Engine Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10674-04 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||