Documentation ¶
Index ¶
- Constants
- func Countersign(target cose.Sign1Message, hostport string, embedInSignature bool) ([]byte, error)
- func GetCountersignHeaders(hostport string) cose.Headers
- func ToBeSigned(target cose.Sign1Message, csHeaders cose.Headers) ([]byte, error)
- func Verify(countersignature cose.Sign1Message, target cose.Sign1Message) error
Constants ¶
View Source
const COSE_Countersignature0_header = int64(12)
View Source
const COSE_Countersignature_header = int64(11)
Variables ¶
This section is empty.
Functions ¶
func Countersign ¶
Using full COSE_Countersignature aka cose.Sign1Message
func GetCountersignHeaders ¶
func GetCountersignHeaders(hostport string) cose.Headers
func ToBeSigned ¶
ToBeSigned constructs Countersign_structure, computes and returns ToBeSigned.
Reference: https://datatracker.ietf.org/doc/html/rfc9338#section-3.3
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.