Documentation ¶
Index ¶
- type Enveloper
- func (this *Enveloper) CreateEnvelopCompletely() error
- func (this *Enveloper) CreateMetadata() *Metadata
- func (this *Enveloper) EncryptKey() ([]byte, error)
- func (this *Enveloper) SignPayload() ([]byte, error)
- func (this *Enveloper) WriteEncryptedKey(z *zip.Writer) error
- func (this *Enveloper) WriteMetadata(z *zip.Writer) error
- func (this *Enveloper) WritePayload(z *zip.Writer) error
- func (this *Enveloper) WriteToWriter(w io.Writer) error
- type Metadata
- type Payload
- type PublicKeyEncryptor
- type Signer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Enveloper ¶
type Enveloper struct { EncryptedKey []byte Signature []byte Metadata *Metadata // contains filtered or unexported fields }
func NewEnveloper ¶
func NewEnveloper(publicKeyEncryptor PublicKeyEncryptor, payload Payload, signer Signer) *Enveloper
func (*Enveloper) CreateEnvelopCompletely ¶
func (*Enveloper) CreateMetadata ¶
func (*Enveloper) EncryptKey ¶
func (*Enveloper) SignPayload ¶
type PublicKeyEncryptor ¶
Click to show internal directories.
Click to hide internal directories.