Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


oracle.security.crypto.jce.cert
Class AttributeTypeAndValue

java.lang.Object
  extended by oracle.security.crypto.jce.cert.AttributeTypeAndValue

All Implemented Interfaces:
oracle.security.crypto.asn1.ASN1Object, oracle.security.crypto.util.Streamable

public class AttributeTypeAndValue
extends java.lang.Object
implements oracle.security.crypto.asn1.ASN1Object

Constructor Summary
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)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

AttributeTypeAndValue

public AttributeTypeAndValue(oracle.security.crypto.asn1.ASN1ObjectID type,
                             oracle.security.crypto.asn1.ASN1Object value)

AttributeTypeAndValue

public AttributeTypeAndValue(java.io.InputStream is)
                      throws java.io.IOException
Throws:
java.io.IOException

Method Detail

getType

public oracle.security.crypto.asn1.ASN1ObjectID getType()
Returns the type.
Returns:
the attribute type

getValue

public oracle.security.crypto.asn1.ASN1Object getValue()
Returns the value.
Returns:
the attribute value

input

public void input(java.io.InputStream is)
           throws java.io.IOException
Defines this attribute type-value pair by reading its encoding from the given input stream.
Specified by:
input in interface oracle.security.crypto.util.Streamable
Parameters:
is - the input stream
Throws:
java.io.IOException

output

public void output(java.io.OutputStream os)
            throws java.io.IOException
Specified by:
output in interface oracle.security.crypto.util.Streamable
Throws:
java.io.IOException

length

public int length()
Specified by:
length in interface oracle.security.crypto.util.Streamable

Skip navigation links

Oracle Security Developer Tools JCE Java API Reference
11g (11.1.1)

E10697-02


Copyright © 2005, 2009, Oracle. All rights reserved.