Crypter incapsulates specific of cypher method Includes keys, infrastructure information etc
| 26 | // Crypter incapsulates specific of cypher method |
| 27 | // Includes keys, infrastructure information etc |
| 28 | type Crypter struct { |
| 29 | enveloper envelope.Enveloper |
| 30 | encryptedKey *envelope.EncryptedKey |
| 31 | |
| 32 | ArmoredKey string |
| 33 | IsUseArmoredKey bool |
| 34 | |
| 35 | ArmoredKeyPath string |
| 36 | IsUseArmoredKeyPath bool |
| 37 | |
| 38 | mutex sync.RWMutex |
| 39 | } |
| 40 | |
| 41 | func (crypter *Crypter) Name() string { |
| 42 | parts := []string{"Enveloped", crypter.enveloper.Name(), "Opengpg", "Crypter"} |
nothing calls this directly
no outgoing calls
no test coverage detected