public abstract class DERObject
extends java.lang.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 java.io.IOException
buf
- DERBufferjava.io.IOException
public abstract void derDecode(DERBuffer buf) throws java.io.IOException
buf
- DERBufferjava.io.IOException
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.