rsapkcs1v15

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package rsaoaep provides the RSAES-PKCS1-v1_5 key encryption algorithm.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() keymanage.Algorithm

Types

type Algorithm

type Algorithm struct{}

func (*Algorithm) NewKeyWrapper

func (alg *Algorithm) NewKeyWrapper(key keymanage.Key) keymanage.KeyWrapper

NewKeyWrapper implements github.com/shogo82148/goat/keymanage.Algorithm.

type KeyWrapper

type KeyWrapper struct {
	// contains filtered or unexported fields
}

func (*KeyWrapper) UnwrapKey

func (w *KeyWrapper) UnwrapKey(data []byte, opts any) ([]byte, error)

func (*KeyWrapper) WrapKey

func (w *KeyWrapper) WrapKey(cek []byte, opts any) ([]byte, error)

Jump to

Keyboard shortcuts

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