consts

package
v0.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 28, 2026 License: CC0-1.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleHash                      int = -1879047468
	AuthBiometricStrong             int = 2
	AuthDeviceCredential            int = 1
	OriginGenerated                 int = 1
	OriginImported                  int = 2
	OriginSecurelyImported          int = 8
	OriginUnknown                   int = 4
	PurposeAgreeKey                 int = 64
	PurposeAttestKey                int = 128
	PurposeDecrypt                  int = 2
	PurposeEncrypt                  int = 1
	PurposeSign                     int = 4
	PurposeVerify                   int = 8
	PurposeWrapKey                  int = 32
	SecurityLevelSoftware           int = 0
	SecurityLevelStrongbox          int = 2
	SecurityLevelTrustedEnvironment int = 1
	SecurityLevelUnknown            int = -2
	SecurityLevelUnknownSecure      int = -1
	UnrestrictedUsageCount          int = -1
)
View Source
const (
	BlockModeCbc              string = "CBC"
	BlockModeCtr              string = "CTR"
	BlockModeEcb              string = "ECB"
	BlockModeGcm              string = "GCM"
	DigestMd5                 string = "MD5"
	DigestNone                string = "NONE"
	DigestSha1                string = "SHA-1"
	DigestSha224              string = "SHA-224"
	DigestSha256              string = "SHA-256"
	DigestSha384              string = "SHA-384"
	DigestSha512              string = "SHA-512"
	EncryptionPaddingNone     string = "NoPadding"
	EncryptionPaddingPkcs7    string = "PKCS7Padding"
	EncryptionPaddingRsaOaep  string = "OAEPPadding"
	EncryptionPaddingRsaPkcs1 string = "PKCS1Padding"
	KeyAlgorithm3des          string = "DESede"
	KeyAlgorithmAes           string = "AES"
	KeyAlgorithmEc            string = "EC"
	KeyAlgorithmHmacSha1      string = "HmacSHA1"
	KeyAlgorithmHmacSha224    string = "HmacSHA224"
	KeyAlgorithmHmacSha256    string = "HmacSHA256"
	KeyAlgorithmHmacSha384    string = "HmacSHA384"
	KeyAlgorithmHmacSha512    string = "HmacSHA512"
	KeyAlgorithmRsa           string = "RSA"
	SignaturePaddingRsaPkcs1  string = "PKCS1"
	SignaturePaddingRsaPss    string = "PSS"
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL