public abstract class DERObject extends Object
Base class for ASN.1 DER encoded objects.
| Modifier and Type | Field and Description |
|---|---|
static int |
NotTagged |
| Constructor and Description |
|---|
DERObject() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
derDecode(DERBuffer buf)
DER decode the object
|
abstract void |
derEncode(DERBuffer buf)
DER encode the object
|
int |
getTagNo()
Return the tag number
|
boolean |
isTagged()
Check if the object is tagged
|
void |
setTagNo(int tagNo)
Set the tag number
|
public static final int NotTagged
public final boolean isTagged()
public final int getTagNo()
public final void setTagNo(int tagNo)
tagNo - intpublic abstract void derEncode(DERBuffer buf) throws IOException
buf - DERBufferIOExceptionpublic abstract void derDecode(DERBuffer buf) throws IOException
buf - DERBufferIOExceptionCopyright © 2005–2015 Alfresco Software. All rights reserved.