parse

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2022 License: GPL-3.0 Imports: 9 Imported by: 1

Documentation

Overview

Package parse provides a unified parser for both Elliptic and Edwards Curves.

Lib is separated from rome's root due to import cycles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Private

func Private(pemPub []byte) (rome.PrivateKey, error)

Private takes input as a PEM encoded ASN.1 DER bytes private key

func PrivateASN1

func PrivateASN1(derBytes []byte) (rome.PrivateKey, error)

PrivateASN1 takes input as a ASN.1 DER bytes private key

func Public

func Public(pemPub []byte) (rome.PublicKey, error)

Public takes input as a PEM encoded ASN.1 DER bytes public key

func PublicASN1

func PublicASN1(derBytes []byte) (rome.PublicKey, error)

PublicASN1 takes input as a ASN.1 DER bytes public key

Types

This section is empty.

Jump to

Keyboard shortcuts

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