Documentation ¶ Index ¶ func BuildJWK(keyBytes []byte, kt kms.KeyType) (*jwk.JWK, error) func CreateKID(keyBytes []byte, kt kms.KeyType) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func BuildJWK ¶ func BuildJWK(keyBytes []byte, kt kms.KeyType) (*jwk.JWK, error) BuildJWK builds a go jose JWK from keyBytes with key type kt. func CreateKID ¶ func CreateKID(keyBytes []byte, kt kms.KeyType) (string, error) CreateKID creates a KID value based on the marshalled keyBytes of type kt. This function should be called for asymmetric public keys only (ECDSA DER or IEEE-P1363, ED25519, X25519, BLS12381G2). returns: base64 raw (no padding) URL encoded KID error in case of error Types ¶ This section is empty. Source Files ¶ View all Source files kid_creator.go Click to show internal directories. Click to hide internal directories.