public class DEROctetString extends DERObject
Constructor and Description |
---|
DEROctetString()
Default constructor
|
DEROctetString(byte[] byts)
Class constructor
|
DEROctetString(String str)
Class constructor
|
Modifier and Type | Method and Description |
---|---|
String |
asString()
Return as a string
|
void |
derDecode(DERBuffer buf)
DER decode the object
|
void |
derEncode(DERBuffer buf)
DER encode the object
|
byte[] |
getValue()
Return the string bytes
|
String |
toString()
Return the string details as a string
|
public DEROctetString()
public DEROctetString(byte[] byts)
byts
- byte[]public DEROctetString(String str)
str
- Stringpublic byte[] getValue()
public final String asString()
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–2017 Alfresco Software. All rights reserved.