insecure

package
v1.2.1-0...-14d4d41 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2018 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package insecure provides functions that create KeysetHandle from cleartext key material.

This package contains dangerous functions, and is separate from the rest of Tink so that its usage can be restricted and audited.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeysetHandle

func KeysetHandle(ks *tinkpb.Keyset) (*tink.KeysetHandle, error)

KeysetHandle creates a new instance of KeysetHandle using the given keyset.

func KeysetHandleFromSerializedProto

func KeysetHandleFromSerializedProto(serialized []byte) (*tink.KeysetHandle, error)

KeysetHandleFromSerializedProto creates a new instance of KeysetHandle from the given serialized keyset proto.

Types

This section is empty.

Jump to

Keyboard shortcuts

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