Documentation ¶
Overview ¶
Package keymodels provides primitives to interact with the openapi HTTP API.
Code generated by github.com/deepmap/oapi-codegen/v2 version v2.0.0 DO NOT EDIT.
Index ¶
- type CreateKeyPolicyRequest
- type JsonWebKey
- type JsonWebKeyCurveName
- type JsonWebKeyOperation
- type JsonWebKeySpec
- type JsonWebKeyType
- type JsonWebSignatureAlgorithm
- type Key
- type KeyFields
- type KeyPolicy
- type KeyPolicyFields
- type KeyPolicyResponse
- type KeyRef
- type KeyRefFields
- type KeyRefsResponse
- type KeyResponse
- type KeyStatus
- type OneTimeKey
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateKeyPolicyRequest ¶
type CreateKeyPolicyRequest struct { DisplayName string `json:"displayName,omitempty"` ExpiryTime string `json:"expiryTime,omitempty"` Exportable *bool `json:"exportable,omitempty"` // KeySpec these attributes should mostly confirm to JWK (RFC7517) KeySpec *JsonWebKeySpec `json:"keySpec,omitempty"` }
CreateKeyPolicyRequest defines model for CreateKeyPolicyRequest.
type JsonWebKeyCurveName ¶
type JsonWebKeyCurveName = cloudkey.JsonWebKeyCurveName
JsonWebKeyCurveName defines model for JsonWebKeyCurveName.
type JsonWebKeyOperation ¶
type JsonWebKeyOperation = cloudkey.JsonWebKeyOperation
JsonWebKeyOperation defines model for JsonWebKeyOperation.
type JsonWebKeySpec ¶
type JsonWebKeySpec struct { Alg string `json:"alg,omitempty"` Crv JsonWebKeyCurveName `json:"crv,omitempty"` Extractable *bool `json:"ext,omitempty"` KeyOperations []JsonWebKeyOperation `json:"key_ops,omitempty"` KeySize *int `json:"key_size,omitempty"` Kty JsonWebKeyType `json:"kty,omitempty"` }
JsonWebKeySpec these attributes should mostly confirm to JWK (RFC7517)
func (*JsonWebKeySpec) Digest ¶
func (jwkspec *JsonWebKeySpec) Digest(w io.Writer)
type JsonWebKeyType ¶
type JsonWebKeyType = cloudkey.JsonWebKeyType
JsonWebKeyType defines model for JsonWebKeyType.
type JsonWebSignatureAlgorithm ¶
type JsonWebSignatureAlgorithm = cloudkey.JsonWebSignatureAlgorithm
JsonWebSignatureAlgorithm defines model for JsonWebSignatureAlgorithm.
type KeyFields ¶
type KeyFields struct { Identififier string `json:"identififier"` Jwk JsonWebKey `json:"jwk"` Nbf *externalRef0.NumericDate `json:"nbf,omitempty"` // Sid Key Vault Secret ID KeyVaultSecretID string `json:"sid,omitempty"` }
KeyFields defines model for KeyFields.
type KeyPolicyFields ¶
type KeyPolicyFields struct { ExpiryTime string `json:"expiryTime,omitempty"` // KeySpec these attributes should mostly confirm to JWK (RFC7517) KeySpec JsonWebKeySpec `json:"keySpec"` }
KeyPolicyFields defines model for KeyPolicyFields.
type KeyPolicyResponse ¶
type KeyPolicyResponse = KeyPolicy
KeyPolicyResponse defines model for KeyPolicyResponse.
type KeyRefFields ¶
type KeyRefFields struct { Exp *externalRef0.NumericDate `json:"exp,omitempty"` Iat externalRef0.NumericDate `json:"iat"` PolicyIdentifier string `json:"policyIdentifier"` Status KeyStatus `json:"status"` }
KeyRefFields defines model for KeyRefFields.
type KeyRefsResponse ¶
type KeyRefsResponse = []KeyRef
KeyRefsResponse defines model for KeyRefsResponse.
type OneTimeKey ¶
type OneTimeKey struct { Exp externalRef0.NumericDate `json:"exp"` Iat externalRef0.NumericDate `json:"iat"` Jwk JsonWebKey `json:"jwk"` }
OneTimeKey OneTimeKey