| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public byte[] | Returns: BER/DER byte encoded object.Implements org. |
| public byte[] | Returns: byte encoded object.name of encoding to use. encoding)Return either the default for "BER" or a DER encoding if "DER" is specified. |
| protected static boolean | Returns: true if obj is a byte encoding starting with the given tag value, false otherwise.object of interest. obj, int tag value to check for. tagValue)Return true if obj is a byte array and represents an object with the given tag value. |
| public int | |
| public abstract ASN1Primitive | Returns: a primitive representation of this object.Redeclares org. |
| ASN1Object | back to summary |
|---|---|
| public ASN1Object() | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() throws IOException Implements org. Return the default BER or DER encoding for this object.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded(String encoding) throws IOException Return either the default for "BER" or a DER encoding if "DER" is specified.
| |
| hasEncodedTagValue | back to summary |
|---|---|
| protected static boolean hasEncodedTagValue(Object obj, int tagValue) Return true if obj is a byte array and represents an object with the given tag value.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| toASN1Primitive | back to summary |
|---|---|
| public abstract ASN1Primitive toASN1Primitive() Redeclares org. Method providing a primitive representation of this object suitable for encoding.
| |