mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 18:43:34 +00:00
rebase: vendor files required for kmip
Signed-off-by: Rakshith R <rar@redhat.com>
This commit is contained in:
72
vendor/github.com/gemalto/kmip-go/managed_objects.go
generated
vendored
Normal file
72
vendor/github.com/gemalto/kmip-go/managed_objects.go
generated
vendored
Normal file
@ -0,0 +1,72 @@
|
||||
package kmip
|
||||
|
||||
import (
|
||||
"math/big"
|
||||
|
||||
"github.com/gemalto/kmip-go/kmip14"
|
||||
)
|
||||
|
||||
// 2.2
|
||||
|
||||
// 2.2.1
|
||||
|
||||
type Certificate struct {
|
||||
CertificateType kmip14.CertificateType
|
||||
CertificateValue []byte
|
||||
}
|
||||
|
||||
// 2.2.2
|
||||
|
||||
type SymmetricKey struct {
|
||||
KeyBlock KeyBlock
|
||||
}
|
||||
|
||||
// 2.2.3
|
||||
|
||||
type PublicKey struct {
|
||||
KeyBlock KeyBlock
|
||||
}
|
||||
|
||||
// 2.2.4
|
||||
|
||||
type PrivateKey struct {
|
||||
KeyBlock KeyBlock
|
||||
}
|
||||
|
||||
// 2.2.5
|
||||
|
||||
type SplitKey struct {
|
||||
SplitKeyParts int
|
||||
KeyPartIdentifier int
|
||||
SplitKeyThreshold int
|
||||
SplitKeyMethod kmip14.SplitKeyMethod
|
||||
PrimeFieldSize *big.Int `ttlv:",omitempty"`
|
||||
KeyBlock KeyBlock
|
||||
}
|
||||
|
||||
// 2.2.6
|
||||
|
||||
type Template struct {
|
||||
Attribute []Attribute
|
||||
}
|
||||
|
||||
// 2.2.7
|
||||
|
||||
type SecretData struct {
|
||||
SecretDataType kmip14.SecretDataType
|
||||
KeyBlock KeyBlock
|
||||
}
|
||||
|
||||
// 2.2.8
|
||||
|
||||
type OpaqueObject struct {
|
||||
OpaqueDataType kmip14.OpaqueDataType
|
||||
OpaqueDataValue []byte
|
||||
}
|
||||
|
||||
// 2.2.9
|
||||
|
||||
type PGPKey struct {
|
||||
PGPKeyVersion int
|
||||
KeyBlock KeyBlock
|
||||
}
|
Reference in New Issue
Block a user