typo fix
This commit is contained in:
parent
8d300e4782
commit
c254bd5d44
1 changed files with 6 additions and 6 deletions
12
armor.go
12
armor.go
|
|
@ -8,17 +8,17 @@ import (
|
||||||
"golang.org/x/crypto/openpgp/armor"
|
"golang.org/x/crypto/openpgp/armor"
|
||||||
)
|
)
|
||||||
|
|
||||||
// AromrType ...
|
// ...Armor Type
|
||||||
type AromrType string
|
type ArmorType string
|
||||||
|
|
||||||
func (at AromrType) string() string {
|
func (at ArmorType) string() string {
|
||||||
return string(at)
|
return string(at)
|
||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
pgpMessageType AromrType = "PGP MESSAGE"
|
pgpMessageType ArmorType = "PGP MESSAGE"
|
||||||
pgpPublicBlockType AromrType = "PGP PUBLIC KEY BLOCK"
|
pgpPublicBlockType ArmorType = "PGP PUBLIC KEY BLOCK"
|
||||||
pgpPrivateBlockType AromrType = "PGP PRIVATE KEY BLOCK"
|
pgpPrivateBlockType ArmorType = "PGP PRIVATE KEY BLOCK"
|
||||||
)
|
)
|
||||||
|
|
||||||
// ArmorKey make bytes input key to armor format
|
// ArmorKey make bytes input key to armor format
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue