|
Oracle Fusion Middleware Crypto FIPS Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10696-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.security.crypto.asn1.ASN1ObjectID
public class ASN1ObjectID
The universal ASN.1 object identifier type.
The input may be any valid BER encoding of an ASN.1 object identifier. The output is always a DER encoding.
Constructor Summary | |
---|---|
ASN1ObjectID(ASN1ObjectID prefix, int suffix) |
|
ASN1ObjectID(ASN1ObjectID prefix, int[] suffix) |
|
ASN1ObjectID(java.io.InputStream is) |
|
ASN1ObjectID(int[] value) |
|
ASN1ObjectID(int[] prefix, int suffix) |
|
ASN1ObjectID(int[] prefix, int[] suffix) |
|
ASN1ObjectID(int[] prefix, int suffix1, int suffix2) |
|
ASN1ObjectID(int[] prefix, int suffix1, int suffix2, int suffix3) |
|
ASN1ObjectID(int[] prefix, int suffix1, int suffix2, int suffix3, int suffix4) |
|
ASN1ObjectID(java.lang.String s) Constructs an ASN.1 object identifier from a string of dot-separated numbers (for example, "1.2.3.4"). |
Method Summary | |
---|---|
boolean |
equals(int[] prefix, int suffix) |
boolean |
equals(int[] prefix, int[] suffix) |
boolean |
equals(int[] prefix, int suffix1, int suffix2) |
boolean |
equals(int[] prefix, int suffix1, int suffix2, int suffix3) |
boolean |
equals(int[] prefix, int suffix1, int suffix2, int suffix3, int suffix4) |
boolean |
equals(java.lang.Object o) |
byte[] |
getEncodedValue() |
ASN1Header |
getHeader() |
int[] |
getValue() Returns the sequence of integers which defines this ASN.1 object identifer. |
int |
hashCode() |
void |
input(java.io.InputStream is) Inputs this object from the specified input stream. |
static int[] |
inputValue(java.io.InputStream is) |
int |
length() Length of this object's encoding. |
void |
output(java.io.OutputStream os) Outputs this object to the specified output stream. |
static void |
outputValue(java.io.OutputStream os, int[] value) |
static void |
outputValueWithTag(java.io.OutputStream os, int[] value, int tag) |
int[] |
suffix(int[] p) If the given int array is a prefix of this object ID's value, returns that part of the value which occurs after the prefix. |
java.lang.String |
toString() Returns a text representation of this object. |
java.lang.String |
toStringCompact() |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ASN1ObjectID(int[] value)
public ASN1ObjectID(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public ASN1ObjectID(int[] prefix, int[] suffix)
public ASN1ObjectID(ASN1ObjectID prefix, int[] suffix)
public ASN1ObjectID(ASN1ObjectID prefix, int suffix)
public ASN1ObjectID(int[] prefix, int suffix)
public ASN1ObjectID(int[] prefix, int suffix1, int suffix2)
public ASN1ObjectID(int[] prefix, int suffix1, int suffix2, int suffix3)
public ASN1ObjectID(int[] prefix, int suffix1, int suffix2, int suffix3, int suffix4)
public ASN1ObjectID(java.lang.String s)
toStringCompact()
but not with the output of toString
.
InvalidFormatException
- If the string is not the correct formatMethod Detail |
---|
public ASN1Header getHeader()
getHeader
in interface ASN1TaggedObject
public int[] getValue()
public byte[] getEncodedValue()
public int[] suffix(int[] p)
int
array is a prefix of this object ID's value, returns that part of the value which occurs after the prefix. Otherwise returns null
.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean equals(int[] prefix, int[] suffix)
public boolean equals(int[] prefix, int suffix)
public boolean equals(int[] prefix, int suffix1, int suffix2)
public boolean equals(int[] prefix, int suffix1, int suffix2, int suffix3)
public boolean equals(int[] prefix, int suffix1, int suffix2, int suffix3, int suffix4)
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
ASN1ObjectID(String)
public java.lang.String toStringCompact()
public void input(java.io.InputStream is) throws java.io.IOException
Streamable
input
in interface Streamable
java.io.IOException
public static int[] inputValue(java.io.InputStream is) throws java.io.IOException
java.io.IOException
public void output(java.io.OutputStream os) throws java.io.IOException
Streamable
output
in interface Streamable
java.io.IOException
public int length()
Streamable
length
in interface Streamable
public static void outputValue(java.io.OutputStream os, int[] value) throws java.io.IOException
java.io.IOException
public static void outputValueWithTag(java.io.OutputStream os, int[] value, int tag) throws java.io.IOException
java.io.IOException
|
Oracle Fusion Middleware Crypto FIPS Java API Reference for Oracle Security Developer Tools 11g Release 1 (11.1.1) E10696-04 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |