certstore

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2021 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCertIfNeeded

func GetCertIfNeeded(s *msp.SerializedIdentity) *msp.SerializedIdentity

GetCertIfNeeded sets certificate to identity unless it exists

func RemoveCertIfCached

func RemoveCertIfCached(identityBytes []byte) []byte

RemoveCertIfCached removes certificate from identity if it exists in store

func StoreCertsFromEnvelope

func StoreCertsFromEnvelope(payload []byte)

StoreCertsFromEnvelope extracts all certificates from envelope and stores them

func StoreFromTransientMap

func StoreFromTransientMap(p []byte)

StoreFromTransientMap stores certificate from TransientMap to temporary cache

Types

This section is empty.

Jump to

Keyboard shortcuts

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