(publicKeyPath, privateKeyPath string)
| 26 | } |
| 27 | |
| 28 | func 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 |
| 36 | func (d *FileKeyReader) PublicKey(keyName string, keyMeta map[string]string) (*EncryptionKeyInfo, error) { |
no outgoing calls
searching dependent graphs…