MCPcopy Create free account
hub / github.com/apache/pulsar-client-go / NewFileKeyReader

Function NewFileKeyReader

pulsar/crypto/default_crypto_Key_reader.go:28–33  ·  view source on GitHub ↗
(publicKeyPath, privateKeyPath string)

Source from the content-addressed store, hash-verified

26}
27
28func NewFileKeyReader(publicKeyPath, privateKeyPath string) *FileKeyReader {
29 return &FileKeyReader{
30 publicKeyPath: publicKeyPath,
31 privateKeyPath: privateKeyPath,
32 }
33}
34
35// PublicKey read public key from the given path
36func (d *FileKeyReader) PublicKey(keyName string, keyMeta map[string]string) (*EncryptionKeyInfo, error) {

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…