add signcryption methods to the keyrings (#109)
* add signcryption methods to the keyrings * added signing and verifying keyrings * added nil checks * added unit test for signcrypt * updated changelog * switched the keyrings in the api * update the error messages * changed the names of the keyRing variable
This commit is contained in:
parent
a42d48a203
commit
e0deea82a3
3 changed files with 64 additions and 1 deletions
|
|
@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
|
|||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
||||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [Unreleased]
|
||||
### Added
|
||||
- Methods for generating an verifying encrypted detached signatures
|
||||
```go
|
||||
(signingKeyRing *KeyRing) SignDetachedEncrypted(message *PlainMessage, encryptionKeyRing *KeyRing) (encryptedSignature *PGPMessage, err error)
|
||||
(verifyingKeyRing *KeyRing) VerifyDetachedEncrypted(message *PlainMessage, encryptedSignature *PGPMessage, decryptionKeyRing *KeyRing, verifyTime int64) error
|
||||
```
|
||||
|
||||
## [2.1.3] 2020-12-09
|
||||
### Added
|
||||
- `helper.FreeOSMemory()` to explicitly call the GC and release the memory to the OS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue