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, parse
public DerNode.DerInteger(int integer) throws DerEncodingException
integer
- The value to encode.DerEncodingException
public 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
DerNode
toVal
in class DerNode
DerDecodingException
Copyright © 2016. All rights reserved.