public abstract class AbstractDERType extends Object
Constructor and Description |
---|
AbstractDERType(DERTag tag)
Creates a new abstract der type.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
encode(byte[]... items)
DER encode the supplied items with the tag associated with this type.
|
static byte[] |
readBuffer(ByteBuffer encoded)
Returns a byte array containing the bytes from
Buffer.limit() to Buffer.position() . |
public AbstractDERType(DERTag tag)
tag
- to encode for this typeprotected byte[] encode(byte[]... items)
items
- to encodepublic static byte[] readBuffer(ByteBuffer encoded)
Buffer.limit()
to Buffer.position()
.encoded
- to read bytes fromCopyright © 2018. All rights reserved.