public class DERInteger extends DERObject
Constructor and Description |
---|
DERInteger()
Default constructor
|
DERInteger(int val)
Class constructor
|
DERInteger(long val)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
void |
derDecode(DERBuffer buf)
Decode the object
|
void |
derEncode(DERBuffer buf)
Encode the object
|
long |
getValue()
Return the long value
|
int |
intValue()
Return the integer value
|
String |
toString()
Return the integer as a string
|
public DERInteger()
public DERInteger(int val)
val
- intpublic DERInteger(long val)
val
- longpublic final long getValue()
public final int intValue()
public void derDecode(DERBuffer buf) throws IOException
derDecode
in class DERObject
buf
- DERBufferIOException
public void derEncode(DERBuffer buf) throws IOException
derEncode
in class DERObject
buf
- DERBufferIOException
Copyright © 2005–2018 Alfresco Software. All rights reserved.