-
Notifications
You must be signed in to change notification settings - Fork 70
/
j_w_s_key.go
24 lines (18 loc) · 1.15 KB
/
j_w_s_key.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Copyright 2021 VMware, Inc.
// SPDX-License-Identifier: Apache License 2.0
package models
// This file is auto-generated.
// JWSKey j w s key
// swagger:model JWSKey
type JWSKey struct {
// Algorithm that need to be used while signing/validation, allowed values HS256, HS384, HS512. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Alg *string `json:"alg,omitempty"`
// Secret JWK for signing/validation, length of the key varies depending upon the type of algorithm used for key generation {HS256 32 bytes, HS384 48bytes, HS512 64 bytes}. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Required: true
Key *string `json:"key"`
// Unique key id across all keys. Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
// Required: true
Kid *string `json:"kid"`
// Secret key type/format, allowed value octet(oct). Field introduced in 20.1.6. Allowed in Enterprise edition with any value, Enterprise with Cloud Services edition.
Kty *string `json:"kty,omitempty"`
}