security

package
v0.0.0-...-15d4781 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2019 License: ISC Imports: 6 Imported by: 0

Documentation

Overview

Package security implements the Security Command Set

Index

Constants

View Source
const PublicKeyTag = 0x7F49

PublicKeyTag is the common tag used for public key objects

Variables

This section is empty.

Functions

func ParseECDSAPublicKey

func ParseECDSAPublicKey(curve elliptic.Curve, buf []byte) (*ecdsa.PublicKey, error)

ParseECDSAPublicKey parses an ECDSA public key body

func ParseRSAPublicKey

func ParseRSAPublicKey(buf []byte) (*rsa.PublicKey, error)

ParseRSAPublicKey parses an RSA public key body

Types

This section is empty.

Jump to

Keyboard shortcuts

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