|
Bouncy Castle Cryptography 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.bouncycastle.asn1.ASN1Object
public abstract class ASN1Object
Constructor Summary | |
---|---|
ASN1Object()
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object o)
|
byte[] |
getEncoded()
Return the default BER or DER encoding for this object. |
byte[] |
getEncoded(java.lang.String encoding)
Return either the default for "BER" or a DER encoding if "DER" is specified. |
protected static boolean |
hasEncodedTagValue(java.lang.Object obj,
int tagValue)
|
int |
hashCode()
|
ASN1Primitive |
toASN1Object()
Deprecated. use toASN1Primitive() |
abstract ASN1Primitive |
toASN1Primitive()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ASN1Object()
Method Detail |
---|
public byte[] getEncoded() throws java.io.IOException
java.io.IOException
- on encoding error.public byte[] getEncoded(java.lang.String encoding) throws java.io.IOException
encoding
- name of encoding to use.
java.io.IOException
- on encoding error.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public ASN1Primitive toASN1Object()
protected static boolean hasEncodedTagValue(java.lang.Object obj, int tagValue)
public abstract ASN1Primitive toASN1Primitive()
toASN1Primitive
in interface ASN1Encodable
|
Bouncy Castle Cryptography 1.49 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |