Documentation ¶
Index ¶
Constants ¶
View Source
const AuthLen = 10
Variables ¶
This section is empty.
Functions ¶
func DetachedToPB ¶
func DetachedToPB(ed *Detached) *experimental.EPICDetachedExtension
DetachedFromPB returns the protobuf representation of the detached Epic extension. All the authenticators must be of length AuthLen, otherwise no authenticator will be parsed at all.
Types ¶
type Detached ¶
type Detached struct { // The remaining 10 bytes of the hop entry MAC AuthHopEntry []byte // The remaining 10 bytes of the peer entry MACs AuthPeerEntries [][]byte }
func DetachedFromPB ¶
func DetachedFromPB(ext *experimental.EPICDetachedExtension) *Detached
DetachedFromPB returns the go-representation of the detached Epic extension. All the authenticators must be of length AuthLen, otherwise no authenticator will be parsed at all.
func (*Detached) DigestInput ¶
Click to show internal directories.
Click to hide internal directories.