net.named_data.jndn.encoding.der
DerNode.DerBitString, DerNode.DerBoolean, DerNode.DerByteString, DerNode.DerGeneralizedTime, DerNode.DerInteger, DerNode.DerNull, DerNode.DerOctetString, DerNode.DerOid, DerNode.DerPrintableString, DerNode.DerSequence, DerNode.DerStructure| Constructor and Description |
|---|
DerNode.DerInteger() |
DerNode.DerInteger(ByteBuffer buffer)
Create a new DerInteger from the bytes in the buffer.
|
DerNode.DerInteger(int integer)
Create a new DerInteger for the value.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
toVal()
Convert the encoded data to a standard representation.
|
decode, decodeHeader, encode, encodeHeader, getChildren, getPayload, getSequence, getSize, parse, parsepublic DerNode.DerInteger(int integer)
throws DerEncodingException
integer - The value to encode.DerEncodingExceptionpublic DerNode.DerInteger(ByteBuffer buffer) throws DerEncodingException
buffer - The buffer containing the bytes of the integer. This
copies from the buffer's position to limit, but does not change position.DerEncodingException - if the first byte is not less than 0x80.public DerNode.DerInteger()
public Object toVal() throws DerDecodingException
DerNodetoVal in class DerNodeDerDecodingExceptionCopyright © 2016. All rights reserved.