public abstract class DERObject extends Object implements DEREncodable
Modifier and Type | Field and Description |
---|---|
protected int |
tag |
protected byte[] |
value |
Modifier | Constructor and Description |
---|---|
protected |
DERObject(int tag,
byte[] value)
Basic DERObject constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
encode(ASN1OutputStream out) |
boolean |
equals(Object o)
Two DERObjects are equal if their underlying byte arrays are equal.
|
int |
hashCode()
Fast rotate left and XOR hashcode generator.
|
protected DERObject(int tag, byte[] value)
public void encode(ASN1OutputStream out) throws IOException
encode
in interface DEREncodable
IOException
public int hashCode()
Copyright © 2003–2014 The Apache Software Foundation. All rights reserved.