key

package
v0.10.1-alpha.7 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the Apache v2.0 license.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAESKey

func CreateAESKey(bits common.KeySize) (key []byte, err error)

func CreateRSAKey

func CreateRSAKey(random io.Reader, bits common.KeySize, key *PublicPrivateKey) (err error)

Types

type PublicPrivateKey

type PublicPrivateKey struct {
	PublicKey  []byte
	PrivateKey []byte
}

Jump to

Keyboard shortcuts

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