Add decryptMime and refactor package structure
This commit is contained in:
parent
07b3a2c739
commit
97e70855b8
27 changed files with 516 additions and 486 deletions
14
armor/constants.go
Normal file
14
armor/constants.go
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
package armor
|
||||
|
||||
import (
|
||||
"proton/pmcrypto/internal"
|
||||
)
|
||||
|
||||
const (
|
||||
ARMOR_HEADER_VERSION = internal.ARMOR_HEADER_VERSION
|
||||
ARMOR_HEADER_COMMENT = internal.ARMOR_HEADER_COMMENT
|
||||
MESSAGE_HEADER string = "PGP MESSAGE"
|
||||
PUBLIC_KEY_HEADER string = "PGP PUBLIC KEY BLOCK"
|
||||
PRIVATE_KEY_HEADER string = "PGP PRIVATE KEY BLOCK"
|
||||
)
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue