Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JWSNodeSignature ¶
type JWSNodeSignature struct { }
type NodeKey ¶
type NodeKey interface { // Sign bytes with Node Key, return signature Sign(content []byte) (*NodeSignature, error) // Verify Signature Verify(signature []byte) bool }
type NodeSignature ¶
func NodeSignatureFromJWS ¶
func NodeSignatureFromJWS(jws *jwt.Token) (*NodeSignature, error)
func NodeSignatureFromJWSEncoded ¶
func NodeSignatureFromJWSEncoded(encodedJws string) (*NodeSignature, error)
Click to show internal directories.
Click to hide internal directories.