open-vault/vendor/github.com/oracle/oci-go-sdk/keymanagement/generated_key.go

36 lines
1.1 KiB
Go

// Copyright (c) 2016, 2018, 2019, Oracle and/or its affiliates. All rights reserved.
// Code generated. DO NOT EDIT.
// Key Management Service API
//
// API for managing and performing operations with keys and vaults.
//
package keymanagement
import (
"github.com/oracle/oci-go-sdk/common"
)
// GeneratedKey The representation of GeneratedKey
type GeneratedKey struct {
// The encrypted generated data encryption key.
Ciphertext *string `mandatory:"true" json:"ciphertext"`
// The plaintext generated data encryption key, a base64-encoded
// sequence of random bytes, which is included if the
// GenerateDataEncryptionKey request includes the "includePlaintextKey"
// parameter and sets its value to 'true'.
Plaintext *string `mandatory:"false" json:"plaintext"`
// The checksum of the plaintext generated data encryption key, which
// is included if the GenerateDataEncryptionKey request includes the
// "includePlaintextKey parameter and sets its value to 'true'.
PlaintextChecksum *string `mandatory:"false" json:"plaintextChecksum"`
}
func (m GeneratedKey) String() string {
return common.PointerString(m)
}