Methods Summary |
---|
public boolean | equals(java.lang.Object o)
if ((o == null) || !(o instanceof DEREncodable))
{
return false;
}
DEREncodable other = (DEREncodable)o;
return this.getDERObject().equals(other.getDERObject());
|
public DERObject | getDERObject()
return this.toASN1Object();
|
public byte[] | getEncoded()
ByteArrayOutputStream bOut = new ByteArrayOutputStream();
ASN1OutputStream aOut = new ASN1OutputStream(bOut);
aOut.writeObject(this);
return bOut.toByteArray();
|
public int | hashCode()
return this.getDERObject().hashCode();
|
public abstract DERObject | toASN1Object()
|