keyconv

package
v1.2.13 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ByteSliceKey added in v1.1.0

func ByteSliceKey(dst, src interface{}) error

func ECDSAPrivateKey

func ECDSAPrivateKey(dst, src interface{}) error

ECDSAPrivateKey assigns src to dst, converting its type from a non-pointer to a pointer

func ECDSAPublicKey

func ECDSAPublicKey(dst, src interface{}) error

ECDSAPublicKey assigns src to dst, converting its type from a non-pointer to a pointer

func Ed25519PrivateKey added in v1.1.0

func Ed25519PrivateKey(dst, src interface{}) error

func Ed25519PublicKey added in v1.1.0

func Ed25519PublicKey(dst, src interface{}) error

func RSAPrivateKey

func RSAPrivateKey(dst, src interface{}) error

RSAPrivateKey assigns src to dst. `dst` should be a pointer to a rsa.PrivateKey. `src` may be rsa.PrivateKey, *rsa.PrivateKey, or a jwk.Key

func RSAPublicKey

func RSAPublicKey(dst, src interface{}) error

RSAPublicKey assigns src to dst `dst` should be a pointer to a non-zero rsa.PublicKey. `src` may be rsa.PublicKey, *rsa.PublicKey, or a jwk.Key

Types

This section is empty.

Jump to

Keyboard shortcuts

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