public interface LispSignature
LISP signature format is defined in draft-ietf-lisp-ddt-09. https://tools.ietf.org/html/draft-ietf-lisp-ddt-09#page-14
0 1 2 3
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/| Original Record TTL |
/ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
/ | Signature Expiration |
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
s | Signature Inception |
i +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
g | Key Tag | Sig Length |
| +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
\ | Sig-Algorithm | Reserved | Reserved |
\ +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
\ ~ Signature ~
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Modifier and Type | Interface and Description |
|---|---|
static interface |
LispSignature.SignatureBuilder
A builder for LISP signature.
|
| Modifier and Type | Method and Description |
|---|---|
short |
getKeyTag()
Obtains key tag.
|
int |
getRecordTtl()
Obtains record TTL value.
|
byte |
getSigAlgorithm()
Obtains signature algorithm.
|
int |
getSigExpiration()
Obtains signature expiration.
|
int |
getSigInception()
Obtains signature inception.
|
short |
getSigLength()
Obtains signature length.
|
int |
getSignature()
Obtains signature.
|
void |
writeTo(io.netty.buffer.ByteBuf byteBuf)
Writes LISP object into communication channel.
|
int getRecordTtl()
int getSigExpiration()
int getSigInception()
short getKeyTag()
short getSigLength()
byte getSigAlgorithm()
int getSignature()
void writeTo(io.netty.buffer.ByteBuf byteBuf)
throws LispWriterException
byteBuf - byte bufferLispWriterException - on error