mirror of
https://github.com/rocky-linux/peridot.git
synced 2024-11-24 06:01:25 +00:00
22 lines
480 B
Go
22 lines
480 B
Go
package constants
|
|
|
|
// Cipher suite names.
|
|
const (
|
|
ThreeDES = "3des"
|
|
TripleDES = "tripledes" // Both "3des" and "tripledes" refer to 3DES.
|
|
CAST5 = "cast5"
|
|
AES128 = "aes128"
|
|
AES192 = "aes192"
|
|
AES256 = "aes256"
|
|
)
|
|
|
|
const (
|
|
SIGNATURE_OK int = 0
|
|
SIGNATURE_NOT_SIGNED int = 1
|
|
SIGNATURE_NO_VERIFIER int = 2
|
|
SIGNATURE_FAILED int = 3
|
|
)
|
|
|
|
const DefaultCompression = 2 // ZLIB
|
|
const DefaultCompressionLevel = 6 // Corresponds to default -1 for ZLIB
|