format

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 22, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MessageAAD

type MessageAAD interface {
	Serializable
	EncryptionContext() suite.EncryptionContext
}

type MessageEDK

type MessageEDK interface {
	Serializable
	ProviderID() string
	ProviderInfo() string
	EncryptedDataKey() []byte
}

type MessageHeader

type MessageHeader interface {
	Serializable

	Type() suite.MessageType    // present only in V1
	Reserved() []byte           // present only in V1
	IVLength() int              // present only in V1
	AlgorithmSuiteData() []byte // present only in V2
	// contains filtered or unexported methods
}

type MessageHeaderAuth

type MessageHeaderAuth interface {
	Serializable
	AuthData() []byte
	IV() []byte // present only in V1
}

type Serializable

type Serializable interface {
	Len() int
	Bytes() []byte
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL