Rsa

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Apr 19, 2024 License: MIT Imports: 4 Imported by: 8

Documentation

Overview

package Rsa provides helpers for creating rsa leys

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReadPrivate

func ReadPrivate(raw []byte) (key *rsa.PrivateKey, err error)

ReadPrivate loads rsa.PrivateKey from PKCS1 or PKCS8 blobs

func ReadPublic

func ReadPublic(raw []byte) (key *rsa.PublicKey, err error)

ReadPublic loads rsa.PublicKey from PKIX or PKCS1 X509 blobs

Types

This section is empty.

Jump to

Keyboard shortcuts

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