api

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2016 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyManagementServer

type KeyManagementServer struct {
	CryptoServices signer.CryptoServiceIndex
}

KeyManagementServer implements the KeyManagementServer grpc interface

func (*KeyManagementServer) CreateKey

CreateKey returns a PublicKey created using KeyManagementServer's SigningService

func (*KeyManagementServer) DeleteKey

func (s *KeyManagementServer) DeleteKey(ctx context.Context, keyID *pb.KeyID) (*pb.Void, error)

DeleteKey deletes they key associated with a KeyID

func (*KeyManagementServer) GetKeyInfo

func (s *KeyManagementServer) GetKeyInfo(ctx context.Context, keyID *pb.KeyID) (*pb.GetKeyInfoResponse, error)

GetKeyInfo returns they PublicKey associated with a KeyID

type SignerServer

type SignerServer struct {
	CryptoServices signer.CryptoServiceIndex
}

SignerServer implements the SignerServer grpc interface

func (*SignerServer) Sign

Sign signs a message and returns the signature using a private key associate with the KeyID from the SignatureRequest

Jump to

Keyboard shortcuts

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