Struct: kms.GenerateDataKeyPairWithoutPlaintextOutput

import "../ibm-cos-sdk-go/service/kms"

Implemented Interfaces

s3crypto.Cipher, s3manager.ReadSeekerWriteTo, s3manager.WriterReadFrom

Structure Field Summary collapse

Service Operations collapse

Structure Field Details

KeyId *string `min:"1" type:"string"`

The Amazon Resource Name (key ARN (docs.aws.amazon.com/kms/latest/developerguide/concepts.html#key-id-key-ARN)) of the KMS key that encrypted the private key.

KeyPairSpec *string `type:"string" enum:"DataKeyPairSpec"`

The type of data key pair that was generated.

PrivateKeyCiphertextBlob []byte `min:"1" type:"blob"`

The encrypted copy of the private key. When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. PrivateKeyCiphertextBlob is automatically base64 encoded/decoded by the SDK.

PublicKey []byte `min:"1" type:"blob"`

The public key (in plaintext). When you use the HTTP API or the Amazon Web Services CLI, the value is Base64-encoded. Otherwise, it is not Base64-encoded. PublicKey is automatically base64 encoded/decoded by the SDK.

_ struct{} `type:"structure"`

Method Details

func (s GenerateDataKeyPairWithoutPlaintextOutput) GoString() string

GoString returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



11995
11996
11997
// File 'service/kms/api.go', line 11995

func (s GenerateDataKeyPairWithoutPlaintextOutput) GoString() string { return s.String() }

func (s *GenerateDataKeyPairWithoutPlaintextOutput) SetKeyId(v string) *GenerateDataKeyPairWithoutPlaintextOutput

SetKeyId sets the KeyId field's value.



12000
12001
12002
12003
// File 'service/kms/api.go', line 12000

func (s *GenerateDataKeyPairWithoutPlaintextOutput) SetKeyPairSpec(v string) *GenerateDataKeyPairWithoutPlaintextOutput

SetKeyPairSpec sets the KeyPairSpec field's value.



12006
12007
12008
12009
// File 'service/kms/api.go', line 12006

func (s *GenerateDataKeyPairWithoutPlaintextOutput) SetPrivateKeyCiphertextBlob(v []byte) *GenerateDataKeyPairWithoutPlaintextOutput

SetPrivateKeyCiphertextBlob sets the PrivateKeyCiphertextBlob field's value.



12012
12013
12014
12015
// File 'service/kms/api.go', line 12012

func (s *GenerateDataKeyPairWithoutPlaintextOutput) SetPublicKey(v []byte) *GenerateDataKeyPairWithoutPlaintextOutput

SetPublicKey sets the PublicKey field's value.



12018
12019
12020
12021
// File 'service/kms/api.go', line 12018

func (s GenerateDataKeyPairWithoutPlaintextOutput) String() string

String returns the string representation.

API parameter values that are decorated as “sensitive” in the API will not be included in the string output. The member name will be present, but the value will be replaced with “sensitive”.



11986
11987
11988
// File 'service/kms/api.go', line 11986

func (s GenerateDataKeyPairWithoutPlaintextOutput) String() string { return awsutil.Prettify(s) }