platformpolicy

package
v0.9.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2019 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustNormalizePublicKey added in v0.9.0

func MustNormalizePublicKey(b []byte) string

MustNormalizePublicKey parses public key in PEM format, returns normalized (stable) public key value. Panics on error.

func MustPublicKeyToBytes added in v0.9.0

func MustPublicKeyToBytes(key crypto.PublicKey) []byte

MustPublicKeyToBytes returns byte representation of public key. Panics on error.

func MustPublicKeyToString added in v0.9.0

func MustPublicKeyToString(key crypto.PublicKey) string

MustPublicKeyToString returns string representation of public key. Panics on error.

func NewKeyProcessor

func NewKeyProcessor() insolar.KeyProcessor

func NewPlatformCryptographyScheme

func NewPlatformCryptographyScheme() insolar.PlatformCryptographyScheme

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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