rsa_helper

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodeAndParsePKIXPublicKey

func DecodeAndParsePKIXPublicKey(rsaPublicKey string) (*rsa.PublicKey, error)

DecodeAndParsePKIXPublicKey takes an RSA public key, decodes it and parses it as PKIX.

func GenerateRSAPublicKeyPem

func GenerateRSAPublicKeyPem() (string, error)

GenerateRSAPublicKeyPem generates a new random RSA public key marshalled to a PKIX pem.

Types

This section is empty.

Jump to

Keyboard shortcuts

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