Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrHsmEncrypt = Error("hsm encrypt error")
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type EncryptionInformation ¶
type EncryptionInformation struct { IntegrityInformation IntegrityInformation `json:"integrityInformation"` KeyAccess []KeyAccess `json:"keyAccess"` Method EncryptionMethod `json:"method"` Policy string `json:"policy"` Type string `json:"type"` }
type EncryptionMethod ¶
type Integrity ¶
type Integrity interface {
Integrity() IntegrityInformation
}
type IntegrityInformation ¶
type IntegrityInformation struct { EncryptedSegmentSizeDefault int `json:"encryptedSegmentSizeDefault"` RootSignature RootSignature `json:"rootSignature"` SegmentHashAlg string `json:"segmentHashAlg"` SegmentSizeDefault int `json:"segmentSizeDefault"` Segments []Segments `json:"segments"` }
type KeyAccess ¶
type KeyAccess struct { EncryptedMetadata string `json:"encryptedMetadata,omitempty"` PolicyBinding string `json:"policyBinding,omitempty"` Protocol string `json:"protocol"` Type string `json:"type"` URL string `json:"url"` WrappedKey []byte `json:"wrappedKey,omitempty"` Header []byte `json:"header,omitempty"` Algorithm string `json:"algorithm,omitempty"` }
type RootSignature ¶
Click to show internal directories.
Click to hide internal directories.