padlockpb

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	AttributeType_name = map[int32]string{}/* 108 elements not displayed */

	AttributeType_value = map[string]int32{}/* 108 elements not displayed */

)

Enum value maps for AttributeType.

View Source
var (
	CertificateType_name = map[int32]string{
		0: "CKC_UNDEFINED_UNKNOWN",
		1: "CKC_X_509",
		2: "CKC_X_509_ATTR_CERT",
		3: "CKC_WTLS",
		4: "CKC_VENDOR_DEFINED",
	}
	CertificateType_value = map[string]int32{
		"CKC_UNDEFINED_UNKNOWN": 0,
		"CKC_X_509":             1,
		"CKC_X_509_ATTR_CERT":   2,
		"CKC_WTLS":              3,
		"CKC_VENDOR_DEFINED":    4,
	}
)

Enum value maps for CertificateType.

View Source
var (
	ErrorType_name = map[int32]string{
		0:  "CKR_UNDEFINED_UNKNOWN",
		1:  "CKR_OK",
		2:  "CKR_CANCEL",
		3:  "CKR_HOST_MEMORY",
		4:  "CKR_SLOT_ID_INVALID",
		5:  "CKR_GENERAL_ERROR",
		6:  "CKR_FUNCTION_FAILED",
		7:  "CKR_ARGUMENTS_BAD",
		8:  "CKR_NO_EVENT",
		9:  "CKR_NEED_TO_CREATE_THREADS",
		10: "CKR_CANT_LOCK",
		11: "CKR_ATTRIBUTE_READ_ONLY",
		12: "CKR_ATTRIBUTE_SENSITIVE",
		13: "CKR_ATTRIBUTE_TYPE_INVALID",
		14: "CKR_ATTRIBUTE_VALUE_INVALID",
		15: "CKR_ACTION_PROHIBITED",
		16: "CKR_DATA_INVALID",
		17: "CKR_DATA_LEN_RANGE",
		18: "CKR_DEVICE_ERROR",
		19: "CKR_DEVICE_MEMORY",
		20: "CKR_DEVICE_REMOVED",
		21: "CKR_ENCRYPTED_DATA_INVALID",
		22: "CKR_ENCRYPTED_DATA_LEN_RANGE",
		23: "CKR_FUNCTION_CANCELED",
		24: "CKR_FUNCTION_NOT_PARALLEL",
		25: "CKR_FUNCTION_NOT_SUPPORTED",
		26: "CKR_KEY_HANDLE_INVALID",
		27: "CKR_KEY_SIZE_RANGE",
		28: "CKR_KEY_TYPE_INCONSISTENT",
		29: "CKR_KEY_NOT_NEEDED",
		30: "CKR_KEY_CHANGED",
		31: "CKR_KEY_NEEDED",
		32: "CKR_KEY_INDIGESTIBLE",
		33: "CKR_KEY_FUNCTION_NOT_PERMITTED",
		34: "CKR_KEY_NOT_WRAPPABLE",
		35: "CKR_KEY_UNEXTRACTABLE",
		36: "CKR_MECHANISM_INVALID",
		37: "CKR_MECHANISM_PARAM_INVALID",
		38: "CKR_OBJECT_HANDLE_INVALID",
		39: "CKR_OPERATION_ACTIVE",
		40: "CKR_OPERATION_NOT_INITIALIZED",
		41: "CKR_PIN_INCORRECT",
		42: "CKR_PIN_INVALID",
		43: "CKR_PIN_LEN_RANGE",
		44: "CKR_PIN_EXPIRED",
		45: "CKR_PIN_LOCKED",
		46: "CKR_SESSION_CLOSED",
		47: "CKR_SESSION_COUNT",
		48: "CKR_SESSION_HANDLE_INVALID",
		49: "CKR_SESSION_PARALLEL_NOT_SUPPORTED",
		50: "CKR_SESSION_READ_ONLY",
		51: "CKR_SESSION_EXISTS",
		52: "CKR_SESSION_READ_ONLY_EXISTS",
		53: "CKR_SESSION_READ_WRITE_SO_EXISTS",
		54: "CKR_SIGNATURE_INVALID",
		55: "CKR_SIGNATURE_LEN_RANGE",
		56: "CKR_TEMPLATE_INCOMPLETE",
		57: "CKR_TEMPLATE_INCONSISTENT",
		58: "CKR_TOKEN_NOT_PRESENT",
		59: "CKR_TOKEN_NOT_RECOGNIZED",
		60: "CKR_TOKEN_WRITE_PROTECTED",
		61: "CKR_UNWRAPPING_KEY_HANDLE_INVALID",
		62: "CKR_UNWRAPPING_KEY_SIZE_RANGE",
		63: "CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT",
		64: "CKR_USER_ALREADY_LOGGED_IN",
		65: "CKR_USER_NOT_LOGGED_IN",
		66: "CKR_USER_PIN_NOT_INITIALIZED",
		67: "CKR_USER_TYPE_INVALID",
		68: "CKR_USER_ANOTHER_ALREADY_LOGGED_IN",
		69: "CKR_USER_TOO_MANY_TYPES",
		70: "CKR_WRAPPED_KEY_INVALID",
		71: "CKR_WRAPPED_KEY_LEN_RANGE",
		72: "CKR_WRAPPING_KEY_HANDLE_INVALID",
		73: "CKR_WRAPPING_KEY_SIZE_RANGE",
		74: "CKR_WRAPPING_KEY_TYPE_INCONSISTENT",
		75: "CKR_RANDOM_SEED_NOT_SUPPORTED",
		76: "CKR_RANDOM_NO_RNG",
		77: "CKR_DOMAIN_PARAMS_INVALID",
		78: "CKR_CURVE_NOT_SUPPORTED",
		79: "CKR_BUFFER_TOO_SMALL",
		80: "CKR_SAVED_STATE_INVALID",
		81: "CKR_INFORMATION_SENSITIVE",
		82: "CKR_STATE_UNSAVEABLE",
		83: "CKR_CRYPTOKI_NOT_INITIALIZED",
		84: "CKR_CRYPTOKI_ALREADY_INITIALIZED",
		85: "CKR_MUTEX_BAD",
		86: "CKR_MUTEX_NOT_LOCKED",
		87: "CKR_NEW_PIN_MODE",
		88: "CKR_NEXT_OTP",
		89: "CKR_EXCEEDED_MAX_ITERATIONS",
		90: "CKR_FIPS_SELF_TEST_FAILED",
		91: "CKR_LIBRARY_LOAD_FAILED",
		92: "CKR_PIN_TOO_WEAK",
		93: "CKR_PUBLIC_KEY_INVALID",
		94: "CKR_FUNCTION_REJECTED",
		95: "CKR_VENDOR_DEFINED",
	}
	ErrorType_value = map[string]int32{
		"CKR_UNDEFINED_UNKNOWN":                0,
		"CKR_OK":                               1,
		"CKR_CANCEL":                           2,
		"CKR_HOST_MEMORY":                      3,
		"CKR_SLOT_ID_INVALID":                  4,
		"CKR_GENERAL_ERROR":                    5,
		"CKR_FUNCTION_FAILED":                  6,
		"CKR_ARGUMENTS_BAD":                    7,
		"CKR_NO_EVENT":                         8,
		"CKR_NEED_TO_CREATE_THREADS":           9,
		"CKR_CANT_LOCK":                        10,
		"CKR_ATTRIBUTE_READ_ONLY":              11,
		"CKR_ATTRIBUTE_SENSITIVE":              12,
		"CKR_ATTRIBUTE_TYPE_INVALID":           13,
		"CKR_ATTRIBUTE_VALUE_INVALID":          14,
		"CKR_ACTION_PROHIBITED":                15,
		"CKR_DATA_INVALID":                     16,
		"CKR_DATA_LEN_RANGE":                   17,
		"CKR_DEVICE_ERROR":                     18,
		"CKR_DEVICE_MEMORY":                    19,
		"CKR_DEVICE_REMOVED":                   20,
		"CKR_ENCRYPTED_DATA_INVALID":           21,
		"CKR_ENCRYPTED_DATA_LEN_RANGE":         22,
		"CKR_FUNCTION_CANCELED":                23,
		"CKR_FUNCTION_NOT_PARALLEL":            24,
		"CKR_FUNCTION_NOT_SUPPORTED":           25,
		"CKR_KEY_HANDLE_INVALID":               26,
		"CKR_KEY_SIZE_RANGE":                   27,
		"CKR_KEY_TYPE_INCONSISTENT":            28,
		"CKR_KEY_NOT_NEEDED":                   29,
		"CKR_KEY_CHANGED":                      30,
		"CKR_KEY_NEEDED":                       31,
		"CKR_KEY_INDIGESTIBLE":                 32,
		"CKR_KEY_FUNCTION_NOT_PERMITTED":       33,
		"CKR_KEY_NOT_WRAPPABLE":                34,
		"CKR_KEY_UNEXTRACTABLE":                35,
		"CKR_MECHANISM_INVALID":                36,
		"CKR_MECHANISM_PARAM_INVALID":          37,
		"CKR_OBJECT_HANDLE_INVALID":            38,
		"CKR_OPERATION_ACTIVE":                 39,
		"CKR_OPERATION_NOT_INITIALIZED":        40,
		"CKR_PIN_INCORRECT":                    41,
		"CKR_PIN_INVALID":                      42,
		"CKR_PIN_LEN_RANGE":                    43,
		"CKR_PIN_EXPIRED":                      44,
		"CKR_PIN_LOCKED":                       45,
		"CKR_SESSION_CLOSED":                   46,
		"CKR_SESSION_COUNT":                    47,
		"CKR_SESSION_HANDLE_INVALID":           48,
		"CKR_SESSION_PARALLEL_NOT_SUPPORTED":   49,
		"CKR_SESSION_READ_ONLY":                50,
		"CKR_SESSION_EXISTS":                   51,
		"CKR_SESSION_READ_ONLY_EXISTS":         52,
		"CKR_SESSION_READ_WRITE_SO_EXISTS":     53,
		"CKR_SIGNATURE_INVALID":                54,
		"CKR_SIGNATURE_LEN_RANGE":              55,
		"CKR_TEMPLATE_INCOMPLETE":              56,
		"CKR_TEMPLATE_INCONSISTENT":            57,
		"CKR_TOKEN_NOT_PRESENT":                58,
		"CKR_TOKEN_NOT_RECOGNIZED":             59,
		"CKR_TOKEN_WRITE_PROTECTED":            60,
		"CKR_UNWRAPPING_KEY_HANDLE_INVALID":    61,
		"CKR_UNWRAPPING_KEY_SIZE_RANGE":        62,
		"CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT": 63,
		"CKR_USER_ALREADY_LOGGED_IN":           64,
		"CKR_USER_NOT_LOGGED_IN":               65,
		"CKR_USER_PIN_NOT_INITIALIZED":         66,
		"CKR_USER_TYPE_INVALID":                67,
		"CKR_USER_ANOTHER_ALREADY_LOGGED_IN":   68,
		"CKR_USER_TOO_MANY_TYPES":              69,
		"CKR_WRAPPED_KEY_INVALID":              70,
		"CKR_WRAPPED_KEY_LEN_RANGE":            71,
		"CKR_WRAPPING_KEY_HANDLE_INVALID":      72,
		"CKR_WRAPPING_KEY_SIZE_RANGE":          73,
		"CKR_WRAPPING_KEY_TYPE_INCONSISTENT":   74,
		"CKR_RANDOM_SEED_NOT_SUPPORTED":        75,
		"CKR_RANDOM_NO_RNG":                    76,
		"CKR_DOMAIN_PARAMS_INVALID":            77,
		"CKR_CURVE_NOT_SUPPORTED":              78,
		"CKR_BUFFER_TOO_SMALL":                 79,
		"CKR_SAVED_STATE_INVALID":              80,
		"CKR_INFORMATION_SENSITIVE":            81,
		"CKR_STATE_UNSAVEABLE":                 82,
		"CKR_CRYPTOKI_NOT_INITIALIZED":         83,
		"CKR_CRYPTOKI_ALREADY_INITIALIZED":     84,
		"CKR_MUTEX_BAD":                        85,
		"CKR_MUTEX_NOT_LOCKED":                 86,
		"CKR_NEW_PIN_MODE":                     87,
		"CKR_NEXT_OTP":                         88,
		"CKR_EXCEEDED_MAX_ITERATIONS":          89,
		"CKR_FIPS_SELF_TEST_FAILED":            90,
		"CKR_LIBRARY_LOAD_FAILED":              91,
		"CKR_PIN_TOO_WEAK":                     92,
		"CKR_PUBLIC_KEY_INVALID":               93,
		"CKR_FUNCTION_REJECTED":                94,
		"CKR_VENDOR_DEFINED":                   95,
	}
)

Enum value maps for ErrorType.

View Source
var (
	FlagType_name = map[int32]string{
		0:  "CKF_UNDEFINED_UNKNOWN",
		1:  "CKF_TOKEN_PRESENT",
		2:  "CKF_REMOVABLE_DEVICE",
		3:  "CKF_HW_SLOT",
		4:  "CKF_RNG",
		5:  "CKF_WRITE_PROTECTED",
		6:  "CKF_LOGIN_REQUIRED",
		7:  "CKF_USER_PIN_INITIALIZED",
		8:  "CKF_RESTORE_KEY_NOT_NEEDED",
		9:  "CKF_CLOCK_ON_TOKEN",
		10: "CKF_PROTECTED_AUTHENTICATION_PATH",
		11: "CKF_DUAL_CRYPTO_OPERATIONS",
		12: "CKF_TOKEN_INITIALIZED",
		13: "CKF_SECONDARY_AUTHENTICATION",
		14: "CKF_USER_PIN_COUNT_LOW",
		15: "CKF_USER_PIN_FINAL_TRY",
		16: "CKF_USER_PIN_LOCKED",
		17: "CKF_USER_PIN_TO_BE_CHANGED",
		18: "CKF_SO_PIN_COUNT_LOW",
		19: "CKF_SO_PIN_FINAL_TRY",
		20: "CKF_SO_PIN_LOCKED",
		21: "CKF_SO_PIN_TO_BE_CHANGED",
		22: "CKF_ERROR_STATE",
		23: "CKF_RW_SESSION",
		24: "CKF_SERIAL_SESSION",
		25: "CKF_ARRAY_ATTRIBUTE",
		26: "CKF_HW",
		27: "CKF_ENCRYPT",
		28: "CKF_DECRYPT",
		29: "CKF_DIGEST",
		30: "CKF_SIGN",
		31: "CKF_SIGN_RECOVER",
		32: "CKF_VERIFY",
		33: "CKF_VERIFY_RECOVER",
		34: "CKF_GENERATE",
		35: "CKF_GENERATE_KEY_PAIR",
		36: "CKF_WRAP",
		37: "CKF_UNWRAP",
		38: "CKF_DERIVE",
		39: "CKF_EC_F_P",
		40: "CKF_EC_F_2M",
		41: "CKF_EC_ECPARAMETERS",
		42: "CKF_EC_NAMEDCURVE",
		43: "CKF_EC_UNCOMPRESS",
		44: "CKF_EC_COMPRESS",
		45: "CKF_EXTENSION",
		46: "CKF_LIBRARY_CANT_CREATE_OS_THREADS",
		47: "CKF_OS_LOCKING_OK",
		48: "CKF_DONT_BLOCK",
		49: "CKF_NEXT_OTP",
		50: "CKF_EXCLUDE_TIME",
		51: "CKF_EXCLUDE_COUNTER",
		52: "CKF_EXCLUDE_CHALLENGE",
		53: "CKF_EXCLUDE_PIN",
		54: "CKF_USER_FRIENDLY_OTP",
	}
	FlagType_value = map[string]int32{
		"CKF_UNDEFINED_UNKNOWN":              0,
		"CKF_TOKEN_PRESENT":                  1,
		"CKF_REMOVABLE_DEVICE":               2,
		"CKF_HW_SLOT":                        3,
		"CKF_RNG":                            4,
		"CKF_WRITE_PROTECTED":                5,
		"CKF_LOGIN_REQUIRED":                 6,
		"CKF_USER_PIN_INITIALIZED":           7,
		"CKF_RESTORE_KEY_NOT_NEEDED":         8,
		"CKF_CLOCK_ON_TOKEN":                 9,
		"CKF_PROTECTED_AUTHENTICATION_PATH":  10,
		"CKF_DUAL_CRYPTO_OPERATIONS":         11,
		"CKF_TOKEN_INITIALIZED":              12,
		"CKF_SECONDARY_AUTHENTICATION":       13,
		"CKF_USER_PIN_COUNT_LOW":             14,
		"CKF_USER_PIN_FINAL_TRY":             15,
		"CKF_USER_PIN_LOCKED":                16,
		"CKF_USER_PIN_TO_BE_CHANGED":         17,
		"CKF_SO_PIN_COUNT_LOW":               18,
		"CKF_SO_PIN_FINAL_TRY":               19,
		"CKF_SO_PIN_LOCKED":                  20,
		"CKF_SO_PIN_TO_BE_CHANGED":           21,
		"CKF_ERROR_STATE":                    22,
		"CKF_RW_SESSION":                     23,
		"CKF_SERIAL_SESSION":                 24,
		"CKF_ARRAY_ATTRIBUTE":                25,
		"CKF_HW":                             26,
		"CKF_ENCRYPT":                        27,
		"CKF_DECRYPT":                        28,
		"CKF_DIGEST":                         29,
		"CKF_SIGN":                           30,
		"CKF_SIGN_RECOVER":                   31,
		"CKF_VERIFY":                         32,
		"CKF_VERIFY_RECOVER":                 33,
		"CKF_GENERATE":                       34,
		"CKF_GENERATE_KEY_PAIR":              35,
		"CKF_WRAP":                           36,
		"CKF_UNWRAP":                         37,
		"CKF_DERIVE":                         38,
		"CKF_EC_F_P":                         39,
		"CKF_EC_F_2M":                        40,
		"CKF_EC_ECPARAMETERS":                41,
		"CKF_EC_NAMEDCURVE":                  42,
		"CKF_EC_UNCOMPRESS":                  43,
		"CKF_EC_COMPRESS":                    44,
		"CKF_EXTENSION":                      45,
		"CKF_LIBRARY_CANT_CREATE_OS_THREADS": 46,
		"CKF_OS_LOCKING_OK":                  47,
		"CKF_DONT_BLOCK":                     48,
		"CKF_NEXT_OTP":                       49,
		"CKF_EXCLUDE_TIME":                   50,
		"CKF_EXCLUDE_COUNTER":                51,
		"CKF_EXCLUDE_CHALLENGE":              52,
		"CKF_EXCLUDE_PIN":                    53,
		"CKF_USER_FRIENDLY_OTP":              54,
	}
)

Enum value maps for FlagType.

View Source
var (
	HashingAlgorithm_name = map[int32]string{
		0: "CKG_MGF1_UNDEFINED_UNKNOWN",
		1: "CKG_MGF1_SHA1",
		5: "CKG_MGF1_SHA224",
		2: "CKG_MGF1_SHA256",
		3: "CKG_MGF1_SHA384",
		4: "CKG_MGF1_SHA512",
		6: "CKG_MGF1_SHA3_224",
		7: "CKG_MGF1_SHA3_256",
		8: "CKG_MGF1_SHA3_384",
		9: "CKG_MGF1_SHA3_512",
	}
	HashingAlgorithm_value = map[string]int32{
		"CKG_MGF1_UNDEFINED_UNKNOWN": 0,
		"CKG_MGF1_SHA1":              1,
		"CKG_MGF1_SHA224":            5,
		"CKG_MGF1_SHA256":            2,
		"CKG_MGF1_SHA384":            3,
		"CKG_MGF1_SHA512":            4,
		"CKG_MGF1_SHA3_224":          6,
		"CKG_MGF1_SHA3_256":          7,
		"CKG_MGF1_SHA3_384":          8,
		"CKG_MGF1_SHA3_512":          9,
	}
)

Enum value maps for HashingAlgorithm.

View Source
var (
	KeyType_name = map[int32]string{
		0:  "CKK_UNDEFINED_UNKNOWN",
		1:  "CKK_RSA",
		2:  "CKK_DSA",
		3:  "CKK_DH",
		4:  "CKK_ECDSA",
		5:  "CKK_EC",
		6:  "CKK_X9_42_DH",
		7:  "CKK_KEA",
		8:  "CKK_GENERIC_SECRET",
		9:  "CKK_RC2",
		10: "CKK_RC4",
		11: "CKK_DES",
		12: "CKK_DES2",
		13: "CKK_DES3",
		14: "CKK_CAST",
		15: "CKK_CAST3",
		16: "CKK_CAST5",
		17: "CKK_CAST128",
		18: "CKK_RC5",
		19: "CKK_IDEA",
		20: "CKK_SKIPJACK",
		21: "CKK_BATON",
		22: "CKK_JUNIPER",
		23: "CKK_CDMF",
		24: "CKK_AES",
		25: "CKK_BLOWFISH",
		26: "CKK_TWOFISH",
		27: "CKK_SECURID",
		28: "CKK_HOTP",
		29: "CKK_ACTI",
		30: "CKK_CAMELLIA",
		31: "CKK_ARIA",
		32: "CKK_SHA512_224_HMAC",
		33: "CKK_SHA512_256_HMAC",
		34: "CKK_SHA512_T_HMAC",
		35: "CKK_SHA_1_HMAC",
		36: "CKK_SHA224_HMAC",
		37: "CKK_SHA256_HMAC",
		38: "CKK_SHA384_HMAC",
		39: "CKK_SHA512_HMAC",
		40: "CKK_SEED",
		41: "CKK_GOSTR3410",
		42: "CKK_GOSTR3411",
		43: "CKK_GOST28147",
		44: "CKK_SHA3_224_HMAC",
		45: "CKK_SHA3_256_HMAC",
		46: "CKK_SHA3_384_HMAC",
		47: "CKK_SHA3_512_HMAC",
		48: "CKK_VENDOR_DEFINED",
	}
	KeyType_value = map[string]int32{
		"CKK_UNDEFINED_UNKNOWN": 0,
		"CKK_RSA":               1,
		"CKK_DSA":               2,
		"CKK_DH":                3,
		"CKK_ECDSA":             4,
		"CKK_EC":                5,
		"CKK_X9_42_DH":          6,
		"CKK_KEA":               7,
		"CKK_GENERIC_SECRET":    8,
		"CKK_RC2":               9,
		"CKK_RC4":               10,
		"CKK_DES":               11,
		"CKK_DES2":              12,
		"CKK_DES3":              13,
		"CKK_CAST":              14,
		"CKK_CAST3":             15,
		"CKK_CAST5":             16,
		"CKK_CAST128":           17,
		"CKK_RC5":               18,
		"CKK_IDEA":              19,
		"CKK_SKIPJACK":          20,
		"CKK_BATON":             21,
		"CKK_JUNIPER":           22,
		"CKK_CDMF":              23,
		"CKK_AES":               24,
		"CKK_BLOWFISH":          25,
		"CKK_TWOFISH":           26,
		"CKK_SECURID":           27,
		"CKK_HOTP":              28,
		"CKK_ACTI":              29,
		"CKK_CAMELLIA":          30,
		"CKK_ARIA":              31,
		"CKK_SHA512_224_HMAC":   32,
		"CKK_SHA512_256_HMAC":   33,
		"CKK_SHA512_T_HMAC":     34,
		"CKK_SHA_1_HMAC":        35,
		"CKK_SHA224_HMAC":       36,
		"CKK_SHA256_HMAC":       37,
		"CKK_SHA384_HMAC":       38,
		"CKK_SHA512_HMAC":       39,
		"CKK_SEED":              40,
		"CKK_GOSTR3410":         41,
		"CKK_GOSTR3411":         42,
		"CKK_GOST28147":         43,
		"CKK_SHA3_224_HMAC":     44,
		"CKK_SHA3_256_HMAC":     45,
		"CKK_SHA3_384_HMAC":     46,
		"CKK_SHA3_512_HMAC":     47,
		"CKK_VENDOR_DEFINED":    48,
	}
)

Enum value maps for KeyType.

View Source
var (
	MechanismType_name = map[int32]string{}/* 369 elements not displayed */

	MechanismType_value = map[string]int32{}/* 369 elements not displayed */

)

Enum value maps for MechanismType.

View Source
var (
	ObjectClass_name = map[int32]string{
		0:  "CKO_UNDEFINED_UNKNOWN",
		1:  "CKO_DATA",
		2:  "CKO_CERTIFICATE",
		3:  "CKO_PUBLIC_KEY",
		4:  "CKO_PRIVATE_KEY",
		5:  "CKO_SECRET_KEY",
		6:  "CKO_HW_FEATURE",
		7:  "CKO_DOMAIN_PARAMETERS",
		8:  "CKO_MECHANISM",
		9:  "CKO_OTP_KEY",
		10: "CKO_VENDOR_DEFINED",
	}
	ObjectClass_value = map[string]int32{
		"CKO_UNDEFINED_UNKNOWN": 0,
		"CKO_DATA":              1,
		"CKO_CERTIFICATE":       2,
		"CKO_PUBLIC_KEY":        3,
		"CKO_PRIVATE_KEY":       4,
		"CKO_SECRET_KEY":        5,
		"CKO_HW_FEATURE":        6,
		"CKO_DOMAIN_PARAMETERS": 7,
		"CKO_MECHANISM":         8,
		"CKO_OTP_KEY":           9,
		"CKO_VENDOR_DEFINED":    10,
	}
)

Enum value maps for ObjectClass.

View Source
var File_attributes_proto protoreflect.FileDescriptor
View Source
var File_certificatetypes_proto protoreflect.FileDescriptor
View Source
var File_errors_proto protoreflect.FileDescriptor
View Source
var File_flags_proto protoreflect.FileDescriptor
View Source
var File_hashalg_proto protoreflect.FileDescriptor
View Source
var File_keytypes_proto protoreflect.FileDescriptor
View Source
var File_mechanisms_proto protoreflect.FileDescriptor
View Source
var File_objectclass_proto protoreflect.FileDescriptor
View Source
var File_padlock_proto protoreflect.FileDescriptor
View Source
var File_pkcs11_proto protoreflect.FileDescriptor

Functions

func RegisterExposedPadlockServer added in v0.2.0

func RegisterExposedPadlockServer(s *grpc.Server, srv ExposedPadlockServer)

func RegisterPadlockServer

func RegisterPadlockServer(s *grpc.Server, srv PadlockServer)

Types

type ApplicationConnectRequest

type ApplicationConnectRequest struct {
	Auth   *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	Module string     `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationConnectRequest) Descriptor deprecated

func (*ApplicationConnectRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationConnectRequest.ProtoReflect.Descriptor instead.

func (*ApplicationConnectRequest) GetAuth

func (x *ApplicationConnectRequest) GetAuth() *AuthToken

func (*ApplicationConnectRequest) GetModule

func (x *ApplicationConnectRequest) GetModule() string

func (*ApplicationConnectRequest) ProtoMessage

func (*ApplicationConnectRequest) ProtoMessage()

func (*ApplicationConnectRequest) ProtoReflect

func (*ApplicationConnectRequest) Reset

func (x *ApplicationConnectRequest) Reset()

func (*ApplicationConnectRequest) String

func (x *ApplicationConnectRequest) String() string

type ApplicationConnectUpdate

type ApplicationConnectUpdate struct {

	// Types that are assignable to Update:
	//	*ApplicationConnectUpdate_Info
	//	*ApplicationConnectUpdate_ChangedSlots
	Update isApplicationConnectUpdate_Update `protobuf_oneof:"update"`
	// contains filtered or unexported fields
}

func (*ApplicationConnectUpdate) Descriptor deprecated

func (*ApplicationConnectUpdate) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationConnectUpdate.ProtoReflect.Descriptor instead.

func (*ApplicationConnectUpdate) GetChangedSlots

func (x *ApplicationConnectUpdate) GetChangedSlots() *ModuleListSlotsResponse

func (*ApplicationConnectUpdate) GetInfo

func (x *ApplicationConnectUpdate) GetInfo() *ModuleInfo

func (*ApplicationConnectUpdate) GetUpdate

func (m *ApplicationConnectUpdate) GetUpdate() isApplicationConnectUpdate_Update

func (*ApplicationConnectUpdate) ProtoMessage

func (*ApplicationConnectUpdate) ProtoMessage()

func (*ApplicationConnectUpdate) ProtoReflect

func (x *ApplicationConnectUpdate) ProtoReflect() protoreflect.Message

func (*ApplicationConnectUpdate) Reset

func (x *ApplicationConnectUpdate) Reset()

func (*ApplicationConnectUpdate) String

func (x *ApplicationConnectUpdate) String() string

type ApplicationConnectUpdate_ChangedSlots

type ApplicationConnectUpdate_ChangedSlots struct {
	ChangedSlots *ModuleListSlotsResponse `protobuf:"bytes,2,opt,name=changed_slots,json=changedSlots,proto3,oneof"`
}

type ApplicationConnectUpdate_Info

type ApplicationConnectUpdate_Info struct {
	Info *ModuleInfo `protobuf:"bytes,1,opt,name=info,proto3,oneof"`
}

type ApplicationListModulesRequest

type ApplicationListModulesRequest struct {
	Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	// contains filtered or unexported fields
}

func (*ApplicationListModulesRequest) Descriptor deprecated

func (*ApplicationListModulesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationListModulesRequest.ProtoReflect.Descriptor instead.

func (*ApplicationListModulesRequest) GetAuth

func (*ApplicationListModulesRequest) ProtoMessage

func (*ApplicationListModulesRequest) ProtoMessage()

func (*ApplicationListModulesRequest) ProtoReflect

func (*ApplicationListModulesRequest) Reset

func (x *ApplicationListModulesRequest) Reset()

func (*ApplicationListModulesRequest) String

type ApplicationListModulesResponse

type ApplicationListModulesResponse struct {
	Modules map[string]*ModuleInfo `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ApplicationListModulesResponse) Descriptor deprecated

func (*ApplicationListModulesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ApplicationListModulesResponse.ProtoReflect.Descriptor instead.

func (*ApplicationListModulesResponse) GetModules

func (x *ApplicationListModulesResponse) GetModules() map[string]*ModuleInfo

func (*ApplicationListModulesResponse) ProtoMessage

func (*ApplicationListModulesResponse) ProtoMessage()

func (*ApplicationListModulesResponse) ProtoReflect

func (*ApplicationListModulesResponse) Reset

func (x *ApplicationListModulesResponse) Reset()

func (*ApplicationListModulesResponse) String

type Attribute

type Attribute struct {
	Type  AttributeType `protobuf:"varint,1,opt,name=type,proto3,enum=padlock.AttributeType" json:"type,omitempty"`
	Value []byte        `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Attribute) Descriptor deprecated

func (*Attribute) Descriptor() ([]byte, []int)

Deprecated: Use Attribute.ProtoReflect.Descriptor instead.

func (*Attribute) GetType

func (x *Attribute) GetType() AttributeType

func (*Attribute) GetValue

func (x *Attribute) GetValue() []byte

func (*Attribute) ProtoMessage

func (*Attribute) ProtoMessage()

func (*Attribute) ProtoReflect

func (x *Attribute) ProtoReflect() protoreflect.Message

func (*Attribute) Reset

func (x *Attribute) Reset()

func (*Attribute) String

func (x *Attribute) String() string

type AttributeType

type AttributeType int32
const (
	AttributeType_CKA_UNDEFINED_UNKNOWN          AttributeType = 0
	AttributeType_CKA_CLASS                      AttributeType = 1
	AttributeType_CKA_TOKEN                      AttributeType = 2
	AttributeType_CKA_PRIVATE                    AttributeType = 3
	AttributeType_CKA_LABEL                      AttributeType = 4
	AttributeType_CKA_APPLICATION                AttributeType = 5
	AttributeType_CKA_VALUE                      AttributeType = 6
	AttributeType_CKA_OBJECT_ID                  AttributeType = 7
	AttributeType_CKA_CERTIFICATE_TYPE           AttributeType = 8
	AttributeType_CKA_ISSUER                     AttributeType = 9
	AttributeType_CKA_SERIAL_NUMBER              AttributeType = 10
	AttributeType_CKA_AC_ISSUER                  AttributeType = 11
	AttributeType_CKA_OWNER                      AttributeType = 12
	AttributeType_CKA_ATTR_TYPES                 AttributeType = 13
	AttributeType_CKA_TRUSTED                    AttributeType = 14
	AttributeType_CKA_CERTIFICATE_CATEGORY       AttributeType = 15
	AttributeType_CKA_JAVA_MIDP_SECURITY_DOMAIN  AttributeType = 16
	AttributeType_CKA_URL                        AttributeType = 17
	AttributeType_CKA_HASH_OF_SUBJECT_PUBLIC_KEY AttributeType = 18
	AttributeType_CKA_HASH_OF_ISSUER_PUBLIC_KEY  AttributeType = 19
	AttributeType_CKA_NAME_HASH_ALGORITHM        AttributeType = 20
	AttributeType_CKA_CHECK_VALUE                AttributeType = 21
	AttributeType_CKA_KEY_TYPE                   AttributeType = 22
	AttributeType_CKA_SUBJECT                    AttributeType = 23
	AttributeType_CKA_ID                         AttributeType = 24
	AttributeType_CKA_SENSITIVE                  AttributeType = 25
	AttributeType_CKA_ENCRYPT                    AttributeType = 26
	AttributeType_CKA_DECRYPT                    AttributeType = 27
	AttributeType_CKA_WRAP                       AttributeType = 28
	AttributeType_CKA_UNWRAP                     AttributeType = 29
	AttributeType_CKA_SIGN                       AttributeType = 30
	AttributeType_CKA_SIGN_RECOVER               AttributeType = 31
	AttributeType_CKA_VERIFY                     AttributeType = 32
	AttributeType_CKA_VERIFY_RECOVER             AttributeType = 33
	AttributeType_CKA_DERIVE                     AttributeType = 34
	AttributeType_CKA_START_DATE                 AttributeType = 35
	AttributeType_CKA_END_DATE                   AttributeType = 36
	AttributeType_CKA_MODULUS                    AttributeType = 37
	AttributeType_CKA_MODULUS_BITS               AttributeType = 38
	AttributeType_CKA_PUBLIC_EXPONENT            AttributeType = 39
	AttributeType_CKA_PRIVATE_EXPONENT           AttributeType = 40
	AttributeType_CKA_PRIME_1                    AttributeType = 41
	AttributeType_CKA_PRIME_2                    AttributeType = 42
	AttributeType_CKA_EXPONENT_1                 AttributeType = 43
	AttributeType_CKA_EXPONENT_2                 AttributeType = 44
	AttributeType_CKA_COEFFICIENT                AttributeType = 45
	AttributeType_CKA_PUBLIC_KEY_INFO            AttributeType = 46
	AttributeType_CKA_PRIME                      AttributeType = 47
	AttributeType_CKA_SUBPRIME                   AttributeType = 48
	AttributeType_CKA_BASE                       AttributeType = 49
	AttributeType_CKA_PRIME_BITS                 AttributeType = 50
	AttributeType_CKA_SUBPRIME_BITS              AttributeType = 51
	AttributeType_CKA_SUB_PRIME_BITS             AttributeType = 52
	AttributeType_CKA_VALUE_BITS                 AttributeType = 53
	AttributeType_CKA_VALUE_LEN                  AttributeType = 54
	AttributeType_CKA_EXTRACTABLE                AttributeType = 55
	AttributeType_CKA_LOCAL                      AttributeType = 56
	AttributeType_CKA_NEVER_EXTRACTABLE          AttributeType = 57
	AttributeType_CKA_ALWAYS_SENSITIVE           AttributeType = 58
	AttributeType_CKA_KEY_GEN_MECHANISM          AttributeType = 59
	AttributeType_CKA_MODIFIABLE                 AttributeType = 60
	AttributeType_CKA_COPYABLE                   AttributeType = 61
	AttributeType_CKA_DESTROYABLE                AttributeType = 62
	AttributeType_CKA_ECDSA_PARAMS               AttributeType = 63
	AttributeType_CKA_EC_PARAMS                  AttributeType = 64
	AttributeType_CKA_EC_POINT                   AttributeType = 65
	AttributeType_CKA_SECONDARY_AUTH             AttributeType = 66
	AttributeType_CKA_AUTH_PIN_FLAGS             AttributeType = 67
	AttributeType_CKA_ALWAYS_AUTHENTICATE        AttributeType = 68
	AttributeType_CKA_WRAP_WITH_TRUSTED          AttributeType = 69
	AttributeType_CKA_WRAP_TEMPLATE              AttributeType = 70
	AttributeType_CKA_UNWRAP_TEMPLATE            AttributeType = 71
	AttributeType_CKA_OTP_FORMAT                 AttributeType = 72
	AttributeType_CKA_OTP_LENGTH                 AttributeType = 73
	AttributeType_CKA_OTP_TIME_INTERVAL          AttributeType = 74
	AttributeType_CKA_OTP_USER_FRIENDLY_MODE     AttributeType = 75
	AttributeType_CKA_OTP_CHALLENGE_REQUIREMENT  AttributeType = 76
	AttributeType_CKA_OTP_TIME_REQUIREMENT       AttributeType = 77
	AttributeType_CKA_OTP_COUNTER_REQUIREMENT    AttributeType = 78
	AttributeType_CKA_OTP_PIN_REQUIREMENT        AttributeType = 79
	AttributeType_CKA_OTP_COUNTER                AttributeType = 80
	AttributeType_CKA_OTP_TIME                   AttributeType = 81
	AttributeType_CKA_OTP_USER_IDENTIFIER        AttributeType = 82
	AttributeType_CKA_OTP_SERVICE_IDENTIFIER     AttributeType = 83
	AttributeType_CKA_OTP_SERVICE_LOGO_TYPE      AttributeType = 85
	AttributeType_CKA_GOSTR3410_PARAMS           AttributeType = 86
	AttributeType_CKA_GOSTR3411_PARAMS           AttributeType = 87
	AttributeType_CKA_GOST28147_PARAMS           AttributeType = 88
	AttributeType_CKA_HW_FEATURE_TYPE            AttributeType = 89
	AttributeType_CKA_RESET_ON_INIT              AttributeType = 90
	AttributeType_CKA_HAS_RESET                  AttributeType = 91
	AttributeType_CKA_PIXEL_X                    AttributeType = 92
	AttributeType_CKA_PIXEL_Y                    AttributeType = 93
	AttributeType_CKA_RESOLUTION                 AttributeType = 94
	AttributeType_CKA_CHAR_ROWS                  AttributeType = 95
	AttributeType_CKA_CHAR_COLUMNS               AttributeType = 96
	AttributeType_CKA_COLOR                      AttributeType = 97
	AttributeType_CKA_BITS_PER_PIXEL             AttributeType = 98
	AttributeType_CKA_CHAR_SETS                  AttributeType = 99
	AttributeType_CKA_ENCODING_METHODS           AttributeType = 100
	AttributeType_CKA_MIME_TYPES                 AttributeType = 101
	AttributeType_CKA_MECHANISM_TYPE             AttributeType = 102
	AttributeType_CKA_REQUIRED_CMS_ATTRIBUTES    AttributeType = 103
	AttributeType_CKA_DEFAULT_CMS_ATTRIBUTES     AttributeType = 104
	AttributeType_CKA_SUPPORTED_CMS_ATTRIBUTES   AttributeType = 105
	AttributeType_CKA_ALLOWED_MECHANISMS         AttributeType = 106
	AttributeType_CKA_VENDOR_DEFINED             AttributeType = 107
)

func (AttributeType) Descriptor

func (AttributeType) Enum

func (x AttributeType) Enum() *AttributeType

func (AttributeType) EnumDescriptor deprecated

func (AttributeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AttributeType.Descriptor instead.

func (AttributeType) Number

func (AttributeType) String

func (x AttributeType) String() string

func (AttributeType) Type

type AuthHello

type AuthHello struct {
	// contains filtered or unexported fields
}

func (*AuthHello) Descriptor deprecated

func (*AuthHello) Descriptor() ([]byte, []int)

Deprecated: Use AuthHello.ProtoReflect.Descriptor instead.

func (*AuthHello) ProtoMessage

func (*AuthHello) ProtoMessage()

func (*AuthHello) ProtoReflect

func (x *AuthHello) ProtoReflect() protoreflect.Message

func (*AuthHello) Reset

func (x *AuthHello) Reset()

func (*AuthHello) String

func (x *AuthHello) String() string

type AuthToken

type AuthToken struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthToken) Descriptor deprecated

func (*AuthToken) Descriptor() ([]byte, []int)

Deprecated: Use AuthToken.ProtoReflect.Descriptor instead.

func (*AuthToken) GetData

func (x *AuthToken) GetData() []byte

func (*AuthToken) ProtoMessage

func (*AuthToken) ProtoMessage()

func (*AuthToken) ProtoReflect

func (x *AuthToken) ProtoReflect() protoreflect.Message

func (*AuthToken) Reset

func (x *AuthToken) Reset()

func (*AuthToken) String

func (x *AuthToken) String() string

type CertificateType

type CertificateType int32
const (
	CertificateType_CKC_UNDEFINED_UNKNOWN CertificateType = 0
	CertificateType_CKC_X_509             CertificateType = 1
	CertificateType_CKC_X_509_ATTR_CERT   CertificateType = 2
	CertificateType_CKC_WTLS              CertificateType = 3
	CertificateType_CKC_VENDOR_DEFINED    CertificateType = 4
)

func (CertificateType) Descriptor

func (CertificateType) Enum

func (x CertificateType) Enum() *CertificateType

func (CertificateType) EnumDescriptor deprecated

func (CertificateType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CertificateType.Descriptor instead.

func (CertificateType) Number

func (CertificateType) String

func (x CertificateType) String() string

func (CertificateType) Type

type ErrorType

type ErrorType int32
const (
	ErrorType_CKR_UNDEFINED_UNKNOWN                ErrorType = 0
	ErrorType_CKR_OK                               ErrorType = 1
	ErrorType_CKR_CANCEL                           ErrorType = 2
	ErrorType_CKR_HOST_MEMORY                      ErrorType = 3
	ErrorType_CKR_SLOT_ID_INVALID                  ErrorType = 4
	ErrorType_CKR_GENERAL_ERROR                    ErrorType = 5
	ErrorType_CKR_FUNCTION_FAILED                  ErrorType = 6
	ErrorType_CKR_ARGUMENTS_BAD                    ErrorType = 7
	ErrorType_CKR_NO_EVENT                         ErrorType = 8
	ErrorType_CKR_NEED_TO_CREATE_THREADS           ErrorType = 9
	ErrorType_CKR_CANT_LOCK                        ErrorType = 10
	ErrorType_CKR_ATTRIBUTE_READ_ONLY              ErrorType = 11
	ErrorType_CKR_ATTRIBUTE_SENSITIVE              ErrorType = 12
	ErrorType_CKR_ATTRIBUTE_TYPE_INVALID           ErrorType = 13
	ErrorType_CKR_ATTRIBUTE_VALUE_INVALID          ErrorType = 14
	ErrorType_CKR_ACTION_PROHIBITED                ErrorType = 15
	ErrorType_CKR_DATA_INVALID                     ErrorType = 16
	ErrorType_CKR_DATA_LEN_RANGE                   ErrorType = 17
	ErrorType_CKR_DEVICE_ERROR                     ErrorType = 18
	ErrorType_CKR_DEVICE_MEMORY                    ErrorType = 19
	ErrorType_CKR_DEVICE_REMOVED                   ErrorType = 20
	ErrorType_CKR_ENCRYPTED_DATA_INVALID           ErrorType = 21
	ErrorType_CKR_ENCRYPTED_DATA_LEN_RANGE         ErrorType = 22
	ErrorType_CKR_FUNCTION_CANCELED                ErrorType = 23
	ErrorType_CKR_FUNCTION_NOT_PARALLEL            ErrorType = 24
	ErrorType_CKR_FUNCTION_NOT_SUPPORTED           ErrorType = 25
	ErrorType_CKR_KEY_HANDLE_INVALID               ErrorType = 26
	ErrorType_CKR_KEY_SIZE_RANGE                   ErrorType = 27
	ErrorType_CKR_KEY_TYPE_INCONSISTENT            ErrorType = 28
	ErrorType_CKR_KEY_NOT_NEEDED                   ErrorType = 29
	ErrorType_CKR_KEY_CHANGED                      ErrorType = 30
	ErrorType_CKR_KEY_NEEDED                       ErrorType = 31
	ErrorType_CKR_KEY_INDIGESTIBLE                 ErrorType = 32
	ErrorType_CKR_KEY_FUNCTION_NOT_PERMITTED       ErrorType = 33
	ErrorType_CKR_KEY_NOT_WRAPPABLE                ErrorType = 34
	ErrorType_CKR_KEY_UNEXTRACTABLE                ErrorType = 35
	ErrorType_CKR_MECHANISM_INVALID                ErrorType = 36
	ErrorType_CKR_MECHANISM_PARAM_INVALID          ErrorType = 37
	ErrorType_CKR_OBJECT_HANDLE_INVALID            ErrorType = 38
	ErrorType_CKR_OPERATION_ACTIVE                 ErrorType = 39
	ErrorType_CKR_OPERATION_NOT_INITIALIZED        ErrorType = 40
	ErrorType_CKR_PIN_INCORRECT                    ErrorType = 41
	ErrorType_CKR_PIN_INVALID                      ErrorType = 42
	ErrorType_CKR_PIN_LEN_RANGE                    ErrorType = 43
	ErrorType_CKR_PIN_EXPIRED                      ErrorType = 44
	ErrorType_CKR_PIN_LOCKED                       ErrorType = 45
	ErrorType_CKR_SESSION_CLOSED                   ErrorType = 46
	ErrorType_CKR_SESSION_COUNT                    ErrorType = 47
	ErrorType_CKR_SESSION_HANDLE_INVALID           ErrorType = 48
	ErrorType_CKR_SESSION_PARALLEL_NOT_SUPPORTED   ErrorType = 49
	ErrorType_CKR_SESSION_READ_ONLY                ErrorType = 50
	ErrorType_CKR_SESSION_EXISTS                   ErrorType = 51
	ErrorType_CKR_SESSION_READ_ONLY_EXISTS         ErrorType = 52
	ErrorType_CKR_SESSION_READ_WRITE_SO_EXISTS     ErrorType = 53
	ErrorType_CKR_SIGNATURE_INVALID                ErrorType = 54
	ErrorType_CKR_SIGNATURE_LEN_RANGE              ErrorType = 55
	ErrorType_CKR_TEMPLATE_INCOMPLETE              ErrorType = 56
	ErrorType_CKR_TEMPLATE_INCONSISTENT            ErrorType = 57
	ErrorType_CKR_TOKEN_NOT_PRESENT                ErrorType = 58
	ErrorType_CKR_TOKEN_NOT_RECOGNIZED             ErrorType = 59
	ErrorType_CKR_TOKEN_WRITE_PROTECTED            ErrorType = 60
	ErrorType_CKR_UNWRAPPING_KEY_HANDLE_INVALID    ErrorType = 61
	ErrorType_CKR_UNWRAPPING_KEY_SIZE_RANGE        ErrorType = 62
	ErrorType_CKR_UNWRAPPING_KEY_TYPE_INCONSISTENT ErrorType = 63
	ErrorType_CKR_USER_ALREADY_LOGGED_IN           ErrorType = 64
	ErrorType_CKR_USER_NOT_LOGGED_IN               ErrorType = 65
	ErrorType_CKR_USER_PIN_NOT_INITIALIZED         ErrorType = 66
	ErrorType_CKR_USER_TYPE_INVALID                ErrorType = 67
	ErrorType_CKR_USER_ANOTHER_ALREADY_LOGGED_IN   ErrorType = 68
	ErrorType_CKR_USER_TOO_MANY_TYPES              ErrorType = 69
	ErrorType_CKR_WRAPPED_KEY_INVALID              ErrorType = 70
	ErrorType_CKR_WRAPPED_KEY_LEN_RANGE            ErrorType = 71
	ErrorType_CKR_WRAPPING_KEY_HANDLE_INVALID      ErrorType = 72
	ErrorType_CKR_WRAPPING_KEY_SIZE_RANGE          ErrorType = 73
	ErrorType_CKR_WRAPPING_KEY_TYPE_INCONSISTENT   ErrorType = 74
	ErrorType_CKR_RANDOM_SEED_NOT_SUPPORTED        ErrorType = 75
	ErrorType_CKR_RANDOM_NO_RNG                    ErrorType = 76
	ErrorType_CKR_DOMAIN_PARAMS_INVALID            ErrorType = 77
	ErrorType_CKR_CURVE_NOT_SUPPORTED              ErrorType = 78
	ErrorType_CKR_BUFFER_TOO_SMALL                 ErrorType = 79
	ErrorType_CKR_SAVED_STATE_INVALID              ErrorType = 80
	ErrorType_CKR_INFORMATION_SENSITIVE            ErrorType = 81
	ErrorType_CKR_STATE_UNSAVEABLE                 ErrorType = 82
	ErrorType_CKR_CRYPTOKI_NOT_INITIALIZED         ErrorType = 83
	ErrorType_CKR_CRYPTOKI_ALREADY_INITIALIZED     ErrorType = 84
	ErrorType_CKR_MUTEX_BAD                        ErrorType = 85
	ErrorType_CKR_MUTEX_NOT_LOCKED                 ErrorType = 86
	ErrorType_CKR_NEW_PIN_MODE                     ErrorType = 87
	ErrorType_CKR_NEXT_OTP                         ErrorType = 88
	ErrorType_CKR_EXCEEDED_MAX_ITERATIONS          ErrorType = 89
	ErrorType_CKR_FIPS_SELF_TEST_FAILED            ErrorType = 90
	ErrorType_CKR_LIBRARY_LOAD_FAILED              ErrorType = 91
	ErrorType_CKR_PIN_TOO_WEAK                     ErrorType = 92
	ErrorType_CKR_PUBLIC_KEY_INVALID               ErrorType = 93
	ErrorType_CKR_FUNCTION_REJECTED                ErrorType = 94
	ErrorType_CKR_VENDOR_DEFINED                   ErrorType = 95
)

func (ErrorType) Descriptor

func (ErrorType) Descriptor() protoreflect.EnumDescriptor

func (ErrorType) Enum

func (x ErrorType) Enum() *ErrorType

func (ErrorType) EnumDescriptor deprecated

func (ErrorType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ErrorType.Descriptor instead.

func (ErrorType) Number

func (x ErrorType) Number() protoreflect.EnumNumber

func (ErrorType) String

func (x ErrorType) String() string

func (ErrorType) Type

type ExposedPadlockClient added in v0.2.0

type ExposedPadlockClient interface {
	// PostHello initiates a session with the application, generating an authentication token
	PostHello(ctx context.Context, in *AuthHello, opts ...grpc.CallOption) (*AuthToken, error)
	// GetApplicationListModules lists modules already connected to the application
	GetApplicationListModules(ctx context.Context, in *ApplicationListModulesRequest, opts ...grpc.CallOption) (*ApplicationListModulesResponse, error)
	// GetApplicationConnect connects a new module to the application
	GetApplicationConnect(ctx context.Context, in *ApplicationConnectRequest, opts ...grpc.CallOption) (ExposedPadlock_GetApplicationConnectClient, error)
	// GetModuleListSlots lists the slots on a module
	GetModuleListSlots(ctx context.Context, in *ModuleListSlotsRequest, opts ...grpc.CallOption) (*ModuleListSlotsResponse, error)
	// GetModuleInfo gets info for a specific module
	GetModuleInfo(ctx context.Context, in *ModuleInfoRequest, opts ...grpc.CallOption) (*ModuleInfoResponse, error)
	// GetSlotListMechanisms lists the mechanisms available on a slot
	GetSlotListMechanisms(ctx context.Context, in *SlotListMechanismsRequest, opts ...grpc.CallOption) (*SlotListMechanismsResponse, error)
	// PostSlotInitToken creates the token in the slot
	PostSlotInitToken(ctx context.Context, in *SlotInitTokenRequest, opts ...grpc.CallOption) (*SlotInitTokenResponse, error)
	// GetSlotOpenSession creates a session on the slot
	GetSlotOpenSession(ctx context.Context, in *SlotOpenSessionRequest, opts ...grpc.CallOption) (ExposedPadlock_GetSlotOpenSessionClient, error)
	// PostSessionKeepalive keeps a session alive without taking any action agains the HSM itself
	PostSessionKeepAlive(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*empty.Empty, error)
	// DeleteSessionClose closes the session
	DeleteSessionClose(ctx context.Context, in *SessionCloseRequest, opts ...grpc.CallOption) (*SessionCloseResponse, error)
	// PutSessionLogin logs into the session at the application level
	PutSessionLogin(ctx context.Context, in *SessionLoginRequest, opts ...grpc.CallOption) (*SessionLoginResponse, error)
	// PutSessionLogout logs out of the session at the application level
	PutSessionLogout(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*SessionLogoutResponse, error)
	// GetSessionListObjects lists the objects available in the session
	GetSessionListObjects(ctx context.Context, in *SessionListObjectsRequest, opts ...grpc.CallOption) (ExposedPadlock_GetSessionListObjectsClient, error)
	// PostSessionCreateObject creates an object
	PostSessionCreateObject(ctx context.Context, in *SessionCreateObjectRequest, opts ...grpc.CallOption) (*P11Object, error)
	// PostSessionGenerateRandom generates random data, exercising the CSPRNG
	PostSessionGenerateRandom(ctx context.Context, in *SessionGenerateRandomRequest, opts ...grpc.CallOption) (*SessionGenerateRandomResponse, error)
	// PostSessionGenerateKeyPair generates a keypair
	PostSessionGenerateKeyPair(ctx context.Context, in *SessionGenerateKeyPairRequest, opts ...grpc.CallOption) (*SessionGenerateKeyPairResponse, error)
	// PostSessionGenerateKey generates a key
	PostSessionGenerateKey(ctx context.Context, in *SessionGenerateKeyRequest, opts ...grpc.CallOption) (*P11Object, error)
	// GetObjectListAttributeValues lists values for the requested attributes
	GetObjectListAttributeValues(ctx context.Context, in *ObjectListAttributeValuesRequest, opts ...grpc.CallOption) (ExposedPadlock_GetObjectListAttributeValuesClient, error)
	// PostEncrypt encrypts data
	PostEncrypt(ctx context.Context, in *ObjectEncryptRequest, opts ...grpc.CallOption) (*ObjectEncryptResponse, error)
	// GetEncryptSegmented encrypts multiple data segments individually then one final one, for those few mechanisms where it matters
	GetEncryptSegmented(ctx context.Context, opts ...grpc.CallOption) (ExposedPadlock_GetEncryptSegmentedClient, error)
	// PostDecrypt decrypts data
	PostDecrypt(ctx context.Context, in *ObjectDecryptRequest, opts ...grpc.CallOption) (*ObjectDecryptResponse, error)
	// GetDecryptSegmented decrypts multiple data segments individually then one final one, for those few mechanisms where it matters
	GetDecryptSegmented(ctx context.Context, opts ...grpc.CallOption) (ExposedPadlock_GetDecryptSegmentedClient, error)
	// PostSign signs a message
	PostSign(ctx context.Context, in *ObjectSignRequest, opts ...grpc.CallOption) (*ObjectSignResponse, error)
	// GetSignSegmented signs multiple data segments individually then one final part, for those few mechanisms where it matters
	GetSignSegmented(ctx context.Context, opts ...grpc.CallOption) (ExposedPadlock_GetSignSegmentedClient, error)
	// PostVerify verifies a message and signature
	PostVerify(ctx context.Context, in *ObjectVerifyRequest, opts ...grpc.CallOption) (*ObjectVerifyResponse, error)
	// GetVerifySegmented verifies multiple data segments individually then the final signature, for those  few mechanisms where it matters.
	GetVerifySegmented(ctx context.Context, opts ...grpc.CallOption) (ExposedPadlock_GetVerifySegmentedClient, error)
	// PutWrapKey wraps a key
	PutWrapKey(ctx context.Context, in *ObjectWrapKeyRequest, opts ...grpc.CallOption) (*ObjectWrapKeyResponse, error)
	// PutUnwrapKey unwraps a key
	PutUnwrapKey(ctx context.Context, in *ObjectUnwrapKeyRequest, opts ...grpc.CallOption) (*P11Object, error)
	// DeleteDestroyObject destroys an object
	DeleteDestroyObject(ctx context.Context, in *ObjectDestroyObjectRequest, opts ...grpc.CallOption) (*ObjectDestroyObjectResponse, error)
	// PutCopyObject copies an object with new attributes if possible
	PutCopyObject(ctx context.Context, in *ObjectCopyObjectRequest, opts ...grpc.CallOption) (*P11Object, error)
}

ExposedPadlockClient is the client API for ExposedPadlock service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewExposedPadlockClient added in v0.2.0

func NewExposedPadlockClient(cc grpc.ClientConnInterface) ExposedPadlockClient

type ExposedPadlockServer added in v0.2.0

type ExposedPadlockServer interface {
	// PostHello initiates a session with the application, generating an authentication token
	PostHello(context.Context, *AuthHello) (*AuthToken, error)
	// GetApplicationListModules lists modules already connected to the application
	GetApplicationListModules(context.Context, *ApplicationListModulesRequest) (*ApplicationListModulesResponse, error)
	// GetApplicationConnect connects a new module to the application
	GetApplicationConnect(*ApplicationConnectRequest, ExposedPadlock_GetApplicationConnectServer) error
	// GetModuleListSlots lists the slots on a module
	GetModuleListSlots(context.Context, *ModuleListSlotsRequest) (*ModuleListSlotsResponse, error)
	// GetModuleInfo gets info for a specific module
	GetModuleInfo(context.Context, *ModuleInfoRequest) (*ModuleInfoResponse, error)
	// GetSlotListMechanisms lists the mechanisms available on a slot
	GetSlotListMechanisms(context.Context, *SlotListMechanismsRequest) (*SlotListMechanismsResponse, error)
	// PostSlotInitToken creates the token in the slot
	PostSlotInitToken(context.Context, *SlotInitTokenRequest) (*SlotInitTokenResponse, error)
	// GetSlotOpenSession creates a session on the slot
	GetSlotOpenSession(*SlotOpenSessionRequest, ExposedPadlock_GetSlotOpenSessionServer) error
	// PostSessionKeepalive keeps a session alive without taking any action agains the HSM itself
	PostSessionKeepAlive(context.Context, *SessionID) (*empty.Empty, error)
	// DeleteSessionClose closes the session
	DeleteSessionClose(context.Context, *SessionCloseRequest) (*SessionCloseResponse, error)
	// PutSessionLogin logs into the session at the application level
	PutSessionLogin(context.Context, *SessionLoginRequest) (*SessionLoginResponse, error)
	// PutSessionLogout logs out of the session at the application level
	PutSessionLogout(context.Context, *SessionID) (*SessionLogoutResponse, error)
	// GetSessionListObjects lists the objects available in the session
	GetSessionListObjects(*SessionListObjectsRequest, ExposedPadlock_GetSessionListObjectsServer) error
	// PostSessionCreateObject creates an object
	PostSessionCreateObject(context.Context, *SessionCreateObjectRequest) (*P11Object, error)
	// PostSessionGenerateRandom generates random data, exercising the CSPRNG
	PostSessionGenerateRandom(context.Context, *SessionGenerateRandomRequest) (*SessionGenerateRandomResponse, error)
	// PostSessionGenerateKeyPair generates a keypair
	PostSessionGenerateKeyPair(context.Context, *SessionGenerateKeyPairRequest) (*SessionGenerateKeyPairResponse, error)
	// PostSessionGenerateKey generates a key
	PostSessionGenerateKey(context.Context, *SessionGenerateKeyRequest) (*P11Object, error)
	// GetObjectListAttributeValues lists values for the requested attributes
	GetObjectListAttributeValues(*ObjectListAttributeValuesRequest, ExposedPadlock_GetObjectListAttributeValuesServer) error
	// PostEncrypt encrypts data
	PostEncrypt(context.Context, *ObjectEncryptRequest) (*ObjectEncryptResponse, error)
	// GetEncryptSegmented encrypts multiple data segments individually then one final one, for those few mechanisms where it matters
	GetEncryptSegmented(ExposedPadlock_GetEncryptSegmentedServer) error
	// PostDecrypt decrypts data
	PostDecrypt(context.Context, *ObjectDecryptRequest) (*ObjectDecryptResponse, error)
	// GetDecryptSegmented decrypts multiple data segments individually then one final one, for those few mechanisms where it matters
	GetDecryptSegmented(ExposedPadlock_GetDecryptSegmentedServer) error
	// PostSign signs a message
	PostSign(context.Context, *ObjectSignRequest) (*ObjectSignResponse, error)
	// GetSignSegmented signs multiple data segments individually then one final part, for those few mechanisms where it matters
	GetSignSegmented(ExposedPadlock_GetSignSegmentedServer) error
	// PostVerify verifies a message and signature
	PostVerify(context.Context, *ObjectVerifyRequest) (*ObjectVerifyResponse, error)
	// GetVerifySegmented verifies multiple data segments individually then the final signature, for those  few mechanisms where it matters.
	GetVerifySegmented(ExposedPadlock_GetVerifySegmentedServer) error
	// PutWrapKey wraps a key
	PutWrapKey(context.Context, *ObjectWrapKeyRequest) (*ObjectWrapKeyResponse, error)
	// PutUnwrapKey unwraps a key
	PutUnwrapKey(context.Context, *ObjectUnwrapKeyRequest) (*P11Object, error)
	// DeleteDestroyObject destroys an object
	DeleteDestroyObject(context.Context, *ObjectDestroyObjectRequest) (*ObjectDestroyObjectResponse, error)
	// PutCopyObject copies an object with new attributes if possible
	PutCopyObject(context.Context, *ObjectCopyObjectRequest) (*P11Object, error)
	// contains filtered or unexported methods
}

ExposedPadlockServer is the server API for ExposedPadlock service. All implementations must embed UnimplementedExposedPadlockServer for forward compatibility

type ExposedPadlock_GetApplicationConnectClient added in v0.3.0

type ExposedPadlock_GetApplicationConnectClient interface {
	Recv() (*ApplicationConnectUpdate, error)
	grpc.ClientStream
}

type ExposedPadlock_GetApplicationConnectServer added in v0.3.0

type ExposedPadlock_GetApplicationConnectServer interface {
	Send(*ApplicationConnectUpdate) error
	grpc.ServerStream
}

type ExposedPadlock_GetDecryptSegmentedClient added in v0.7.3

type ExposedPadlock_GetDecryptSegmentedClient interface {
	Send(*ObjectDecryptSegmentedRequest) error
	Recv() (*ObjectDecryptSegmentedResponse, error)
	grpc.ClientStream
}

type ExposedPadlock_GetDecryptSegmentedServer added in v0.7.3

type ExposedPadlock_GetDecryptSegmentedServer interface {
	Send(*ObjectDecryptSegmentedResponse) error
	Recv() (*ObjectDecryptSegmentedRequest, error)
	grpc.ServerStream
}

type ExposedPadlock_GetEncryptSegmentedClient added in v0.7.3

type ExposedPadlock_GetEncryptSegmentedClient interface {
	Send(*ObjectEncryptSegmentedRequest) error
	Recv() (*ObjectEncryptSegmentedResponse, error)
	grpc.ClientStream
}

type ExposedPadlock_GetEncryptSegmentedServer added in v0.7.3

type ExposedPadlock_GetEncryptSegmentedServer interface {
	Send(*ObjectEncryptSegmentedResponse) error
	Recv() (*ObjectEncryptSegmentedRequest, error)
	grpc.ServerStream
}

type ExposedPadlock_GetObjectListAttributeValuesClient added in v0.2.0

type ExposedPadlock_GetObjectListAttributeValuesClient interface {
	Recv() (*ObjectListAttributeValuesUpdate, error)
	grpc.ClientStream
}

type ExposedPadlock_GetObjectListAttributeValuesServer added in v0.2.0

type ExposedPadlock_GetObjectListAttributeValuesServer interface {
	Send(*ObjectListAttributeValuesUpdate) error
	grpc.ServerStream
}

type ExposedPadlock_GetSessionListObjectsClient added in v0.2.0

type ExposedPadlock_GetSessionListObjectsClient interface {
	Recv() (*P11Object, error)
	grpc.ClientStream
}

type ExposedPadlock_GetSessionListObjectsServer added in v0.2.0

type ExposedPadlock_GetSessionListObjectsServer interface {
	Send(*P11Object) error
	grpc.ServerStream
}

type ExposedPadlock_GetSignSegmentedClient added in v0.7.3

type ExposedPadlock_GetSignSegmentedClient interface {
	Send(*ObjectSignSegmentedRequest) error
	CloseAndRecv() (*ObjectSignSegmentedResponse, error)
	grpc.ClientStream
}

type ExposedPadlock_GetSignSegmentedServer added in v0.7.3

type ExposedPadlock_GetSignSegmentedServer interface {
	SendAndClose(*ObjectSignSegmentedResponse) error
	Recv() (*ObjectSignSegmentedRequest, error)
	grpc.ServerStream
}

type ExposedPadlock_GetSlotOpenSessionClient added in v0.3.0

type ExposedPadlock_GetSlotOpenSessionClient interface {
	Recv() (*SlotOpenSessionUpdate, error)
	grpc.ClientStream
}

type ExposedPadlock_GetSlotOpenSessionServer added in v0.3.0

type ExposedPadlock_GetSlotOpenSessionServer interface {
	Send(*SlotOpenSessionUpdate) error
	grpc.ServerStream
}

type ExposedPadlock_GetVerifySegmentedClient added in v0.7.3

type ExposedPadlock_GetVerifySegmentedClient interface {
	Send(*ObjectVerifySegmentedRequest) error
	CloseAndRecv() (*ObjectVerifySegmentedResponse, error)
	grpc.ClientStream
}

type ExposedPadlock_GetVerifySegmentedServer added in v0.7.3

type ExposedPadlock_GetVerifySegmentedServer interface {
	SendAndClose(*ObjectVerifySegmentedResponse) error
	Recv() (*ObjectVerifySegmentedRequest, error)
	grpc.ServerStream
}

type FlagType

type FlagType int32
const (
	FlagType_CKF_UNDEFINED_UNKNOWN              FlagType = 0
	FlagType_CKF_TOKEN_PRESENT                  FlagType = 1
	FlagType_CKF_REMOVABLE_DEVICE               FlagType = 2
	FlagType_CKF_HW_SLOT                        FlagType = 3
	FlagType_CKF_RNG                            FlagType = 4
	FlagType_CKF_WRITE_PROTECTED                FlagType = 5
	FlagType_CKF_LOGIN_REQUIRED                 FlagType = 6
	FlagType_CKF_USER_PIN_INITIALIZED           FlagType = 7
	FlagType_CKF_RESTORE_KEY_NOT_NEEDED         FlagType = 8
	FlagType_CKF_CLOCK_ON_TOKEN                 FlagType = 9
	FlagType_CKF_PROTECTED_AUTHENTICATION_PATH  FlagType = 10
	FlagType_CKF_DUAL_CRYPTO_OPERATIONS         FlagType = 11
	FlagType_CKF_TOKEN_INITIALIZED              FlagType = 12
	FlagType_CKF_SECONDARY_AUTHENTICATION       FlagType = 13
	FlagType_CKF_USER_PIN_COUNT_LOW             FlagType = 14
	FlagType_CKF_USER_PIN_FINAL_TRY             FlagType = 15
	FlagType_CKF_USER_PIN_LOCKED                FlagType = 16
	FlagType_CKF_USER_PIN_TO_BE_CHANGED         FlagType = 17
	FlagType_CKF_SO_PIN_COUNT_LOW               FlagType = 18
	FlagType_CKF_SO_PIN_FINAL_TRY               FlagType = 19
	FlagType_CKF_SO_PIN_LOCKED                  FlagType = 20
	FlagType_CKF_SO_PIN_TO_BE_CHANGED           FlagType = 21
	FlagType_CKF_ERROR_STATE                    FlagType = 22
	FlagType_CKF_RW_SESSION                     FlagType = 23
	FlagType_CKF_SERIAL_SESSION                 FlagType = 24
	FlagType_CKF_ARRAY_ATTRIBUTE                FlagType = 25
	FlagType_CKF_HW                             FlagType = 26
	FlagType_CKF_ENCRYPT                        FlagType = 27
	FlagType_CKF_DECRYPT                        FlagType = 28
	FlagType_CKF_DIGEST                         FlagType = 29
	FlagType_CKF_SIGN                           FlagType = 30
	FlagType_CKF_SIGN_RECOVER                   FlagType = 31
	FlagType_CKF_VERIFY                         FlagType = 32
	FlagType_CKF_VERIFY_RECOVER                 FlagType = 33
	FlagType_CKF_GENERATE                       FlagType = 34
	FlagType_CKF_GENERATE_KEY_PAIR              FlagType = 35
	FlagType_CKF_WRAP                           FlagType = 36
	FlagType_CKF_UNWRAP                         FlagType = 37
	FlagType_CKF_DERIVE                         FlagType = 38
	FlagType_CKF_EC_F_P                         FlagType = 39
	FlagType_CKF_EC_F_2M                        FlagType = 40
	FlagType_CKF_EC_ECPARAMETERS                FlagType = 41
	FlagType_CKF_EC_NAMEDCURVE                  FlagType = 42
	FlagType_CKF_EC_UNCOMPRESS                  FlagType = 43
	FlagType_CKF_EC_COMPRESS                    FlagType = 44
	FlagType_CKF_EXTENSION                      FlagType = 45
	FlagType_CKF_LIBRARY_CANT_CREATE_OS_THREADS FlagType = 46
	FlagType_CKF_OS_LOCKING_OK                  FlagType = 47
	FlagType_CKF_DONT_BLOCK                     FlagType = 48
	FlagType_CKF_NEXT_OTP                       FlagType = 49
	FlagType_CKF_EXCLUDE_TIME                   FlagType = 50
	FlagType_CKF_EXCLUDE_COUNTER                FlagType = 51
	FlagType_CKF_EXCLUDE_CHALLENGE              FlagType = 52
	FlagType_CKF_EXCLUDE_PIN                    FlagType = 53
	FlagType_CKF_USER_FRIENDLY_OTP              FlagType = 54
)

func (FlagType) Descriptor

func (FlagType) Descriptor() protoreflect.EnumDescriptor

func (FlagType) Enum

func (x FlagType) Enum() *FlagType

func (FlagType) EnumDescriptor deprecated

func (FlagType) EnumDescriptor() ([]byte, []int)

Deprecated: Use FlagType.Descriptor instead.

func (FlagType) Number

func (x FlagType) Number() protoreflect.EnumNumber

func (FlagType) String

func (x FlagType) String() string

func (FlagType) Type

type HashingAlgorithm added in v0.7.4

type HashingAlgorithm int32
const (
	HashingAlgorithm_CKG_MGF1_UNDEFINED_UNKNOWN HashingAlgorithm = 0
	HashingAlgorithm_CKG_MGF1_SHA1              HashingAlgorithm = 1
	HashingAlgorithm_CKG_MGF1_SHA224            HashingAlgorithm = 5
	HashingAlgorithm_CKG_MGF1_SHA256            HashingAlgorithm = 2
	HashingAlgorithm_CKG_MGF1_SHA384            HashingAlgorithm = 3
	HashingAlgorithm_CKG_MGF1_SHA512            HashingAlgorithm = 4
	HashingAlgorithm_CKG_MGF1_SHA3_224          HashingAlgorithm = 6
	HashingAlgorithm_CKG_MGF1_SHA3_256          HashingAlgorithm = 7
	HashingAlgorithm_CKG_MGF1_SHA3_384          HashingAlgorithm = 8
	HashingAlgorithm_CKG_MGF1_SHA3_512          HashingAlgorithm = 9
)

func (HashingAlgorithm) Descriptor added in v0.7.4

func (HashingAlgorithm) Enum added in v0.7.4

func (HashingAlgorithm) EnumDescriptor deprecated added in v0.7.4

func (HashingAlgorithm) EnumDescriptor() ([]byte, []int)

Deprecated: Use HashingAlgorithm.Descriptor instead.

func (HashingAlgorithm) Number added in v0.7.4

func (HashingAlgorithm) String added in v0.7.4

func (x HashingAlgorithm) String() string

func (HashingAlgorithm) Type added in v0.7.4

type KeyType

type KeyType int32
const (
	KeyType_CKK_UNDEFINED_UNKNOWN KeyType = 0
	KeyType_CKK_RSA               KeyType = 1
	KeyType_CKK_DSA               KeyType = 2
	KeyType_CKK_DH                KeyType = 3
	KeyType_CKK_ECDSA             KeyType = 4
	KeyType_CKK_EC                KeyType = 5
	KeyType_CKK_X9_42_DH          KeyType = 6
	KeyType_CKK_KEA               KeyType = 7
	KeyType_CKK_GENERIC_SECRET    KeyType = 8
	KeyType_CKK_RC2               KeyType = 9
	KeyType_CKK_RC4               KeyType = 10
	KeyType_CKK_DES               KeyType = 11
	KeyType_CKK_DES2              KeyType = 12
	KeyType_CKK_DES3              KeyType = 13
	KeyType_CKK_CAST              KeyType = 14
	KeyType_CKK_CAST3             KeyType = 15
	KeyType_CKK_CAST5             KeyType = 16
	KeyType_CKK_CAST128           KeyType = 17
	KeyType_CKK_RC5               KeyType = 18
	KeyType_CKK_IDEA              KeyType = 19
	KeyType_CKK_SKIPJACK          KeyType = 20
	KeyType_CKK_BATON             KeyType = 21
	KeyType_CKK_JUNIPER           KeyType = 22
	KeyType_CKK_CDMF              KeyType = 23
	KeyType_CKK_AES               KeyType = 24
	KeyType_CKK_BLOWFISH          KeyType = 25
	KeyType_CKK_TWOFISH           KeyType = 26
	KeyType_CKK_SECURID           KeyType = 27
	KeyType_CKK_HOTP              KeyType = 28
	KeyType_CKK_ACTI              KeyType = 29
	KeyType_CKK_CAMELLIA          KeyType = 30
	KeyType_CKK_ARIA              KeyType = 31
	KeyType_CKK_SHA512_224_HMAC   KeyType = 32
	KeyType_CKK_SHA512_256_HMAC   KeyType = 33
	KeyType_CKK_SHA512_T_HMAC     KeyType = 34
	KeyType_CKK_SHA_1_HMAC        KeyType = 35
	KeyType_CKK_SHA224_HMAC       KeyType = 36
	KeyType_CKK_SHA256_HMAC       KeyType = 37
	KeyType_CKK_SHA384_HMAC       KeyType = 38
	KeyType_CKK_SHA512_HMAC       KeyType = 39
	KeyType_CKK_SEED              KeyType = 40
	KeyType_CKK_GOSTR3410         KeyType = 41
	KeyType_CKK_GOSTR3411         KeyType = 42
	KeyType_CKK_GOST28147         KeyType = 43
	KeyType_CKK_SHA3_224_HMAC     KeyType = 44
	KeyType_CKK_SHA3_256_HMAC     KeyType = 45
	KeyType_CKK_SHA3_384_HMAC     KeyType = 46
	KeyType_CKK_SHA3_512_HMAC     KeyType = 47
	KeyType_CKK_VENDOR_DEFINED    KeyType = 48
)

func (KeyType) Descriptor

func (KeyType) Descriptor() protoreflect.EnumDescriptor

func (KeyType) Enum

func (x KeyType) Enum() *KeyType

func (KeyType) EnumDescriptor deprecated

func (KeyType) EnumDescriptor() ([]byte, []int)

Deprecated: Use KeyType.Descriptor instead.

func (KeyType) Number

func (x KeyType) Number() protoreflect.EnumNumber

func (KeyType) String

func (x KeyType) String() string

func (KeyType) Type

func (KeyType) Type() protoreflect.EnumType

type Mechanism

type Mechanism struct {
	Type MechanismType `protobuf:"varint,1,opt,name=type,proto3,enum=padlock.MechanismType" json:"type,omitempty"`
	// Types that are assignable to Data:
	//	*Mechanism_Raw
	//	*Mechanism_Ecdh1
	//	*Mechanism_Gcm
	//	*Mechanism_Oaep
	//	*Mechanism_Pss
	Data isMechanism_Data `protobuf_oneof:"data"`
	// contains filtered or unexported fields
}

func (*Mechanism) Descriptor deprecated

func (*Mechanism) Descriptor() ([]byte, []int)

Deprecated: Use Mechanism.ProtoReflect.Descriptor instead.

func (*Mechanism) GetData added in v0.7.2

func (m *Mechanism) GetData() isMechanism_Data

func (*Mechanism) GetEcdh1 added in v0.7.2

func (x *Mechanism) GetEcdh1() *MechanismECDH1DeriveParams

func (*Mechanism) GetGcm added in v0.7.2

func (x *Mechanism) GetGcm() *MechanismGCMParams

func (*Mechanism) GetOaep added in v0.7.2

func (x *Mechanism) GetOaep() *MechanismOAEPParams

func (*Mechanism) GetPss added in v0.7.2

func (x *Mechanism) GetPss() *MechanismPSSParams

func (*Mechanism) GetRaw added in v0.7.2

func (x *Mechanism) GetRaw() []byte

func (*Mechanism) GetType

func (x *Mechanism) GetType() MechanismType

func (*Mechanism) ProtoMessage

func (*Mechanism) ProtoMessage()

func (*Mechanism) ProtoReflect

func (x *Mechanism) ProtoReflect() protoreflect.Message

func (*Mechanism) Reset

func (x *Mechanism) Reset()

func (*Mechanism) String

func (x *Mechanism) String() string

type MechanismECDH1DeriveParams added in v0.7.2

type MechanismECDH1DeriveParams struct {
	Kdf           uint32 `protobuf:"varint,1,opt,name=kdf,proto3" json:"kdf,omitempty"`
	SharedData    []byte `protobuf:"bytes,2,opt,name=shared_data,json=sharedData,proto3" json:"shared_data,omitempty"`
	PublicKeyData []byte `protobuf:"bytes,3,opt,name=public_key_data,json=publicKeyData,proto3" json:"public_key_data,omitempty"`
	// contains filtered or unexported fields
}

func (*MechanismECDH1DeriveParams) Descriptor deprecated added in v0.7.2

func (*MechanismECDH1DeriveParams) Descriptor() ([]byte, []int)

Deprecated: Use MechanismECDH1DeriveParams.ProtoReflect.Descriptor instead.

func (*MechanismECDH1DeriveParams) GetKdf added in v0.7.2

func (x *MechanismECDH1DeriveParams) GetKdf() uint32

func (*MechanismECDH1DeriveParams) GetPublicKeyData added in v0.7.2

func (x *MechanismECDH1DeriveParams) GetPublicKeyData() []byte

func (*MechanismECDH1DeriveParams) GetSharedData added in v0.7.2

func (x *MechanismECDH1DeriveParams) GetSharedData() []byte

func (*MechanismECDH1DeriveParams) ProtoMessage added in v0.7.2

func (*MechanismECDH1DeriveParams) ProtoMessage()

func (*MechanismECDH1DeriveParams) ProtoReflect added in v0.7.2

func (*MechanismECDH1DeriveParams) Reset added in v0.7.2

func (x *MechanismECDH1DeriveParams) Reset()

func (*MechanismECDH1DeriveParams) String added in v0.7.2

func (x *MechanismECDH1DeriveParams) String() string

type MechanismGCMParams added in v0.7.2

type MechanismGCMParams struct {
	Iv      []byte `protobuf:"bytes,1,opt,name=iv,proto3" json:"iv,omitempty"`
	Aad     []byte `protobuf:"bytes,2,opt,name=aad,proto3" json:"aad,omitempty"`
	TagSize uint32 `protobuf:"varint,3,opt,name=tag_size,json=tagSize,proto3" json:"tag_size,omitempty"`
	// contains filtered or unexported fields
}

func (*MechanismGCMParams) Descriptor deprecated added in v0.7.2

func (*MechanismGCMParams) Descriptor() ([]byte, []int)

Deprecated: Use MechanismGCMParams.ProtoReflect.Descriptor instead.

func (*MechanismGCMParams) GetAad added in v0.7.2

func (x *MechanismGCMParams) GetAad() []byte

func (*MechanismGCMParams) GetIv added in v0.7.2

func (x *MechanismGCMParams) GetIv() []byte

func (*MechanismGCMParams) GetTagSize added in v0.7.2

func (x *MechanismGCMParams) GetTagSize() uint32

func (*MechanismGCMParams) ProtoMessage added in v0.7.2

func (*MechanismGCMParams) ProtoMessage()

func (*MechanismGCMParams) ProtoReflect added in v0.7.2

func (x *MechanismGCMParams) ProtoReflect() protoreflect.Message

func (*MechanismGCMParams) Reset added in v0.7.2

func (x *MechanismGCMParams) Reset()

func (*MechanismGCMParams) String added in v0.7.2

func (x *MechanismGCMParams) String() string

type MechanismOAEPParams added in v0.7.2

type MechanismOAEPParams struct {
	HashAlg    uint32 `protobuf:"varint,1,opt,name=hash_alg,json=hashAlg,proto3" json:"hash_alg,omitempty"`
	Mgf        uint32 `protobuf:"varint,2,opt,name=mgf,proto3" json:"mgf,omitempty"`
	SourceType uint32 `protobuf:"varint,3,opt,name=source_type,json=sourceType,proto3" json:"source_type,omitempty"`
	SourceData []byte `protobuf:"bytes,4,opt,name=source_data,json=sourceData,proto3" json:"source_data,omitempty"`
	// contains filtered or unexported fields
}

func (*MechanismOAEPParams) Descriptor deprecated added in v0.7.2

func (*MechanismOAEPParams) Descriptor() ([]byte, []int)

Deprecated: Use MechanismOAEPParams.ProtoReflect.Descriptor instead.

func (*MechanismOAEPParams) GetHashAlg added in v0.7.2

func (x *MechanismOAEPParams) GetHashAlg() uint32

func (*MechanismOAEPParams) GetMgf added in v0.7.2

func (x *MechanismOAEPParams) GetMgf() uint32

func (*MechanismOAEPParams) GetSourceData added in v0.7.2

func (x *MechanismOAEPParams) GetSourceData() []byte

func (*MechanismOAEPParams) GetSourceType added in v0.7.2

func (x *MechanismOAEPParams) GetSourceType() uint32

func (*MechanismOAEPParams) ProtoMessage added in v0.7.2

func (*MechanismOAEPParams) ProtoMessage()

func (*MechanismOAEPParams) ProtoReflect added in v0.7.2

func (x *MechanismOAEPParams) ProtoReflect() protoreflect.Message

func (*MechanismOAEPParams) Reset added in v0.7.2

func (x *MechanismOAEPParams) Reset()

func (*MechanismOAEPParams) String added in v0.7.2

func (x *MechanismOAEPParams) String() string

type MechanismPSSParams added in v0.7.2

type MechanismPSSParams struct {
	HashAlg    uint32 `protobuf:"varint,1,opt,name=hash_alg,json=hashAlg,proto3" json:"hash_alg,omitempty"`
	Mgf        uint32 `protobuf:"varint,2,opt,name=mgf,proto3" json:"mgf,omitempty"`
	SaltLength uint32 `protobuf:"varint,3,opt,name=salt_length,json=saltLength,proto3" json:"salt_length,omitempty"`
	// contains filtered or unexported fields
}

func (*MechanismPSSParams) Descriptor deprecated added in v0.7.2

func (*MechanismPSSParams) Descriptor() ([]byte, []int)

Deprecated: Use MechanismPSSParams.ProtoReflect.Descriptor instead.

func (*MechanismPSSParams) GetHashAlg added in v0.7.2

func (x *MechanismPSSParams) GetHashAlg() uint32

func (*MechanismPSSParams) GetMgf added in v0.7.2

func (x *MechanismPSSParams) GetMgf() uint32

func (*MechanismPSSParams) GetSaltLength added in v0.7.2

func (x *MechanismPSSParams) GetSaltLength() uint32

func (*MechanismPSSParams) ProtoMessage added in v0.7.2

func (*MechanismPSSParams) ProtoMessage()

func (*MechanismPSSParams) ProtoReflect added in v0.7.2

func (x *MechanismPSSParams) ProtoReflect() protoreflect.Message

func (*MechanismPSSParams) Reset added in v0.7.2

func (x *MechanismPSSParams) Reset()

func (*MechanismPSSParams) String added in v0.7.2

func (x *MechanismPSSParams) String() string

type MechanismType

type MechanismType int32
const (
	MechanismType_CKM_UNDEFINED_UNKNOWN              MechanismType = 0
	MechanismType_CKM_RSA_PKCS_KEY_PAIR_GEN          MechanismType = 1
	MechanismType_CKM_RSA_PKCS                       MechanismType = 2
	MechanismType_CKM_RSA_9796                       MechanismType = 3
	MechanismType_CKM_RSA_X_509                      MechanismType = 4
	MechanismType_CKM_MD2_RSA_PKCS                   MechanismType = 5
	MechanismType_CKM_MD5_RSA_PKCS                   MechanismType = 6
	MechanismType_CKM_SHA1_RSA_PKCS                  MechanismType = 7
	MechanismType_CKM_RIPEMD128_RSA_PKCS             MechanismType = 8
	MechanismType_CKM_RIPEMD160_RSA_PKCS             MechanismType = 9
	MechanismType_CKM_RSA_PKCS_OAEP                  MechanismType = 10
	MechanismType_CKM_RSA_X9_31_KEY_PAIR_GEN         MechanismType = 11
	MechanismType_CKM_RSA_X9_31                      MechanismType = 12
	MechanismType_CKM_SHA1_RSA_X9_31                 MechanismType = 13
	MechanismType_CKM_RSA_PKCS_PSS                   MechanismType = 14
	MechanismType_CKM_SHA1_RSA_PKCS_PSS              MechanismType = 15
	MechanismType_CKM_DSA_KEY_PAIR_GEN               MechanismType = 16
	MechanismType_CKM_DSA                            MechanismType = 17
	MechanismType_CKM_DSA_SHA1                       MechanismType = 18
	MechanismType_CKM_DSA_FIPS_G_GEN                 MechanismType = 19
	MechanismType_CKM_DSA_SHA224                     MechanismType = 20
	MechanismType_CKM_DSA_SHA256                     MechanismType = 21
	MechanismType_CKM_DSA_SHA384                     MechanismType = 22
	MechanismType_CKM_DSA_SHA512                     MechanismType = 23
	MechanismType_CKM_DSA_SHA3_224                   MechanismType = 24
	MechanismType_CKM_DSA_SHA3_256                   MechanismType = 25
	MechanismType_CKM_DSA_SHA3_384                   MechanismType = 26
	MechanismType_CKM_DSA_SHA3_512                   MechanismType = 27
	MechanismType_CKM_DH_PKCS_KEY_PAIR_GEN           MechanismType = 28
	MechanismType_CKM_DH_PKCS_DERIVE                 MechanismType = 29
	MechanismType_CKM_X9_42_DH_KEY_PAIR_GEN          MechanismType = 30
	MechanismType_CKM_X9_42_DH_DERIVE                MechanismType = 31
	MechanismType_CKM_X9_42_DH_HYBRID_DERIVE         MechanismType = 32
	MechanismType_CKM_X9_42_MQV_DERIVE               MechanismType = 33
	MechanismType_CKM_SHA256_RSA_PKCS                MechanismType = 34
	MechanismType_CKM_SHA384_RSA_PKCS                MechanismType = 35
	MechanismType_CKM_SHA512_RSA_PKCS                MechanismType = 36
	MechanismType_CKM_SHA256_RSA_PKCS_PSS            MechanismType = 37
	MechanismType_CKM_SHA384_RSA_PKCS_PSS            MechanismType = 38
	MechanismType_CKM_SHA512_RSA_PKCS_PSS            MechanismType = 39
	MechanismType_CKM_SHA224_RSA_PKCS                MechanismType = 40
	MechanismType_CKM_SHA224_RSA_PKCS_PSS            MechanismType = 41
	MechanismType_CKM_SHA512_224                     MechanismType = 42
	MechanismType_CKM_SHA512_224_HMAC                MechanismType = 43
	MechanismType_CKM_SHA512_224_HMAC_GENERAL        MechanismType = 44
	MechanismType_CKM_SHA512_224_KEY_DERIVATION      MechanismType = 45
	MechanismType_CKM_SHA512_256                     MechanismType = 46
	MechanismType_CKM_SHA512_256_HMAC                MechanismType = 47
	MechanismType_CKM_SHA512_256_HMAC_GENERAL        MechanismType = 48
	MechanismType_CKM_SHA512_256_KEY_DERIVATION      MechanismType = 49
	MechanismType_CKM_SHA512_T                       MechanismType = 50
	MechanismType_CKM_SHA512_T_HMAC                  MechanismType = 51
	MechanismType_CKM_SHA512_T_HMAC_GENERAL          MechanismType = 52
	MechanismType_CKM_SHA512_T_KEY_DERIVATION        MechanismType = 53
	MechanismType_CKM_SHA3_256_RSA_PKCS              MechanismType = 54
	MechanismType_CKM_SHA3_384_RSA_PKCS              MechanismType = 55
	MechanismType_CKM_SHA3_512_RSA_PKCS              MechanismType = 56
	MechanismType_CKM_SHA3_256_RSA_PKCS_PSS          MechanismType = 57
	MechanismType_CKM_SHA3_384_RSA_PKCS_PSS          MechanismType = 58
	MechanismType_CKM_SHA3_512_RSA_PKCS_PSS          MechanismType = 59
	MechanismType_CKM_SHA3_224_RSA_PKCS              MechanismType = 60
	MechanismType_CKM_SHA3_224_RSA_PKCS_PSS          MechanismType = 61
	MechanismType_CKM_RC2_KEY_GEN                    MechanismType = 62
	MechanismType_CKM_RC2_ECB                        MechanismType = 63
	MechanismType_CKM_RC2_CBC                        MechanismType = 64
	MechanismType_CKM_RC2_MAC                        MechanismType = 65
	MechanismType_CKM_RC2_MAC_GENERAL                MechanismType = 66
	MechanismType_CKM_RC2_CBC_PAD                    MechanismType = 67
	MechanismType_CKM_RC4_KEY_GEN                    MechanismType = 68
	MechanismType_CKM_RC4                            MechanismType = 69
	MechanismType_CKM_DES_KEY_GEN                    MechanismType = 70
	MechanismType_CKM_DES_ECB                        MechanismType = 71
	MechanismType_CKM_DES_CBC                        MechanismType = 72
	MechanismType_CKM_DES_MAC                        MechanismType = 73
	MechanismType_CKM_DES_MAC_GENERAL                MechanismType = 74
	MechanismType_CKM_DES_CBC_PAD                    MechanismType = 75
	MechanismType_CKM_DES2_KEY_GEN                   MechanismType = 76
	MechanismType_CKM_DES3_KEY_GEN                   MechanismType = 77
	MechanismType_CKM_DES3_ECB                       MechanismType = 78
	MechanismType_CKM_DES3_CBC                       MechanismType = 79
	MechanismType_CKM_DES3_MAC                       MechanismType = 80
	MechanismType_CKM_DES3_MAC_GENERAL               MechanismType = 81
	MechanismType_CKM_DES3_CBC_PAD                   MechanismType = 82
	MechanismType_CKM_DES3_CMAC_GENERAL              MechanismType = 83
	MechanismType_CKM_DES3_CMAC                      MechanismType = 84
	MechanismType_CKM_CDMF_KEY_GEN                   MechanismType = 85
	MechanismType_CKM_CDMF_ECB                       MechanismType = 86
	MechanismType_CKM_CDMF_CBC                       MechanismType = 87
	MechanismType_CKM_CDMF_MAC                       MechanismType = 88
	MechanismType_CKM_CDMF_MAC_GENERAL               MechanismType = 89
	MechanismType_CKM_CDMF_CBC_PAD                   MechanismType = 90
	MechanismType_CKM_DES_OFB64                      MechanismType = 91
	MechanismType_CKM_DES_OFB8                       MechanismType = 92
	MechanismType_CKM_DES_CFB64                      MechanismType = 93
	MechanismType_CKM_DES_CFB8                       MechanismType = 94
	MechanismType_CKM_MD2                            MechanismType = 95
	MechanismType_CKM_MD2_HMAC                       MechanismType = 96
	MechanismType_CKM_MD2_HMAC_GENERAL               MechanismType = 97
	MechanismType_CKM_MD5                            MechanismType = 98
	MechanismType_CKM_MD5_HMAC                       MechanismType = 99
	MechanismType_CKM_MD5_HMAC_GENERAL               MechanismType = 100
	MechanismType_CKM_SHA_1                          MechanismType = 101
	MechanismType_CKM_SHA_1_HMAC                     MechanismType = 102
	MechanismType_CKM_SHA_1_HMAC_GENERAL             MechanismType = 103
	MechanismType_CKM_RIPEMD128                      MechanismType = 104
	MechanismType_CKM_RIPEMD128_HMAC                 MechanismType = 105
	MechanismType_CKM_RIPEMD128_HMAC_GENERAL         MechanismType = 106
	MechanismType_CKM_RIPEMD160                      MechanismType = 107
	MechanismType_CKM_RIPEMD160_HMAC                 MechanismType = 108
	MechanismType_CKM_RIPEMD160_HMAC_GENERAL         MechanismType = 109
	MechanismType_CKM_SHA256                         MechanismType = 110
	MechanismType_CKM_SHA256_HMAC                    MechanismType = 111
	MechanismType_CKM_SHA256_HMAC_GENERAL            MechanismType = 112
	MechanismType_CKM_SHA224                         MechanismType = 113
	MechanismType_CKM_SHA224_HMAC                    MechanismType = 114
	MechanismType_CKM_SHA224_HMAC_GENERAL            MechanismType = 115
	MechanismType_CKM_SHA384                         MechanismType = 116
	MechanismType_CKM_SHA384_HMAC                    MechanismType = 117
	MechanismType_CKM_SHA384_HMAC_GENERAL            MechanismType = 118
	MechanismType_CKM_SHA512                         MechanismType = 119
	MechanismType_CKM_SHA512_HMAC                    MechanismType = 120
	MechanismType_CKM_SHA512_HMAC_GENERAL            MechanismType = 121
	MechanismType_CKM_SECURID_KEY_GEN                MechanismType = 122
	MechanismType_CKM_SECURID                        MechanismType = 123
	MechanismType_CKM_HOTP_KEY_GEN                   MechanismType = 124
	MechanismType_CKM_HOTP                           MechanismType = 125
	MechanismType_CKM_ACTI                           MechanismType = 126
	MechanismType_CKM_ACTI_KEY_GEN                   MechanismType = 127
	MechanismType_CKM_SHA3_256                       MechanismType = 128
	MechanismType_CKM_SHA3_256_HMAC                  MechanismType = 129
	MechanismType_CKM_SHA3_256_HMAC_GENERAL          MechanismType = 130
	MechanismType_CKM_SHA3_256_KEY_GEN               MechanismType = 131
	MechanismType_CKM_SHA3_224                       MechanismType = 132
	MechanismType_CKM_SHA3_224_HMAC                  MechanismType = 133
	MechanismType_CKM_SHA3_224_HMAC_GENERAL          MechanismType = 134
	MechanismType_CKM_SHA3_224_KEY_GEN               MechanismType = 135
	MechanismType_CKM_SHA3_384                       MechanismType = 136
	MechanismType_CKM_SHA3_384_HMAC                  MechanismType = 137
	MechanismType_CKM_SHA3_384_HMAC_GENERAL          MechanismType = 138
	MechanismType_CKM_SHA3_384_KEY_GEN               MechanismType = 139
	MechanismType_CKM_SHA3_512                       MechanismType = 140
	MechanismType_CKM_SHA3_512_HMAC                  MechanismType = 141
	MechanismType_CKM_SHA3_512_HMAC_GENERAL          MechanismType = 142
	MechanismType_CKM_SHA3_512_KEY_GEN               MechanismType = 143
	MechanismType_CKM_CAST_KEY_GEN                   MechanismType = 144
	MechanismType_CKM_CAST_ECB                       MechanismType = 145
	MechanismType_CKM_CAST_CBC                       MechanismType = 146
	MechanismType_CKM_CAST_MAC                       MechanismType = 147
	MechanismType_CKM_CAST_MAC_GENERAL               MechanismType = 148
	MechanismType_CKM_CAST_CBC_PAD                   MechanismType = 149
	MechanismType_CKM_CAST3_KEY_GEN                  MechanismType = 150
	MechanismType_CKM_CAST3_ECB                      MechanismType = 151
	MechanismType_CKM_CAST3_CBC                      MechanismType = 152
	MechanismType_CKM_CAST3_MAC                      MechanismType = 153
	MechanismType_CKM_CAST3_MAC_GENERAL              MechanismType = 154
	MechanismType_CKM_CAST3_CBC_PAD                  MechanismType = 155
	MechanismType_CKM_CAST5_KEY_GEN                  MechanismType = 156
	MechanismType_CKM_CAST128_KEY_GEN                MechanismType = 157
	MechanismType_CKM_CAST5_ECB                      MechanismType = 158
	MechanismType_CKM_CAST128_ECB                    MechanismType = 159
	MechanismType_CKM_CAST5_CBC                      MechanismType = 160
	MechanismType_CKM_CAST128_CBC                    MechanismType = 161
	MechanismType_CKM_CAST5_MAC                      MechanismType = 162
	MechanismType_CKM_CAST128_MAC                    MechanismType = 163
	MechanismType_CKM_CAST5_MAC_GENERAL              MechanismType = 164
	MechanismType_CKM_CAST128_MAC_GENERAL            MechanismType = 165
	MechanismType_CKM_CAST5_CBC_PAD                  MechanismType = 166
	MechanismType_CKM_CAST128_CBC_PAD                MechanismType = 167
	MechanismType_CKM_RC5_KEY_GEN                    MechanismType = 168
	MechanismType_CKM_RC5_ECB                        MechanismType = 169
	MechanismType_CKM_RC5_CBC                        MechanismType = 170
	MechanismType_CKM_RC5_MAC                        MechanismType = 171
	MechanismType_CKM_RC5_MAC_GENERAL                MechanismType = 172
	MechanismType_CKM_RC5_CBC_PAD                    MechanismType = 173
	MechanismType_CKM_IDEA_KEY_GEN                   MechanismType = 174
	MechanismType_CKM_IDEA_ECB                       MechanismType = 175
	MechanismType_CKM_IDEA_CBC                       MechanismType = 176
	MechanismType_CKM_IDEA_MAC                       MechanismType = 177
	MechanismType_CKM_IDEA_MAC_GENERAL               MechanismType = 178
	MechanismType_CKM_IDEA_CBC_PAD                   MechanismType = 179
	MechanismType_CKM_GENERIC_SECRET_KEY_GEN         MechanismType = 180
	MechanismType_CKM_CONCATENATE_BASE_AND_KEY       MechanismType = 181
	MechanismType_CKM_CONCATENATE_BASE_AND_DATA      MechanismType = 182
	MechanismType_CKM_CONCATENATE_DATA_AND_BASE      MechanismType = 183
	MechanismType_CKM_XOR_BASE_AND_DATA              MechanismType = 184
	MechanismType_CKM_EXTRACT_KEY_FROM_KEY           MechanismType = 185
	MechanismType_CKM_SSL3_PRE_MASTER_KEY_GEN        MechanismType = 186
	MechanismType_CKM_SSL3_MASTER_KEY_DERIVE         MechanismType = 187
	MechanismType_CKM_SSL3_KEY_AND_MAC_DERIVE        MechanismType = 188
	MechanismType_CKM_SSL3_MASTER_KEY_DERIVE_DH      MechanismType = 189
	MechanismType_CKM_TLS_PRE_MASTER_KEY_GEN         MechanismType = 190
	MechanismType_CKM_TLS_MASTER_KEY_DERIVE          MechanismType = 191
	MechanismType_CKM_TLS_KEY_AND_MAC_DERIVE         MechanismType = 192
	MechanismType_CKM_TLS_MASTER_KEY_DERIVE_DH       MechanismType = 193
	MechanismType_CKM_TLS_PRF                        MechanismType = 194
	MechanismType_CKM_SSL3_MD5_MAC                   MechanismType = 195
	MechanismType_CKM_SSL3_SHA1_MAC                  MechanismType = 196
	MechanismType_CKM_MD5_KEY_DERIVATION             MechanismType = 197
	MechanismType_CKM_MD2_KEY_DERIVATION             MechanismType = 198
	MechanismType_CKM_SHA1_KEY_DERIVATION            MechanismType = 199
	MechanismType_CKM_SHA256_KEY_DERIVATION          MechanismType = 200
	MechanismType_CKM_SHA384_KEY_DERIVATION          MechanismType = 201
	MechanismType_CKM_SHA512_KEY_DERIVATION          MechanismType = 202
	MechanismType_CKM_SHA224_KEY_DERIVATION          MechanismType = 203
	MechanismType_CKM_SHA3_256_KEY_DERIVE            MechanismType = 204
	MechanismType_CKM_SHA3_224_KEY_DERIVE            MechanismType = 205
	MechanismType_CKM_SHA3_384_KEY_DERIVE            MechanismType = 206
	MechanismType_CKM_SHA3_512_KEY_DERIVE            MechanismType = 207
	MechanismType_CKM_SHAKE_128_KEY_DERIVE           MechanismType = 208
	MechanismType_CKM_SHAKE_256_KEY_DERIVE           MechanismType = 209
	MechanismType_CKM_PBE_MD2_DES_CBC                MechanismType = 210
	MechanismType_CKM_PBE_MD5_DES_CBC                MechanismType = 211
	MechanismType_CKM_PBE_MD5_CAST_CBC               MechanismType = 212
	MechanismType_CKM_PBE_MD5_CAST3_CBC              MechanismType = 213
	MechanismType_CKM_PBE_MD5_CAST5_CBC              MechanismType = 214
	MechanismType_CKM_PBE_MD5_CAST128_CBC            MechanismType = 215
	MechanismType_CKM_PBE_SHA1_CAST5_CBC             MechanismType = 216
	MechanismType_CKM_PBE_SHA1_CAST128_CBC           MechanismType = 217
	MechanismType_CKM_PBE_SHA1_RC4_128               MechanismType = 218
	MechanismType_CKM_PBE_SHA1_RC4_40                MechanismType = 219
	MechanismType_CKM_PBE_SHA1_DES3_EDE_CBC          MechanismType = 220
	MechanismType_CKM_PBE_SHA1_DES2_EDE_CBC          MechanismType = 221
	MechanismType_CKM_PBE_SHA1_RC2_128_CBC           MechanismType = 222
	MechanismType_CKM_PBE_SHA1_RC2_40_CBC            MechanismType = 223
	MechanismType_CKM_PKCS5_PBKD2                    MechanismType = 224
	MechanismType_CKM_PBA_SHA1_WITH_SHA1_HMAC        MechanismType = 225
	MechanismType_CKM_WTLS_PRE_MASTER_KEY_GEN        MechanismType = 226
	MechanismType_CKM_WTLS_MASTER_KEY_DERIVE         MechanismType = 227
	MechanismType_CKM_WTLS_MASTER_KEY_DERIVE_DH_ECC  MechanismType = 228
	MechanismType_CKM_WTLS_PRF                       MechanismType = 229
	MechanismType_CKM_WTLS_SERVER_KEY_AND_MAC_DERIVE MechanismType = 230
	MechanismType_CKM_WTLS_CLIENT_KEY_AND_MAC_DERIVE MechanismType = 231
	MechanismType_CKM_TLS10_MAC_SERVER               MechanismType = 232
	MechanismType_CKM_TLS10_MAC_CLIENT               MechanismType = 233
	MechanismType_CKM_TLS12_MAC                      MechanismType = 234
	MechanismType_CKM_TLS12_KDF                      MechanismType = 235
	MechanismType_CKM_TLS12_MASTER_KEY_DERIVE        MechanismType = 236
	MechanismType_CKM_TLS12_KEY_AND_MAC_DERIVE       MechanismType = 237
	MechanismType_CKM_TLS12_MASTER_KEY_DERIVE_DH     MechanismType = 238
	MechanismType_CKM_TLS12_KEY_SAFE_DERIVE          MechanismType = 239
	MechanismType_CKM_TLS_MAC                        MechanismType = 240
	MechanismType_CKM_TLS_KDF                        MechanismType = 241
	MechanismType_CKM_KEY_WRAP_LYNKS                 MechanismType = 242
	MechanismType_CKM_KEY_WRAP_SET_OAEP              MechanismType = 243
	MechanismType_CKM_CMS_SIG                        MechanismType = 244
	MechanismType_CKM_KIP_DERIVE                     MechanismType = 245
	MechanismType_CKM_KIP_WRAP                       MechanismType = 246
	MechanismType_CKM_KIP_MAC                        MechanismType = 247
	MechanismType_CKM_CAMELLIA_KEY_GEN               MechanismType = 248
	MechanismType_CKM_CAMELLIA_ECB                   MechanismType = 249
	MechanismType_CKM_CAMELLIA_CBC                   MechanismType = 250
	MechanismType_CKM_CAMELLIA_MAC                   MechanismType = 251
	MechanismType_CKM_CAMELLIA_MAC_GENERAL           MechanismType = 252
	MechanismType_CKM_CAMELLIA_CBC_PAD               MechanismType = 253
	MechanismType_CKM_CAMELLIA_ECB_ENCRYPT_DATA      MechanismType = 254
	MechanismType_CKM_CAMELLIA_CBC_ENCRYPT_DATA      MechanismType = 255
	MechanismType_CKM_CAMELLIA_CTR                   MechanismType = 256
	MechanismType_CKM_ARIA_KEY_GEN                   MechanismType = 257
	MechanismType_CKM_ARIA_ECB                       MechanismType = 258
	MechanismType_CKM_ARIA_CBC                       MechanismType = 259
	MechanismType_CKM_ARIA_MAC                       MechanismType = 260
	MechanismType_CKM_ARIA_MAC_GENERAL               MechanismType = 261
	MechanismType_CKM_ARIA_CBC_PAD                   MechanismType = 262
	MechanismType_CKM_ARIA_ECB_ENCRYPT_DATA          MechanismType = 263
	MechanismType_CKM_ARIA_CBC_ENCRYPT_DATA          MechanismType = 264
	MechanismType_CKM_SEED_KEY_GEN                   MechanismType = 265
	MechanismType_CKM_SEED_ECB                       MechanismType = 266
	MechanismType_CKM_SEED_CBC                       MechanismType = 267
	MechanismType_CKM_SEED_MAC                       MechanismType = 268
	MechanismType_CKM_SEED_MAC_GENERAL               MechanismType = 269
	MechanismType_CKM_SEED_CBC_PAD                   MechanismType = 270
	MechanismType_CKM_SEED_ECB_ENCRYPT_DATA          MechanismType = 271
	MechanismType_CKM_SEED_CBC_ENCRYPT_DATA          MechanismType = 272
	MechanismType_CKM_SKIPJACK_KEY_GEN               MechanismType = 273
	MechanismType_CKM_SKIPJACK_ECB64                 MechanismType = 274
	MechanismType_CKM_SKIPJACK_CBC64                 MechanismType = 275
	MechanismType_CKM_SKIPJACK_OFB64                 MechanismType = 276
	MechanismType_CKM_SKIPJACK_CFB64                 MechanismType = 277
	MechanismType_CKM_SKIPJACK_CFB32                 MechanismType = 278
	MechanismType_CKM_SKIPJACK_CFB16                 MechanismType = 279
	MechanismType_CKM_SKIPJACK_CFB8                  MechanismType = 280
	MechanismType_CKM_SKIPJACK_WRAP                  MechanismType = 281
	MechanismType_CKM_SKIPJACK_PRIVATE_WRAP          MechanismType = 282
	MechanismType_CKM_SKIPJACK_RELAYX                MechanismType = 283
	MechanismType_CKM_KEA_KEY_PAIR_GEN               MechanismType = 284
	MechanismType_CKM_KEA_KEY_DERIVE                 MechanismType = 285
	MechanismType_CKM_KEA_DERIVE                     MechanismType = 286
	MechanismType_CKM_FORTEZZA_TIMESTAMP             MechanismType = 287
	MechanismType_CKM_BATON_KEY_GEN                  MechanismType = 288
	MechanismType_CKM_BATON_ECB128                   MechanismType = 289
	MechanismType_CKM_BATON_ECB96                    MechanismType = 290
	MechanismType_CKM_BATON_CBC128                   MechanismType = 291
	MechanismType_CKM_BATON_COUNTER                  MechanismType = 292
	MechanismType_CKM_BATON_SHUFFLE                  MechanismType = 293
	MechanismType_CKM_BATON_WRAP                     MechanismType = 294
	MechanismType_CKM_ECDSA_KEY_PAIR_GEN             MechanismType = 295
	MechanismType_CKM_EC_KEY_PAIR_GEN                MechanismType = 296
	MechanismType_CKM_ECDSA                          MechanismType = 297
	MechanismType_CKM_ECDSA_SHA1                     MechanismType = 298
	MechanismType_CKM_ECDSA_SHA224                   MechanismType = 299
	MechanismType_CKM_ECDSA_SHA256                   MechanismType = 300
	MechanismType_CKM_ECDSA_SHA384                   MechanismType = 301
	MechanismType_CKM_ECDSA_SHA512                   MechanismType = 302
	MechanismType_CKM_ECDH1_DERIVE                   MechanismType = 303
	MechanismType_CKM_ECDH1_COFACTOR_DERIVE          MechanismType = 304
	MechanismType_CKM_ECMQV_DERIVE                   MechanismType = 305
	MechanismType_CKM_ECDH_AES_KEY_WRAP              MechanismType = 306
	MechanismType_CKM_RSA_AES_KEY_WRAP               MechanismType = 307
	MechanismType_CKM_JUNIPER_KEY_GEN                MechanismType = 308
	MechanismType_CKM_JUNIPER_ECB128                 MechanismType = 309
	MechanismType_CKM_JUNIPER_CBC128                 MechanismType = 310
	MechanismType_CKM_JUNIPER_COUNTER                MechanismType = 311
	MechanismType_CKM_JUNIPER_SHUFFLE                MechanismType = 312
	MechanismType_CKM_JUNIPER_WRAP                   MechanismType = 313
	MechanismType_CKM_FASTHASH                       MechanismType = 314
	MechanismType_CKM_AES_KEY_GEN                    MechanismType = 315
	MechanismType_CKM_AES_ECB                        MechanismType = 316
	MechanismType_CKM_AES_CBC                        MechanismType = 317
	MechanismType_CKM_AES_MAC                        MechanismType = 318
	MechanismType_CKM_AES_MAC_GENERAL                MechanismType = 319
	MechanismType_CKM_AES_CBC_PAD                    MechanismType = 320
	MechanismType_CKM_AES_CTR                        MechanismType = 321
	MechanismType_CKM_AES_GCM                        MechanismType = 322
	MechanismType_CKM_AES_CCM                        MechanismType = 323
	MechanismType_CKM_AES_CMAC_GENERAL               MechanismType = 324
	MechanismType_CKM_AES_CMAC                       MechanismType = 325
	MechanismType_CKM_AES_CTS                        MechanismType = 326
	MechanismType_CKM_AES_XCBC_MAC                   MechanismType = 327
	MechanismType_CKM_AES_XCBC_MAC_96                MechanismType = 328
	MechanismType_CKM_AES_GMAC                       MechanismType = 329
	MechanismType_CKM_BLOWFISH_KEY_GEN               MechanismType = 330
	MechanismType_CKM_BLOWFISH_CBC                   MechanismType = 331
	MechanismType_CKM_TWOFISH_KEY_GEN                MechanismType = 332
	MechanismType_CKM_TWOFISH_CBC                    MechanismType = 333
	MechanismType_CKM_BLOWFISH_CBC_PAD               MechanismType = 334
	MechanismType_CKM_TWOFISH_CBC_PAD                MechanismType = 335
	MechanismType_CKM_DES_ECB_ENCRYPT_DATA           MechanismType = 336
	MechanismType_CKM_DES_CBC_ENCRYPT_DATA           MechanismType = 337
	MechanismType_CKM_DES3_ECB_ENCRYPT_DATA          MechanismType = 338
	MechanismType_CKM_DES3_CBC_ENCRYPT_DATA          MechanismType = 339
	MechanismType_CKM_AES_ECB_ENCRYPT_DATA           MechanismType = 340
	MechanismType_CKM_AES_CBC_ENCRYPT_DATA           MechanismType = 341
	MechanismType_CKM_GOSTR3410_KEY_PAIR_GEN         MechanismType = 342
	MechanismType_CKM_GOSTR3410                      MechanismType = 343
	MechanismType_CKM_GOSTR3410_WITH_GOSTR3411       MechanismType = 344
	MechanismType_CKM_GOSTR3410_KEY_WRAP             MechanismType = 345
	MechanismType_CKM_GOSTR3410_DERIVE               MechanismType = 346
	MechanismType_CKM_GOSTR3411                      MechanismType = 347
	MechanismType_CKM_GOSTR3411_HMAC                 MechanismType = 348
	MechanismType_CKM_GOST28147_KEY_GEN              MechanismType = 349
	MechanismType_CKM_GOST28147_ECB                  MechanismType = 350
	MechanismType_CKM_GOST28147                      MechanismType = 351
	MechanismType_CKM_GOST28147_MAC                  MechanismType = 352
	MechanismType_CKM_GOST28147_KEY_WRAP             MechanismType = 353
	MechanismType_CKM_DSA_PARAMETER_GEN              MechanismType = 354
	MechanismType_CKM_DH_PKCS_PARAMETER_GEN          MechanismType = 355
	MechanismType_CKM_X9_42_DH_PARAMETER_GEN         MechanismType = 356
	MechanismType_CKM_DSA_PROBABLISTIC_PARAMETER_GEN MechanismType = 357
	MechanismType_CKM_DSA_SHAWE_TAYLOR_PARAMETER_GEN MechanismType = 358
	MechanismType_CKM_AES_OFB                        MechanismType = 359
	MechanismType_CKM_AES_CFB64                      MechanismType = 360
	MechanismType_CKM_AES_CFB8                       MechanismType = 361
	MechanismType_CKM_AES_CFB128                     MechanismType = 362
	MechanismType_CKM_AES_CFB1                       MechanismType = 363
	MechanismType_CKM_AES_KEY_WRAP                   MechanismType = 364
	MechanismType_CKM_AES_KEY_WRAP_PAD               MechanismType = 365
	MechanismType_CKM_RSA_PKCS_TPM_1_1               MechanismType = 366
	MechanismType_CKM_RSA_PKCS_OAEP_TPM_1_1          MechanismType = 367
	MechanismType_CKM_VENDOR_DEFINED                 MechanismType = 368
)

func (MechanismType) Descriptor

func (MechanismType) Enum

func (x MechanismType) Enum() *MechanismType

func (MechanismType) EnumDescriptor deprecated

func (MechanismType) EnumDescriptor() ([]byte, []int)

Deprecated: Use MechanismType.Descriptor instead.

func (MechanismType) Number

func (MechanismType) String

func (x MechanismType) String() string

func (MechanismType) Type

type Mechanism_Ecdh1 added in v0.7.2

type Mechanism_Ecdh1 struct {
	Ecdh1 *MechanismECDH1DeriveParams `protobuf:"bytes,102,opt,name=ecdh1,proto3,oneof"`
}

type Mechanism_Gcm added in v0.7.2

type Mechanism_Gcm struct {
	Gcm *MechanismGCMParams `protobuf:"bytes,103,opt,name=gcm,proto3,oneof"`
}

type Mechanism_Oaep added in v0.7.2

type Mechanism_Oaep struct {
	Oaep *MechanismOAEPParams `protobuf:"bytes,104,opt,name=oaep,proto3,oneof"`
}

type Mechanism_Pss added in v0.7.2

type Mechanism_Pss struct {
	Pss *MechanismPSSParams `protobuf:"bytes,105,opt,name=pss,proto3,oneof"`
}

type Mechanism_Raw added in v0.7.2

type Mechanism_Raw struct {
	Raw []byte `protobuf:"bytes,101,opt,name=raw,proto3,oneof"`
}

type ModuleInfo

type ModuleInfo struct {
	CryptokiVersion    *Version `protobuf:"bytes,1,opt,name=cryptoki_version,json=cryptokiVersion,proto3" json:"cryptoki_version,omitempty"`
	ManufacturerId     string   `protobuf:"bytes,2,opt,name=manufacturer_id,json=manufacturerId,proto3" json:"manufacturer_id,omitempty"`
	Flags              uint64   `protobuf:"varint,3,opt,name=flags,proto3" json:"flags,omitempty"`
	LibraryDescription string   `protobuf:"bytes,4,opt,name=library_description,json=libraryDescription,proto3" json:"library_description,omitempty"`
	LibraryVersion     *Version `protobuf:"bytes,5,opt,name=library_version,json=libraryVersion,proto3" json:"library_version,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleInfo) Descriptor deprecated

func (*ModuleInfo) Descriptor() ([]byte, []int)

Deprecated: Use ModuleInfo.ProtoReflect.Descriptor instead.

func (*ModuleInfo) GetCryptokiVersion

func (x *ModuleInfo) GetCryptokiVersion() *Version

func (*ModuleInfo) GetFlags

func (x *ModuleInfo) GetFlags() uint64

func (*ModuleInfo) GetLibraryDescription

func (x *ModuleInfo) GetLibraryDescription() string

func (*ModuleInfo) GetLibraryVersion

func (x *ModuleInfo) GetLibraryVersion() *Version

func (*ModuleInfo) GetManufacturerId

func (x *ModuleInfo) GetManufacturerId() string

func (*ModuleInfo) ProtoMessage

func (*ModuleInfo) ProtoMessage()

func (*ModuleInfo) ProtoReflect

func (x *ModuleInfo) ProtoReflect() protoreflect.Message

func (*ModuleInfo) Reset

func (x *ModuleInfo) Reset()

func (*ModuleInfo) String

func (x *ModuleInfo) String() string

type ModuleInfoRequest

type ModuleInfoRequest struct {
	Auth   *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	Module string     `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleInfoRequest) Descriptor deprecated

func (*ModuleInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ModuleInfoRequest.ProtoReflect.Descriptor instead.

func (*ModuleInfoRequest) GetAuth

func (x *ModuleInfoRequest) GetAuth() *AuthToken

func (*ModuleInfoRequest) GetModule

func (x *ModuleInfoRequest) GetModule() string

func (*ModuleInfoRequest) ProtoMessage

func (*ModuleInfoRequest) ProtoMessage()

func (*ModuleInfoRequest) ProtoReflect

func (x *ModuleInfoRequest) ProtoReflect() protoreflect.Message

func (*ModuleInfoRequest) Reset

func (x *ModuleInfoRequest) Reset()

func (*ModuleInfoRequest) String

func (x *ModuleInfoRequest) String() string

type ModuleInfoResponse

type ModuleInfoResponse struct {
	Info *ModuleInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleInfoResponse) Descriptor deprecated

func (*ModuleInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ModuleInfoResponse.ProtoReflect.Descriptor instead.

func (*ModuleInfoResponse) GetInfo

func (x *ModuleInfoResponse) GetInfo() *ModuleInfo

func (*ModuleInfoResponse) ProtoMessage

func (*ModuleInfoResponse) ProtoMessage()

func (*ModuleInfoResponse) ProtoReflect

func (x *ModuleInfoResponse) ProtoReflect() protoreflect.Message

func (*ModuleInfoResponse) Reset

func (x *ModuleInfoResponse) Reset()

func (*ModuleInfoResponse) String

func (x *ModuleInfoResponse) String() string

type ModuleListSlotsRequest

type ModuleListSlotsRequest struct {
	Auth   *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	Module string     `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleListSlotsRequest) Descriptor deprecated

func (*ModuleListSlotsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ModuleListSlotsRequest.ProtoReflect.Descriptor instead.

func (*ModuleListSlotsRequest) GetAuth

func (x *ModuleListSlotsRequest) GetAuth() *AuthToken

func (*ModuleListSlotsRequest) GetModule

func (x *ModuleListSlotsRequest) GetModule() string

func (*ModuleListSlotsRequest) ProtoMessage

func (*ModuleListSlotsRequest) ProtoMessage()

func (*ModuleListSlotsRequest) ProtoReflect

func (x *ModuleListSlotsRequest) ProtoReflect() protoreflect.Message

func (*ModuleListSlotsRequest) Reset

func (x *ModuleListSlotsRequest) Reset()

func (*ModuleListSlotsRequest) String

func (x *ModuleListSlotsRequest) String() string

type ModuleListSlotsResponse

type ModuleListSlotsResponse struct {
	Slots []*SlotInfo `protobuf:"bytes,1,rep,name=slots,proto3" json:"slots,omitempty"`
	// contains filtered or unexported fields
}

func (*ModuleListSlotsResponse) Descriptor deprecated

func (*ModuleListSlotsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ModuleListSlotsResponse.ProtoReflect.Descriptor instead.

func (*ModuleListSlotsResponse) GetSlots

func (x *ModuleListSlotsResponse) GetSlots() []*SlotInfo

func (*ModuleListSlotsResponse) ProtoMessage

func (*ModuleListSlotsResponse) ProtoMessage()

func (*ModuleListSlotsResponse) ProtoReflect

func (x *ModuleListSlotsResponse) ProtoReflect() protoreflect.Message

func (*ModuleListSlotsResponse) Reset

func (x *ModuleListSlotsResponse) Reset()

func (*ModuleListSlotsResponse) String

func (x *ModuleListSlotsResponse) String() string

type ObjectClass added in v0.7.4

type ObjectClass int32
const (
	ObjectClass_CKO_UNDEFINED_UNKNOWN ObjectClass = 0
	ObjectClass_CKO_DATA              ObjectClass = 1
	ObjectClass_CKO_CERTIFICATE       ObjectClass = 2
	ObjectClass_CKO_PUBLIC_KEY        ObjectClass = 3
	ObjectClass_CKO_PRIVATE_KEY       ObjectClass = 4
	ObjectClass_CKO_SECRET_KEY        ObjectClass = 5
	ObjectClass_CKO_HW_FEATURE        ObjectClass = 6
	ObjectClass_CKO_DOMAIN_PARAMETERS ObjectClass = 7
	ObjectClass_CKO_MECHANISM         ObjectClass = 8
	ObjectClass_CKO_OTP_KEY           ObjectClass = 9
	ObjectClass_CKO_VENDOR_DEFINED    ObjectClass = 10
)

func (ObjectClass) Descriptor added in v0.7.4

func (ObjectClass) Enum added in v0.7.4

func (x ObjectClass) Enum() *ObjectClass

func (ObjectClass) EnumDescriptor deprecated added in v0.7.4

func (ObjectClass) EnumDescriptor() ([]byte, []int)

Deprecated: Use ObjectClass.Descriptor instead.

func (ObjectClass) Number added in v0.7.4

func (x ObjectClass) Number() protoreflect.EnumNumber

func (ObjectClass) String added in v0.7.4

func (x ObjectClass) String() string

func (ObjectClass) Type added in v0.7.4

type ObjectCopyObjectRequest added in v0.7.2

type ObjectCopyObjectRequest struct {
	ObjectId   *ObjectID    `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectCopyObjectRequest) Descriptor deprecated added in v0.7.2

func (*ObjectCopyObjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectCopyObjectRequest.ProtoReflect.Descriptor instead.

func (*ObjectCopyObjectRequest) GetAttributes added in v0.7.2

func (x *ObjectCopyObjectRequest) GetAttributes() []*Attribute

func (*ObjectCopyObjectRequest) GetObjectId added in v0.7.2

func (x *ObjectCopyObjectRequest) GetObjectId() *ObjectID

func (*ObjectCopyObjectRequest) ProtoMessage added in v0.7.2

func (*ObjectCopyObjectRequest) ProtoMessage()

func (*ObjectCopyObjectRequest) ProtoReflect added in v0.7.2

func (x *ObjectCopyObjectRequest) ProtoReflect() protoreflect.Message

func (*ObjectCopyObjectRequest) Reset added in v0.7.2

func (x *ObjectCopyObjectRequest) Reset()

func (*ObjectCopyObjectRequest) String added in v0.7.2

func (x *ObjectCopyObjectRequest) String() string

type ObjectCopyObjectResponse added in v0.7.2

type ObjectCopyObjectResponse struct {
	// contains filtered or unexported fields
}

func (*ObjectCopyObjectResponse) Descriptor deprecated added in v0.7.2

func (*ObjectCopyObjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectCopyObjectResponse.ProtoReflect.Descriptor instead.

func (*ObjectCopyObjectResponse) ProtoMessage added in v0.7.2

func (*ObjectCopyObjectResponse) ProtoMessage()

func (*ObjectCopyObjectResponse) ProtoReflect added in v0.7.2

func (x *ObjectCopyObjectResponse) ProtoReflect() protoreflect.Message

func (*ObjectCopyObjectResponse) Reset added in v0.7.2

func (x *ObjectCopyObjectResponse) Reset()

func (*ObjectCopyObjectResponse) String added in v0.7.2

func (x *ObjectCopyObjectResponse) String() string

type ObjectCryptoSegmentedInit added in v0.7.2

type ObjectCryptoSegmentedInit struct {
	Id    *ObjectID    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Mechs []*Mechanism `protobuf:"bytes,2,rep,name=mechs,proto3" json:"mechs,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectCryptoSegmentedInit) Descriptor deprecated added in v0.7.2

func (*ObjectCryptoSegmentedInit) Descriptor() ([]byte, []int)

Deprecated: Use ObjectCryptoSegmentedInit.ProtoReflect.Descriptor instead.

func (*ObjectCryptoSegmentedInit) GetId added in v0.7.2

func (x *ObjectCryptoSegmentedInit) GetId() *ObjectID

func (*ObjectCryptoSegmentedInit) GetMechs added in v0.7.2

func (x *ObjectCryptoSegmentedInit) GetMechs() []*Mechanism

func (*ObjectCryptoSegmentedInit) ProtoMessage added in v0.7.2

func (*ObjectCryptoSegmentedInit) ProtoMessage()

func (*ObjectCryptoSegmentedInit) ProtoReflect added in v0.7.2

func (*ObjectCryptoSegmentedInit) Reset added in v0.7.2

func (x *ObjectCryptoSegmentedInit) Reset()

func (*ObjectCryptoSegmentedInit) String added in v0.7.2

func (x *ObjectCryptoSegmentedInit) String() string

type ObjectDecryptRequest added in v0.7.2

type ObjectDecryptRequest struct {
	ObjectId  *ObjectID    `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Mechs     []*Mechanism `protobuf:"bytes,2,rep,name=mechs,proto3" json:"mechs,omitempty"`
	Encrypted []byte       `protobuf:"bytes,3,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectDecryptRequest) Descriptor deprecated added in v0.7.2

func (*ObjectDecryptRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectDecryptRequest.ProtoReflect.Descriptor instead.

func (*ObjectDecryptRequest) GetEncrypted added in v0.7.2

func (x *ObjectDecryptRequest) GetEncrypted() []byte

func (*ObjectDecryptRequest) GetMechs added in v0.7.2

func (x *ObjectDecryptRequest) GetMechs() []*Mechanism

func (*ObjectDecryptRequest) GetObjectId added in v0.7.2

func (x *ObjectDecryptRequest) GetObjectId() *ObjectID

func (*ObjectDecryptRequest) ProtoMessage added in v0.7.2

func (*ObjectDecryptRequest) ProtoMessage()

func (*ObjectDecryptRequest) ProtoReflect added in v0.7.2

func (x *ObjectDecryptRequest) ProtoReflect() protoreflect.Message

func (*ObjectDecryptRequest) Reset added in v0.7.2

func (x *ObjectDecryptRequest) Reset()

func (*ObjectDecryptRequest) String added in v0.7.2

func (x *ObjectDecryptRequest) String() string

type ObjectDecryptResponse added in v0.7.2

type ObjectDecryptResponse struct {
	PlainText []byte `protobuf:"bytes,1,opt,name=plain_text,json=plainText,proto3" json:"plain_text,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectDecryptResponse) Descriptor deprecated added in v0.7.2

func (*ObjectDecryptResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectDecryptResponse.ProtoReflect.Descriptor instead.

func (*ObjectDecryptResponse) GetPlainText added in v0.7.2

func (x *ObjectDecryptResponse) GetPlainText() []byte

func (*ObjectDecryptResponse) ProtoMessage added in v0.7.2

func (*ObjectDecryptResponse) ProtoMessage()

func (*ObjectDecryptResponse) ProtoReflect added in v0.7.2

func (x *ObjectDecryptResponse) ProtoReflect() protoreflect.Message

func (*ObjectDecryptResponse) Reset added in v0.7.2

func (x *ObjectDecryptResponse) Reset()

func (*ObjectDecryptResponse) String added in v0.7.2

func (x *ObjectDecryptResponse) String() string

type ObjectDecryptSegmentedRequest added in v0.7.2

type ObjectDecryptSegmentedRequest struct {

	// Types that are assignable to Stages:
	//	*ObjectDecryptSegmentedRequest_First
	//	*ObjectDecryptSegmentedRequest_MessagePart
	//	*ObjectDecryptSegmentedRequest_Last
	Stages isObjectDecryptSegmentedRequest_Stages `protobuf_oneof:"stages"`
	// contains filtered or unexported fields
}

func (*ObjectDecryptSegmentedRequest) Descriptor deprecated added in v0.7.2

func (*ObjectDecryptSegmentedRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectDecryptSegmentedRequest.ProtoReflect.Descriptor instead.

func (*ObjectDecryptSegmentedRequest) GetFirst added in v0.7.2

func (*ObjectDecryptSegmentedRequest) GetLast added in v0.7.2

func (*ObjectDecryptSegmentedRequest) GetMessagePart added in v0.7.2

func (x *ObjectDecryptSegmentedRequest) GetMessagePart() []byte

func (*ObjectDecryptSegmentedRequest) GetStages added in v0.7.2

func (m *ObjectDecryptSegmentedRequest) GetStages() isObjectDecryptSegmentedRequest_Stages

func (*ObjectDecryptSegmentedRequest) ProtoMessage added in v0.7.2

func (*ObjectDecryptSegmentedRequest) ProtoMessage()

func (*ObjectDecryptSegmentedRequest) ProtoReflect added in v0.7.2

func (*ObjectDecryptSegmentedRequest) Reset added in v0.7.2

func (x *ObjectDecryptSegmentedRequest) Reset()

func (*ObjectDecryptSegmentedRequest) String added in v0.7.2

type ObjectDecryptSegmentedRequest_First added in v0.7.2

type ObjectDecryptSegmentedRequest_First struct {
	First *ObjectCryptoSegmentedInit `protobuf:"bytes,1,opt,name=first,proto3,oneof"`
}

type ObjectDecryptSegmentedRequest_Last added in v0.7.2

type ObjectDecryptSegmentedRequest_Last struct {
	Last *empty.Empty `protobuf:"bytes,3,opt,name=last,proto3,oneof"`
}

type ObjectDecryptSegmentedRequest_MessagePart added in v0.7.2

type ObjectDecryptSegmentedRequest_MessagePart struct {
	MessagePart []byte `protobuf:"bytes,2,opt,name=message_part,json=messagePart,proto3,oneof"`
}

type ObjectDecryptSegmentedResponse added in v0.7.2

type ObjectDecryptSegmentedResponse struct {
	PlainTextPart []byte `protobuf:"bytes,1,opt,name=plain_text_part,json=plainTextPart,proto3" json:"plain_text_part,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectDecryptSegmentedResponse) Descriptor deprecated added in v0.7.2

func (*ObjectDecryptSegmentedResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectDecryptSegmentedResponse.ProtoReflect.Descriptor instead.

func (*ObjectDecryptSegmentedResponse) GetPlainTextPart added in v0.7.2

func (x *ObjectDecryptSegmentedResponse) GetPlainTextPart() []byte

func (*ObjectDecryptSegmentedResponse) ProtoMessage added in v0.7.2

func (*ObjectDecryptSegmentedResponse) ProtoMessage()

func (*ObjectDecryptSegmentedResponse) ProtoReflect added in v0.7.2

func (*ObjectDecryptSegmentedResponse) Reset added in v0.7.2

func (x *ObjectDecryptSegmentedResponse) Reset()

func (*ObjectDecryptSegmentedResponse) String added in v0.7.2

type ObjectDestroyObjectRequest added in v0.7.2

type ObjectDestroyObjectRequest struct {
	ObjectId *ObjectID `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectDestroyObjectRequest) Descriptor deprecated added in v0.7.2

func (*ObjectDestroyObjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectDestroyObjectRequest.ProtoReflect.Descriptor instead.

func (*ObjectDestroyObjectRequest) GetObjectId added in v0.7.2

func (x *ObjectDestroyObjectRequest) GetObjectId() *ObjectID

func (*ObjectDestroyObjectRequest) ProtoMessage added in v0.7.2

func (*ObjectDestroyObjectRequest) ProtoMessage()

func (*ObjectDestroyObjectRequest) ProtoReflect added in v0.7.2

func (*ObjectDestroyObjectRequest) Reset added in v0.7.2

func (x *ObjectDestroyObjectRequest) Reset()

func (*ObjectDestroyObjectRequest) String added in v0.7.2

func (x *ObjectDestroyObjectRequest) String() string

type ObjectDestroyObjectResponse added in v0.7.2

type ObjectDestroyObjectResponse struct {
	// contains filtered or unexported fields
}

func (*ObjectDestroyObjectResponse) Descriptor deprecated added in v0.7.2

func (*ObjectDestroyObjectResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectDestroyObjectResponse.ProtoReflect.Descriptor instead.

func (*ObjectDestroyObjectResponse) ProtoMessage added in v0.7.2

func (*ObjectDestroyObjectResponse) ProtoMessage()

func (*ObjectDestroyObjectResponse) ProtoReflect added in v0.7.2

func (*ObjectDestroyObjectResponse) Reset added in v0.7.2

func (x *ObjectDestroyObjectResponse) Reset()

func (*ObjectDestroyObjectResponse) String added in v0.7.2

func (x *ObjectDestroyObjectResponse) String() string

type ObjectEncryptRequest added in v0.7.2

type ObjectEncryptRequest struct {
	ObjectId  *ObjectID    `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Mechs     []*Mechanism `protobuf:"bytes,2,rep,name=mechs,proto3" json:"mechs,omitempty"`
	PlainText []byte       `protobuf:"bytes,3,opt,name=plain_text,json=plainText,proto3" json:"plain_text,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectEncryptRequest) Descriptor deprecated added in v0.7.2

func (*ObjectEncryptRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectEncryptRequest.ProtoReflect.Descriptor instead.

func (*ObjectEncryptRequest) GetMechs added in v0.7.2

func (x *ObjectEncryptRequest) GetMechs() []*Mechanism

func (*ObjectEncryptRequest) GetObjectId added in v0.7.2

func (x *ObjectEncryptRequest) GetObjectId() *ObjectID

func (*ObjectEncryptRequest) GetPlainText added in v0.7.2

func (x *ObjectEncryptRequest) GetPlainText() []byte

func (*ObjectEncryptRequest) ProtoMessage added in v0.7.2

func (*ObjectEncryptRequest) ProtoMessage()

func (*ObjectEncryptRequest) ProtoReflect added in v0.7.2

func (x *ObjectEncryptRequest) ProtoReflect() protoreflect.Message

func (*ObjectEncryptRequest) Reset added in v0.7.2

func (x *ObjectEncryptRequest) Reset()

func (*ObjectEncryptRequest) String added in v0.7.2

func (x *ObjectEncryptRequest) String() string

type ObjectEncryptResponse added in v0.7.2

type ObjectEncryptResponse struct {
	Encrypted []byte `protobuf:"bytes,1,opt,name=encrypted,proto3" json:"encrypted,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectEncryptResponse) Descriptor deprecated added in v0.7.2

func (*ObjectEncryptResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectEncryptResponse.ProtoReflect.Descriptor instead.

func (*ObjectEncryptResponse) GetEncrypted added in v0.7.2

func (x *ObjectEncryptResponse) GetEncrypted() []byte

func (*ObjectEncryptResponse) ProtoMessage added in v0.7.2

func (*ObjectEncryptResponse) ProtoMessage()

func (*ObjectEncryptResponse) ProtoReflect added in v0.7.2

func (x *ObjectEncryptResponse) ProtoReflect() protoreflect.Message

func (*ObjectEncryptResponse) Reset added in v0.7.2

func (x *ObjectEncryptResponse) Reset()

func (*ObjectEncryptResponse) String added in v0.7.2

func (x *ObjectEncryptResponse) String() string

type ObjectEncryptSegmentedRequest added in v0.7.2

type ObjectEncryptSegmentedRequest struct {

	// Types that are assignable to Stages:
	//	*ObjectEncryptSegmentedRequest_First
	//	*ObjectEncryptSegmentedRequest_MessagePart
	//	*ObjectEncryptSegmentedRequest_Last
	Stages isObjectEncryptSegmentedRequest_Stages `protobuf_oneof:"stages"`
	// contains filtered or unexported fields
}

func (*ObjectEncryptSegmentedRequest) Descriptor deprecated added in v0.7.2

func (*ObjectEncryptSegmentedRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectEncryptSegmentedRequest.ProtoReflect.Descriptor instead.

func (*ObjectEncryptSegmentedRequest) GetFirst added in v0.7.2

func (*ObjectEncryptSegmentedRequest) GetLast added in v0.7.2

func (*ObjectEncryptSegmentedRequest) GetMessagePart added in v0.7.2

func (x *ObjectEncryptSegmentedRequest) GetMessagePart() []byte

func (*ObjectEncryptSegmentedRequest) GetStages added in v0.7.2

func (m *ObjectEncryptSegmentedRequest) GetStages() isObjectEncryptSegmentedRequest_Stages

func (*ObjectEncryptSegmentedRequest) ProtoMessage added in v0.7.2

func (*ObjectEncryptSegmentedRequest) ProtoMessage()

func (*ObjectEncryptSegmentedRequest) ProtoReflect added in v0.7.2

func (*ObjectEncryptSegmentedRequest) Reset added in v0.7.2

func (x *ObjectEncryptSegmentedRequest) Reset()

func (*ObjectEncryptSegmentedRequest) String added in v0.7.2

type ObjectEncryptSegmentedRequest_First added in v0.7.2

type ObjectEncryptSegmentedRequest_First struct {
	First *ObjectCryptoSegmentedInit `protobuf:"bytes,1,opt,name=first,proto3,oneof"`
}

type ObjectEncryptSegmentedRequest_Last added in v0.7.2

type ObjectEncryptSegmentedRequest_Last struct {
	Last *empty.Empty `protobuf:"bytes,3,opt,name=last,proto3,oneof"`
}

type ObjectEncryptSegmentedRequest_MessagePart added in v0.7.2

type ObjectEncryptSegmentedRequest_MessagePart struct {
	MessagePart []byte `protobuf:"bytes,2,opt,name=message_part,json=messagePart,proto3,oneof"`
}

type ObjectEncryptSegmentedResponse added in v0.7.2

type ObjectEncryptSegmentedResponse struct {
	EncryptedPart []byte `protobuf:"bytes,1,opt,name=encrypted_part,json=encryptedPart,proto3" json:"encrypted_part,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectEncryptSegmentedResponse) Descriptor deprecated added in v0.7.2

func (*ObjectEncryptSegmentedResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectEncryptSegmentedResponse.ProtoReflect.Descriptor instead.

func (*ObjectEncryptSegmentedResponse) GetEncryptedPart added in v0.7.2

func (x *ObjectEncryptSegmentedResponse) GetEncryptedPart() []byte

func (*ObjectEncryptSegmentedResponse) ProtoMessage added in v0.7.2

func (*ObjectEncryptSegmentedResponse) ProtoMessage()

func (*ObjectEncryptSegmentedResponse) ProtoReflect added in v0.7.2

func (*ObjectEncryptSegmentedResponse) Reset added in v0.7.2

func (x *ObjectEncryptSegmentedResponse) Reset()

func (*ObjectEncryptSegmentedResponse) String added in v0.7.2

type ObjectID

type ObjectID struct {
	SessionId *SessionID `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	ObjectId  string     `protobuf:"bytes,2,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectID) Descriptor deprecated

func (*ObjectID) Descriptor() ([]byte, []int)

Deprecated: Use ObjectID.ProtoReflect.Descriptor instead.

func (*ObjectID) GetObjectId added in v0.7.2

func (x *ObjectID) GetObjectId() string

func (*ObjectID) GetSessionId added in v0.7.2

func (x *ObjectID) GetSessionId() *SessionID

func (*ObjectID) ProtoMessage

func (*ObjectID) ProtoMessage()

func (*ObjectID) ProtoReflect

func (x *ObjectID) ProtoReflect() protoreflect.Message

func (*ObjectID) Reset

func (x *ObjectID) Reset()

func (*ObjectID) String

func (x *ObjectID) String() string

type ObjectListAttributeValuesRequest

type ObjectListAttributeValuesRequest struct {
	ObjectId            *ObjectID       `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	RequestedAttributes []AttributeType `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ObjectListAttributeValuesRequest) Descriptor deprecated

func (*ObjectListAttributeValuesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectListAttributeValuesRequest.ProtoReflect.Descriptor instead.

func (*ObjectListAttributeValuesRequest) GetObjectId added in v0.5.0

func (x *ObjectListAttributeValuesRequest) GetObjectId() *ObjectID

func (*ObjectListAttributeValuesRequest) GetRequestedAttributes

func (x *ObjectListAttributeValuesRequest) GetRequestedAttributes() []AttributeType

func (*ObjectListAttributeValuesRequest) ProtoMessage

func (*ObjectListAttributeValuesRequest) ProtoMessage()

func (*ObjectListAttributeValuesRequest) ProtoReflect

func (*ObjectListAttributeValuesRequest) Reset

func (*ObjectListAttributeValuesRequest) String

type ObjectListAttributeValuesUpdate added in v0.7.0

type ObjectListAttributeValuesUpdate struct {

	// Types that are assignable to Update:
	//	*ObjectListAttributeValuesUpdate_Attribute
	//	*ObjectListAttributeValuesUpdate_NotFound
	Update isObjectListAttributeValuesUpdate_Update `protobuf_oneof:"update"`
	// contains filtered or unexported fields
}

func (*ObjectListAttributeValuesUpdate) Descriptor deprecated added in v0.7.0

func (*ObjectListAttributeValuesUpdate) Descriptor() ([]byte, []int)

Deprecated: Use ObjectListAttributeValuesUpdate.ProtoReflect.Descriptor instead.

func (*ObjectListAttributeValuesUpdate) GetAttribute added in v0.7.0

func (x *ObjectListAttributeValuesUpdate) GetAttribute() *Attribute

func (*ObjectListAttributeValuesUpdate) GetNotFound added in v0.7.0

func (*ObjectListAttributeValuesUpdate) GetUpdate added in v0.7.0

func (m *ObjectListAttributeValuesUpdate) GetUpdate() isObjectListAttributeValuesUpdate_Update

func (*ObjectListAttributeValuesUpdate) ProtoMessage added in v0.7.0

func (*ObjectListAttributeValuesUpdate) ProtoMessage()

func (*ObjectListAttributeValuesUpdate) ProtoReflect added in v0.7.0

func (*ObjectListAttributeValuesUpdate) Reset added in v0.7.0

func (*ObjectListAttributeValuesUpdate) String added in v0.7.0

type ObjectListAttributeValuesUpdate_Attribute added in v0.7.0

type ObjectListAttributeValuesUpdate_Attribute struct {
	Attribute *Attribute `protobuf:"bytes,1,opt,name=attribute,proto3,oneof"`
}

type ObjectListAttributeValuesUpdate_NotFound added in v0.7.0

type ObjectListAttributeValuesUpdate_NotFound struct {
	NotFound AttributeType `protobuf:"varint,2,opt,name=not_found,json=notFound,proto3,enum=padlock.AttributeType,oneof"`
}

type ObjectSetAttributeValuesRequest added in v0.7.4

type ObjectSetAttributeValuesRequest struct {
	ObjectId   *ObjectID    `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectSetAttributeValuesRequest) Descriptor deprecated added in v0.7.4

func (*ObjectSetAttributeValuesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectSetAttributeValuesRequest.ProtoReflect.Descriptor instead.

func (*ObjectSetAttributeValuesRequest) GetAttributes added in v0.7.4

func (x *ObjectSetAttributeValuesRequest) GetAttributes() []*Attribute

func (*ObjectSetAttributeValuesRequest) GetObjectId added in v0.7.4

func (x *ObjectSetAttributeValuesRequest) GetObjectId() *ObjectID

func (*ObjectSetAttributeValuesRequest) ProtoMessage added in v0.7.4

func (*ObjectSetAttributeValuesRequest) ProtoMessage()

func (*ObjectSetAttributeValuesRequest) ProtoReflect added in v0.7.4

func (*ObjectSetAttributeValuesRequest) Reset added in v0.7.4

func (*ObjectSetAttributeValuesRequest) String added in v0.7.4

type ObjectSetAttributeValuesResponse added in v0.7.4

type ObjectSetAttributeValuesResponse struct {
	// contains filtered or unexported fields
}

func (*ObjectSetAttributeValuesResponse) Descriptor deprecated added in v0.7.4

func (*ObjectSetAttributeValuesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectSetAttributeValuesResponse.ProtoReflect.Descriptor instead.

func (*ObjectSetAttributeValuesResponse) ProtoMessage added in v0.7.4

func (*ObjectSetAttributeValuesResponse) ProtoMessage()

func (*ObjectSetAttributeValuesResponse) ProtoReflect added in v0.7.4

func (*ObjectSetAttributeValuesResponse) Reset added in v0.7.4

func (*ObjectSetAttributeValuesResponse) String added in v0.7.4

type ObjectSignRequest added in v0.7.2

type ObjectSignRequest struct {
	ObjectId *ObjectID    `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Mechs    []*Mechanism `protobuf:"bytes,2,rep,name=mechs,proto3" json:"mechs,omitempty"`
	Message  []byte       `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectSignRequest) Descriptor deprecated added in v0.7.2

func (*ObjectSignRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectSignRequest.ProtoReflect.Descriptor instead.

func (*ObjectSignRequest) GetMechs added in v0.7.2

func (x *ObjectSignRequest) GetMechs() []*Mechanism

func (*ObjectSignRequest) GetMessage added in v0.7.2

func (x *ObjectSignRequest) GetMessage() []byte

func (*ObjectSignRequest) GetObjectId added in v0.7.2

func (x *ObjectSignRequest) GetObjectId() *ObjectID

func (*ObjectSignRequest) ProtoMessage added in v0.7.2

func (*ObjectSignRequest) ProtoMessage()

func (*ObjectSignRequest) ProtoReflect added in v0.7.2

func (x *ObjectSignRequest) ProtoReflect() protoreflect.Message

func (*ObjectSignRequest) Reset added in v0.7.2

func (x *ObjectSignRequest) Reset()

func (*ObjectSignRequest) String added in v0.7.2

func (x *ObjectSignRequest) String() string

type ObjectSignResponse added in v0.7.2

type ObjectSignResponse struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectSignResponse) Descriptor deprecated added in v0.7.2

func (*ObjectSignResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectSignResponse.ProtoReflect.Descriptor instead.

func (*ObjectSignResponse) GetSignature added in v0.7.2

func (x *ObjectSignResponse) GetSignature() []byte

func (*ObjectSignResponse) ProtoMessage added in v0.7.2

func (*ObjectSignResponse) ProtoMessage()

func (*ObjectSignResponse) ProtoReflect added in v0.7.2

func (x *ObjectSignResponse) ProtoReflect() protoreflect.Message

func (*ObjectSignResponse) Reset added in v0.7.2

func (x *ObjectSignResponse) Reset()

func (*ObjectSignResponse) String added in v0.7.2

func (x *ObjectSignResponse) String() string

type ObjectSignSegmentedRequest added in v0.7.2

type ObjectSignSegmentedRequest struct {

	// Types that are assignable to Stages:
	//	*ObjectSignSegmentedRequest_First
	//	*ObjectSignSegmentedRequest_MessagePart
	//	*ObjectSignSegmentedRequest_Last
	Stages isObjectSignSegmentedRequest_Stages `protobuf_oneof:"stages"`
	// contains filtered or unexported fields
}

func (*ObjectSignSegmentedRequest) Descriptor deprecated added in v0.7.2

func (*ObjectSignSegmentedRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectSignSegmentedRequest.ProtoReflect.Descriptor instead.

func (*ObjectSignSegmentedRequest) GetFirst added in v0.7.2

func (*ObjectSignSegmentedRequest) GetLast added in v0.7.2

func (x *ObjectSignSegmentedRequest) GetLast() *empty.Empty

func (*ObjectSignSegmentedRequest) GetMessagePart added in v0.7.2

func (x *ObjectSignSegmentedRequest) GetMessagePart() []byte

func (*ObjectSignSegmentedRequest) GetStages added in v0.7.2

func (m *ObjectSignSegmentedRequest) GetStages() isObjectSignSegmentedRequest_Stages

func (*ObjectSignSegmentedRequest) ProtoMessage added in v0.7.2

func (*ObjectSignSegmentedRequest) ProtoMessage()

func (*ObjectSignSegmentedRequest) ProtoReflect added in v0.7.2

func (*ObjectSignSegmentedRequest) Reset added in v0.7.2

func (x *ObjectSignSegmentedRequest) Reset()

func (*ObjectSignSegmentedRequest) String added in v0.7.2

func (x *ObjectSignSegmentedRequest) String() string

type ObjectSignSegmentedRequest_First added in v0.7.2

type ObjectSignSegmentedRequest_First struct {
	First *ObjectCryptoSegmentedInit `protobuf:"bytes,1,opt,name=first,proto3,oneof"`
}

type ObjectSignSegmentedRequest_Last added in v0.7.2

type ObjectSignSegmentedRequest_Last struct {
	Last *empty.Empty `protobuf:"bytes,3,opt,name=last,proto3,oneof"`
}

type ObjectSignSegmentedRequest_MessagePart added in v0.7.2

type ObjectSignSegmentedRequest_MessagePart struct {
	MessagePart []byte `protobuf:"bytes,2,opt,name=message_part,json=messagePart,proto3,oneof"`
}

type ObjectSignSegmentedResponse added in v0.7.2

type ObjectSignSegmentedResponse struct {
	Signature []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectSignSegmentedResponse) Descriptor deprecated added in v0.7.2

func (*ObjectSignSegmentedResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectSignSegmentedResponse.ProtoReflect.Descriptor instead.

func (*ObjectSignSegmentedResponse) GetSignature added in v0.7.2

func (x *ObjectSignSegmentedResponse) GetSignature() []byte

func (*ObjectSignSegmentedResponse) ProtoMessage added in v0.7.2

func (*ObjectSignSegmentedResponse) ProtoMessage()

func (*ObjectSignSegmentedResponse) ProtoReflect added in v0.7.2

func (*ObjectSignSegmentedResponse) Reset added in v0.7.2

func (x *ObjectSignSegmentedResponse) Reset()

func (*ObjectSignSegmentedResponse) String added in v0.7.2

func (x *ObjectSignSegmentedResponse) String() string

type ObjectUnwrapKeyRequest added in v0.7.2

type ObjectUnwrapKeyRequest struct {
	ObjectId   *ObjectID    `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Mechs      []*Mechanism `protobuf:"bytes,2,rep,name=mechs,proto3" json:"mechs,omitempty"`
	Wrapped    []byte       `protobuf:"bytes,3,opt,name=wrapped,proto3" json:"wrapped,omitempty"`
	Attributes []*Attribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectUnwrapKeyRequest) Descriptor deprecated added in v0.7.2

func (*ObjectUnwrapKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectUnwrapKeyRequest.ProtoReflect.Descriptor instead.

func (*ObjectUnwrapKeyRequest) GetAttributes added in v0.7.2

func (x *ObjectUnwrapKeyRequest) GetAttributes() []*Attribute

func (*ObjectUnwrapKeyRequest) GetMechs added in v0.7.2

func (x *ObjectUnwrapKeyRequest) GetMechs() []*Mechanism

func (*ObjectUnwrapKeyRequest) GetObjectId added in v0.7.2

func (x *ObjectUnwrapKeyRequest) GetObjectId() *ObjectID

func (*ObjectUnwrapKeyRequest) GetWrapped added in v0.7.2

func (x *ObjectUnwrapKeyRequest) GetWrapped() []byte

func (*ObjectUnwrapKeyRequest) ProtoMessage added in v0.7.2

func (*ObjectUnwrapKeyRequest) ProtoMessage()

func (*ObjectUnwrapKeyRequest) ProtoReflect added in v0.7.2

func (x *ObjectUnwrapKeyRequest) ProtoReflect() protoreflect.Message

func (*ObjectUnwrapKeyRequest) Reset added in v0.7.2

func (x *ObjectUnwrapKeyRequest) Reset()

func (*ObjectUnwrapKeyRequest) String added in v0.7.2

func (x *ObjectUnwrapKeyRequest) String() string

type ObjectVerifyRequest added in v0.7.2

type ObjectVerifyRequest struct {
	ObjectId  *ObjectID    `protobuf:"bytes,1,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	Mechs     []*Mechanism `protobuf:"bytes,2,rep,name=mechs,proto3" json:"mechs,omitempty"`
	Message   []byte       `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	Signature []byte       `protobuf:"bytes,4,opt,name=signature,proto3" json:"signature,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectVerifyRequest) Descriptor deprecated added in v0.7.2

func (*ObjectVerifyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectVerifyRequest.ProtoReflect.Descriptor instead.

func (*ObjectVerifyRequest) GetMechs added in v0.7.2

func (x *ObjectVerifyRequest) GetMechs() []*Mechanism

func (*ObjectVerifyRequest) GetMessage added in v0.7.2

func (x *ObjectVerifyRequest) GetMessage() []byte

func (*ObjectVerifyRequest) GetObjectId added in v0.7.2

func (x *ObjectVerifyRequest) GetObjectId() *ObjectID

func (*ObjectVerifyRequest) GetSignature added in v0.7.2

func (x *ObjectVerifyRequest) GetSignature() []byte

func (*ObjectVerifyRequest) ProtoMessage added in v0.7.2

func (*ObjectVerifyRequest) ProtoMessage()

func (*ObjectVerifyRequest) ProtoReflect added in v0.7.2

func (x *ObjectVerifyRequest) ProtoReflect() protoreflect.Message

func (*ObjectVerifyRequest) Reset added in v0.7.2

func (x *ObjectVerifyRequest) Reset()

func (*ObjectVerifyRequest) String added in v0.7.2

func (x *ObjectVerifyRequest) String() string

type ObjectVerifyResponse added in v0.7.2

type ObjectVerifyResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectVerifyResponse) Descriptor deprecated added in v0.7.2

func (*ObjectVerifyResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectVerifyResponse.ProtoReflect.Descriptor instead.

func (*ObjectVerifyResponse) GetValid added in v0.7.2

func (x *ObjectVerifyResponse) GetValid() bool

func (*ObjectVerifyResponse) ProtoMessage added in v0.7.2

func (*ObjectVerifyResponse) ProtoMessage()

func (*ObjectVerifyResponse) ProtoReflect added in v0.7.2

func (x *ObjectVerifyResponse) ProtoReflect() protoreflect.Message

func (*ObjectVerifyResponse) Reset added in v0.7.2

func (x *ObjectVerifyResponse) Reset()

func (*ObjectVerifyResponse) String added in v0.7.2

func (x *ObjectVerifyResponse) String() string

type ObjectVerifySegmentedRequest added in v0.7.2

type ObjectVerifySegmentedRequest struct {

	// Types that are assignable to Stages:
	//	*ObjectVerifySegmentedRequest_First
	//	*ObjectVerifySegmentedRequest_MessagePart
	//	*ObjectVerifySegmentedRequest_Signature
	Stages isObjectVerifySegmentedRequest_Stages `protobuf_oneof:"stages"`
	// contains filtered or unexported fields
}

func (*ObjectVerifySegmentedRequest) Descriptor deprecated added in v0.7.2

func (*ObjectVerifySegmentedRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectVerifySegmentedRequest.ProtoReflect.Descriptor instead.

func (*ObjectVerifySegmentedRequest) GetFirst added in v0.7.2

func (*ObjectVerifySegmentedRequest) GetMessagePart added in v0.7.2

func (x *ObjectVerifySegmentedRequest) GetMessagePart() []byte

func (*ObjectVerifySegmentedRequest) GetSignature added in v0.7.2

func (x *ObjectVerifySegmentedRequest) GetSignature() []byte

func (*ObjectVerifySegmentedRequest) GetStages added in v0.7.2

func (m *ObjectVerifySegmentedRequest) GetStages() isObjectVerifySegmentedRequest_Stages

func (*ObjectVerifySegmentedRequest) ProtoMessage added in v0.7.2

func (*ObjectVerifySegmentedRequest) ProtoMessage()

func (*ObjectVerifySegmentedRequest) ProtoReflect added in v0.7.2

func (*ObjectVerifySegmentedRequest) Reset added in v0.7.2

func (x *ObjectVerifySegmentedRequest) Reset()

func (*ObjectVerifySegmentedRequest) String added in v0.7.2

type ObjectVerifySegmentedRequest_First added in v0.7.2

type ObjectVerifySegmentedRequest_First struct {
	First *ObjectCryptoSegmentedInit `protobuf:"bytes,1,opt,name=first,proto3,oneof"`
}

type ObjectVerifySegmentedRequest_MessagePart added in v0.7.2

type ObjectVerifySegmentedRequest_MessagePart struct {
	MessagePart []byte `protobuf:"bytes,2,opt,name=message_part,json=messagePart,proto3,oneof"`
}

type ObjectVerifySegmentedRequest_Signature added in v0.7.2

type ObjectVerifySegmentedRequest_Signature struct {
	Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3,oneof"`
}

type ObjectVerifySegmentedResponse added in v0.7.2

type ObjectVerifySegmentedResponse struct {
	Valid bool `protobuf:"varint,1,opt,name=valid,proto3" json:"valid,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectVerifySegmentedResponse) Descriptor deprecated added in v0.7.2

func (*ObjectVerifySegmentedResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectVerifySegmentedResponse.ProtoReflect.Descriptor instead.

func (*ObjectVerifySegmentedResponse) GetValid added in v0.7.2

func (x *ObjectVerifySegmentedResponse) GetValid() bool

func (*ObjectVerifySegmentedResponse) ProtoMessage added in v0.7.2

func (*ObjectVerifySegmentedResponse) ProtoMessage()

func (*ObjectVerifySegmentedResponse) ProtoReflect added in v0.7.2

func (*ObjectVerifySegmentedResponse) Reset added in v0.7.2

func (x *ObjectVerifySegmentedResponse) Reset()

func (*ObjectVerifySegmentedResponse) String added in v0.7.2

type ObjectWrapKeyRequest added in v0.7.2

type ObjectWrapKeyRequest struct {
	WrappingKey *ObjectID    `protobuf:"bytes,1,opt,name=wrapping_key,json=wrappingKey,proto3" json:"wrapping_key,omitempty"`
	Mechs       []*Mechanism `protobuf:"bytes,2,rep,name=mechs,proto3" json:"mechs,omitempty"`
	KeyToWrap   *ObjectID    `protobuf:"bytes,3,opt,name=key_to_wrap,json=keyToWrap,proto3" json:"key_to_wrap,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectWrapKeyRequest) Descriptor deprecated added in v0.7.2

func (*ObjectWrapKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ObjectWrapKeyRequest.ProtoReflect.Descriptor instead.

func (*ObjectWrapKeyRequest) GetKeyToWrap added in v0.7.2

func (x *ObjectWrapKeyRequest) GetKeyToWrap() *ObjectID

func (*ObjectWrapKeyRequest) GetMechs added in v0.7.2

func (x *ObjectWrapKeyRequest) GetMechs() []*Mechanism

func (*ObjectWrapKeyRequest) GetWrappingKey added in v0.7.2

func (x *ObjectWrapKeyRequest) GetWrappingKey() *ObjectID

func (*ObjectWrapKeyRequest) ProtoMessage added in v0.7.2

func (*ObjectWrapKeyRequest) ProtoMessage()

func (*ObjectWrapKeyRequest) ProtoReflect added in v0.7.2

func (x *ObjectWrapKeyRequest) ProtoReflect() protoreflect.Message

func (*ObjectWrapKeyRequest) Reset added in v0.7.2

func (x *ObjectWrapKeyRequest) Reset()

func (*ObjectWrapKeyRequest) String added in v0.7.2

func (x *ObjectWrapKeyRequest) String() string

type ObjectWrapKeyResponse added in v0.7.2

type ObjectWrapKeyResponse struct {
	Wrapped []byte `protobuf:"bytes,1,opt,name=wrapped,proto3" json:"wrapped,omitempty"`
	// contains filtered or unexported fields
}

func (*ObjectWrapKeyResponse) Descriptor deprecated added in v0.7.2

func (*ObjectWrapKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use ObjectWrapKeyResponse.ProtoReflect.Descriptor instead.

func (*ObjectWrapKeyResponse) GetWrapped added in v0.7.2

func (x *ObjectWrapKeyResponse) GetWrapped() []byte

func (*ObjectWrapKeyResponse) ProtoMessage added in v0.7.2

func (*ObjectWrapKeyResponse) ProtoMessage()

func (*ObjectWrapKeyResponse) ProtoReflect added in v0.7.2

func (x *ObjectWrapKeyResponse) ProtoReflect() protoreflect.Message

func (*ObjectWrapKeyResponse) Reset added in v0.7.2

func (x *ObjectWrapKeyResponse) Reset()

func (*ObjectWrapKeyResponse) String added in v0.7.2

func (x *ObjectWrapKeyResponse) String() string

type P11Object

type P11Object struct {
	Label string `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	Uuid  string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"` // TODO: get class/key type/etc.
	// contains filtered or unexported fields
}

func (*P11Object) Descriptor deprecated

func (*P11Object) Descriptor() ([]byte, []int)

Deprecated: Use P11Object.ProtoReflect.Descriptor instead.

func (*P11Object) GetLabel

func (x *P11Object) GetLabel() string

func (*P11Object) GetUuid

func (x *P11Object) GetUuid() string

func (*P11Object) ProtoMessage

func (*P11Object) ProtoMessage()

func (*P11Object) ProtoReflect

func (x *P11Object) ProtoReflect() protoreflect.Message

func (*P11Object) Reset

func (x *P11Object) Reset()

func (*P11Object) String

func (x *P11Object) String() string

type PadlockClient

type PadlockClient interface {
	// Hello initiates a session with the application, generating an authentication token
	Hello(ctx context.Context, in *AuthHello, opts ...grpc.CallOption) (*AuthToken, error)
	// ApplicationListModules lists modules already connected to the application
	ApplicationListModules(ctx context.Context, in *ApplicationListModulesRequest, opts ...grpc.CallOption) (*ApplicationListModulesResponse, error)
	// ApplicationConnect connects a new module to the application
	ApplicationConnect(ctx context.Context, in *ApplicationConnectRequest, opts ...grpc.CallOption) (Padlock_ApplicationConnectClient, error)
	// ModuleListSlots lists the slots on a module
	ModuleListSlots(ctx context.Context, in *ModuleListSlotsRequest, opts ...grpc.CallOption) (*ModuleListSlotsResponse, error)
	// ModuleInfo gets info for a specific module
	ModuleInfo(ctx context.Context, in *ModuleInfoRequest, opts ...grpc.CallOption) (*ModuleInfoResponse, error)
	// SlotListMechanisms lists the mechanisms available on a slot
	SlotListMechanisms(ctx context.Context, in *SlotListMechanismsRequest, opts ...grpc.CallOption) (*SlotListMechanismsResponse, error)
	// SlotInitToken creates the token in the slot
	SlotInitToken(ctx context.Context, in *SlotInitTokenRequest, opts ...grpc.CallOption) (*SlotInitTokenResponse, error)
	// SlotOpenSession creates a session on the slot
	SlotOpenSession(ctx context.Context, in *SlotOpenSessionRequest, opts ...grpc.CallOption) (Padlock_SlotOpenSessionClient, error)
	// SessionKeepalive keeps a session alive without taking any action agains the HSM itself
	SessionKeepAlive(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*empty.Empty, error)
	// SessionClose closes the session
	SessionClose(ctx context.Context, in *SessionCloseRequest, opts ...grpc.CallOption) (*SessionCloseResponse, error)
	// SessionLogin logs into the session at the application level
	SessionLogin(ctx context.Context, in *SessionLoginRequest, opts ...grpc.CallOption) (*SessionLoginResponse, error)
	// SessionLogout logs out of the session at the application level
	SessionLogout(ctx context.Context, in *SessionID, opts ...grpc.CallOption) (*SessionLogoutResponse, error)
	// SessionListObjects lists the objects available in the session
	SessionListObjects(ctx context.Context, in *SessionListObjectsRequest, opts ...grpc.CallOption) (Padlock_SessionListObjectsClient, error)
	// SessionCreateObject creates an object
	SessionCreateObject(ctx context.Context, in *SessionCreateObjectRequest, opts ...grpc.CallOption) (*P11Object, error)
	// SessionGenerateRandom generates random data, exercising the CSPRNG
	SessionGenerateRandom(ctx context.Context, in *SessionGenerateRandomRequest, opts ...grpc.CallOption) (*SessionGenerateRandomResponse, error)
	// SessionGenerateKeyPair generates a keypair
	SessionGenerateKeyPair(ctx context.Context, in *SessionGenerateKeyPairRequest, opts ...grpc.CallOption) (*SessionGenerateKeyPairResponse, error)
	// SessionGenerateKey generates a key
	SessionGenerateKey(ctx context.Context, in *SessionGenerateKeyRequest, opts ...grpc.CallOption) (*P11Object, error)
	// ObjectListAttributeValues lists values for the requested attributes
	ObjectListAttributeValues(ctx context.Context, in *ObjectListAttributeValuesRequest, opts ...grpc.CallOption) (Padlock_ObjectListAttributeValuesClient, error)
	// ObjectSetAttributeValues attempts to set specific attributes and values
	ObjectSetAttributeValues(ctx context.Context, in *ObjectSetAttributeValuesRequest, opts ...grpc.CallOption) (*ObjectSetAttributeValuesResponse, error)
	// Encrypt encrypts data
	Encrypt(ctx context.Context, in *ObjectEncryptRequest, opts ...grpc.CallOption) (*ObjectEncryptResponse, error)
	// EncryptSegmented encrypts multiple data segments individually then one final one, for those few mechanisms where it matters
	EncryptSegmented(ctx context.Context, opts ...grpc.CallOption) (Padlock_EncryptSegmentedClient, error)
	// Decrypt decrypts data
	Decrypt(ctx context.Context, in *ObjectDecryptRequest, opts ...grpc.CallOption) (*ObjectDecryptResponse, error)
	// DecryptSegmented decrypts multiple data segments individually then one final one, for those few mechanisms where it matters
	DecryptSegmented(ctx context.Context, opts ...grpc.CallOption) (Padlock_DecryptSegmentedClient, error)
	// Sign signs a message
	Sign(ctx context.Context, in *ObjectSignRequest, opts ...grpc.CallOption) (*ObjectSignResponse, error)
	// SignSegmented signs multiple data segments individually then one final part, for those few mechanisms where it matters
	SignSegmented(ctx context.Context, opts ...grpc.CallOption) (Padlock_SignSegmentedClient, error)
	// Verify verifies a message and signature
	Verify(ctx context.Context, in *ObjectVerifyRequest, opts ...grpc.CallOption) (*ObjectVerifyResponse, error)
	// VerifySegmented verifies multiple data segments individually then the final signature, for those  few mechanisms where it matters.
	VerifySegmented(ctx context.Context, opts ...grpc.CallOption) (Padlock_VerifySegmentedClient, error)
	// WrapKey wraps a key
	WrapKey(ctx context.Context, in *ObjectWrapKeyRequest, opts ...grpc.CallOption) (*ObjectWrapKeyResponse, error)
	// UnwrapKey unwraps a key
	UnwrapKey(ctx context.Context, in *ObjectUnwrapKeyRequest, opts ...grpc.CallOption) (*P11Object, error)
	// DestroyObject destroys an object
	DestroyObject(ctx context.Context, in *ObjectDestroyObjectRequest, opts ...grpc.CallOption) (*ObjectDestroyObjectResponse, error)
	// CopyObject copies an object with new attributes if possible
	CopyObject(ctx context.Context, in *ObjectCopyObjectRequest, opts ...grpc.CallOption) (*P11Object, error)
}

PadlockClient is the client API for Padlock service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPadlockClient

func NewPadlockClient(cc grpc.ClientConnInterface) PadlockClient

type PadlockServer

type PadlockServer interface {
	// Hello initiates a session with the application, generating an authentication token
	Hello(context.Context, *AuthHello) (*AuthToken, error)
	// ApplicationListModules lists modules already connected to the application
	ApplicationListModules(context.Context, *ApplicationListModulesRequest) (*ApplicationListModulesResponse, error)
	// ApplicationConnect connects a new module to the application
	ApplicationConnect(*ApplicationConnectRequest, Padlock_ApplicationConnectServer) error
	// ModuleListSlots lists the slots on a module
	ModuleListSlots(context.Context, *ModuleListSlotsRequest) (*ModuleListSlotsResponse, error)
	// ModuleInfo gets info for a specific module
	ModuleInfo(context.Context, *ModuleInfoRequest) (*ModuleInfoResponse, error)
	// SlotListMechanisms lists the mechanisms available on a slot
	SlotListMechanisms(context.Context, *SlotListMechanismsRequest) (*SlotListMechanismsResponse, error)
	// SlotInitToken creates the token in the slot
	SlotInitToken(context.Context, *SlotInitTokenRequest) (*SlotInitTokenResponse, error)
	// SlotOpenSession creates a session on the slot
	SlotOpenSession(*SlotOpenSessionRequest, Padlock_SlotOpenSessionServer) error
	// SessionKeepalive keeps a session alive without taking any action agains the HSM itself
	SessionKeepAlive(context.Context, *SessionID) (*empty.Empty, error)
	// SessionClose closes the session
	SessionClose(context.Context, *SessionCloseRequest) (*SessionCloseResponse, error)
	// SessionLogin logs into the session at the application level
	SessionLogin(context.Context, *SessionLoginRequest) (*SessionLoginResponse, error)
	// SessionLogout logs out of the session at the application level
	SessionLogout(context.Context, *SessionID) (*SessionLogoutResponse, error)
	// SessionListObjects lists the objects available in the session
	SessionListObjects(*SessionListObjectsRequest, Padlock_SessionListObjectsServer) error
	// SessionCreateObject creates an object
	SessionCreateObject(context.Context, *SessionCreateObjectRequest) (*P11Object, error)
	// SessionGenerateRandom generates random data, exercising the CSPRNG
	SessionGenerateRandom(context.Context, *SessionGenerateRandomRequest) (*SessionGenerateRandomResponse, error)
	// SessionGenerateKeyPair generates a keypair
	SessionGenerateKeyPair(context.Context, *SessionGenerateKeyPairRequest) (*SessionGenerateKeyPairResponse, error)
	// SessionGenerateKey generates a key
	SessionGenerateKey(context.Context, *SessionGenerateKeyRequest) (*P11Object, error)
	// ObjectListAttributeValues lists values for the requested attributes
	ObjectListAttributeValues(*ObjectListAttributeValuesRequest, Padlock_ObjectListAttributeValuesServer) error
	// ObjectSetAttributeValues attempts to set specific attributes and values
	ObjectSetAttributeValues(context.Context, *ObjectSetAttributeValuesRequest) (*ObjectSetAttributeValuesResponse, error)
	// Encrypt encrypts data
	Encrypt(context.Context, *ObjectEncryptRequest) (*ObjectEncryptResponse, error)
	// EncryptSegmented encrypts multiple data segments individually then one final one, for those few mechanisms where it matters
	EncryptSegmented(Padlock_EncryptSegmentedServer) error
	// Decrypt decrypts data
	Decrypt(context.Context, *ObjectDecryptRequest) (*ObjectDecryptResponse, error)
	// DecryptSegmented decrypts multiple data segments individually then one final one, for those few mechanisms where it matters
	DecryptSegmented(Padlock_DecryptSegmentedServer) error
	// Sign signs a message
	Sign(context.Context, *ObjectSignRequest) (*ObjectSignResponse, error)
	// SignSegmented signs multiple data segments individually then one final part, for those few mechanisms where it matters
	SignSegmented(Padlock_SignSegmentedServer) error
	// Verify verifies a message and signature
	Verify(context.Context, *ObjectVerifyRequest) (*ObjectVerifyResponse, error)
	// VerifySegmented verifies multiple data segments individually then the final signature, for those  few mechanisms where it matters.
	VerifySegmented(Padlock_VerifySegmentedServer) error
	// WrapKey wraps a key
	WrapKey(context.Context, *ObjectWrapKeyRequest) (*ObjectWrapKeyResponse, error)
	// UnwrapKey unwraps a key
	UnwrapKey(context.Context, *ObjectUnwrapKeyRequest) (*P11Object, error)
	// DestroyObject destroys an object
	DestroyObject(context.Context, *ObjectDestroyObjectRequest) (*ObjectDestroyObjectResponse, error)
	// CopyObject copies an object with new attributes if possible
	CopyObject(context.Context, *ObjectCopyObjectRequest) (*P11Object, error)
	// contains filtered or unexported methods
}

PadlockServer is the server API for Padlock service. All implementations must embed UnimplementedPadlockServer for forward compatibility

type Padlock_ApplicationConnectClient added in v0.2.0

type Padlock_ApplicationConnectClient interface {
	Recv() (*ApplicationConnectUpdate, error)
	grpc.ClientStream
}

type Padlock_ApplicationConnectServer added in v0.2.0

type Padlock_ApplicationConnectServer interface {
	Send(*ApplicationConnectUpdate) error
	grpc.ServerStream
}

type Padlock_DecryptSegmentedClient added in v0.7.2

type Padlock_DecryptSegmentedClient interface {
	Send(*ObjectDecryptSegmentedRequest) error
	Recv() (*ObjectDecryptSegmentedResponse, error)
	grpc.ClientStream
}

type Padlock_DecryptSegmentedServer added in v0.7.2

type Padlock_DecryptSegmentedServer interface {
	Send(*ObjectDecryptSegmentedResponse) error
	Recv() (*ObjectDecryptSegmentedRequest, error)
	grpc.ServerStream
}

type Padlock_EncryptSegmentedClient added in v0.7.2

type Padlock_EncryptSegmentedClient interface {
	Send(*ObjectEncryptSegmentedRequest) error
	Recv() (*ObjectEncryptSegmentedResponse, error)
	grpc.ClientStream
}

type Padlock_EncryptSegmentedServer added in v0.7.2

type Padlock_EncryptSegmentedServer interface {
	Send(*ObjectEncryptSegmentedResponse) error
	Recv() (*ObjectEncryptSegmentedRequest, error)
	grpc.ServerStream
}

type Padlock_ObjectListAttributeValuesClient added in v0.2.0

type Padlock_ObjectListAttributeValuesClient interface {
	Recv() (*ObjectListAttributeValuesUpdate, error)
	grpc.ClientStream
}

type Padlock_ObjectListAttributeValuesServer added in v0.2.0

type Padlock_ObjectListAttributeValuesServer interface {
	Send(*ObjectListAttributeValuesUpdate) error
	grpc.ServerStream
}

type Padlock_SessionListObjectsClient added in v0.2.0

type Padlock_SessionListObjectsClient interface {
	Recv() (*P11Object, error)
	grpc.ClientStream
}

type Padlock_SessionListObjectsServer added in v0.2.0

type Padlock_SessionListObjectsServer interface {
	Send(*P11Object) error
	grpc.ServerStream
}

type Padlock_SignSegmentedClient added in v0.7.2

type Padlock_SignSegmentedClient interface {
	Send(*ObjectSignSegmentedRequest) error
	CloseAndRecv() (*ObjectSignSegmentedResponse, error)
	grpc.ClientStream
}

type Padlock_SignSegmentedServer added in v0.7.2

type Padlock_SignSegmentedServer interface {
	SendAndClose(*ObjectSignSegmentedResponse) error
	Recv() (*ObjectSignSegmentedRequest, error)
	grpc.ServerStream
}

type Padlock_SlotOpenSessionClient added in v0.2.0

type Padlock_SlotOpenSessionClient interface {
	Recv() (*SlotOpenSessionUpdate, error)
	grpc.ClientStream
}

type Padlock_SlotOpenSessionServer added in v0.2.0

type Padlock_SlotOpenSessionServer interface {
	Send(*SlotOpenSessionUpdate) error
	grpc.ServerStream
}

type Padlock_VerifySegmentedClient added in v0.7.2

type Padlock_VerifySegmentedClient interface {
	Send(*ObjectVerifySegmentedRequest) error
	CloseAndRecv() (*ObjectVerifySegmentedResponse, error)
	grpc.ClientStream
}

type Padlock_VerifySegmentedServer added in v0.7.2

type Padlock_VerifySegmentedServer interface {
	SendAndClose(*ObjectVerifySegmentedResponse) error
	Recv() (*ObjectVerifySegmentedRequest, error)
	grpc.ServerStream
}

type SessionCloseRequest added in v0.5.0

type SessionCloseRequest struct {
	Id *SessionID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionCloseRequest) Descriptor deprecated added in v0.5.0

func (*SessionCloseRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionCloseRequest.ProtoReflect.Descriptor instead.

func (*SessionCloseRequest) GetId added in v0.5.0

func (x *SessionCloseRequest) GetId() *SessionID

func (*SessionCloseRequest) ProtoMessage added in v0.5.0

func (*SessionCloseRequest) ProtoMessage()

func (*SessionCloseRequest) ProtoReflect added in v0.5.0

func (x *SessionCloseRequest) ProtoReflect() protoreflect.Message

func (*SessionCloseRequest) Reset added in v0.5.0

func (x *SessionCloseRequest) Reset()

func (*SessionCloseRequest) String added in v0.5.0

func (x *SessionCloseRequest) String() string

type SessionCloseResponse added in v0.5.0

type SessionCloseResponse struct {
	// contains filtered or unexported fields
}

func (*SessionCloseResponse) Descriptor deprecated added in v0.5.0

func (*SessionCloseResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionCloseResponse.ProtoReflect.Descriptor instead.

func (*SessionCloseResponse) ProtoMessage added in v0.5.0

func (*SessionCloseResponse) ProtoMessage()

func (*SessionCloseResponse) ProtoReflect added in v0.5.0

func (x *SessionCloseResponse) ProtoReflect() protoreflect.Message

func (*SessionCloseResponse) Reset added in v0.5.0

func (x *SessionCloseResponse) Reset()

func (*SessionCloseResponse) String added in v0.5.0

func (x *SessionCloseResponse) String() string

type SessionCreateObjectRequest added in v0.7.2

type SessionCreateObjectRequest struct {
	Id         *SessionID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Attributes []*Attribute `protobuf:"bytes,2,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionCreateObjectRequest) Descriptor deprecated added in v0.7.2

func (*SessionCreateObjectRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionCreateObjectRequest.ProtoReflect.Descriptor instead.

func (*SessionCreateObjectRequest) GetAttributes added in v0.7.2

func (x *SessionCreateObjectRequest) GetAttributes() []*Attribute

func (*SessionCreateObjectRequest) GetId added in v0.7.2

func (*SessionCreateObjectRequest) ProtoMessage added in v0.7.2

func (*SessionCreateObjectRequest) ProtoMessage()

func (*SessionCreateObjectRequest) ProtoReflect added in v0.7.2

func (*SessionCreateObjectRequest) Reset added in v0.7.2

func (x *SessionCreateObjectRequest) Reset()

func (*SessionCreateObjectRequest) String added in v0.7.2

func (x *SessionCreateObjectRequest) String() string

type SessionGenerateKeyPairRequest added in v0.7.2

type SessionGenerateKeyPairRequest struct {
	Id                *SessionID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Mech              *Mechanism   `protobuf:"bytes,2,opt,name=mech,proto3" json:"mech,omitempty"`
	PrivateAttributes []*Attribute `protobuf:"bytes,3,rep,name=private_attributes,json=privateAttributes,proto3" json:"private_attributes,omitempty"`
	PublicAttributes  []*Attribute `protobuf:"bytes,4,rep,name=public_attributes,json=publicAttributes,proto3" json:"public_attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionGenerateKeyPairRequest) Descriptor deprecated added in v0.7.2

func (*SessionGenerateKeyPairRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionGenerateKeyPairRequest.ProtoReflect.Descriptor instead.

func (*SessionGenerateKeyPairRequest) GetId added in v0.7.2

func (*SessionGenerateKeyPairRequest) GetMech added in v0.7.2

func (*SessionGenerateKeyPairRequest) GetPrivateAttributes added in v0.7.2

func (x *SessionGenerateKeyPairRequest) GetPrivateAttributes() []*Attribute

func (*SessionGenerateKeyPairRequest) GetPublicAttributes added in v0.7.2

func (x *SessionGenerateKeyPairRequest) GetPublicAttributes() []*Attribute

func (*SessionGenerateKeyPairRequest) ProtoMessage added in v0.7.2

func (*SessionGenerateKeyPairRequest) ProtoMessage()

func (*SessionGenerateKeyPairRequest) ProtoReflect added in v0.7.2

func (*SessionGenerateKeyPairRequest) Reset added in v0.7.2

func (x *SessionGenerateKeyPairRequest) Reset()

func (*SessionGenerateKeyPairRequest) String added in v0.7.2

type SessionGenerateKeyPairResponse added in v0.7.2

type SessionGenerateKeyPairResponse struct {
	Private *P11Object `protobuf:"bytes,1,opt,name=private,proto3" json:"private,omitempty"`
	Public  *P11Object `protobuf:"bytes,2,opt,name=public,proto3" json:"public,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionGenerateKeyPairResponse) Descriptor deprecated added in v0.7.2

func (*SessionGenerateKeyPairResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionGenerateKeyPairResponse.ProtoReflect.Descriptor instead.

func (*SessionGenerateKeyPairResponse) GetPrivate added in v0.7.2

func (x *SessionGenerateKeyPairResponse) GetPrivate() *P11Object

func (*SessionGenerateKeyPairResponse) GetPublic added in v0.7.2

func (x *SessionGenerateKeyPairResponse) GetPublic() *P11Object

func (*SessionGenerateKeyPairResponse) ProtoMessage added in v0.7.2

func (*SessionGenerateKeyPairResponse) ProtoMessage()

func (*SessionGenerateKeyPairResponse) ProtoReflect added in v0.7.2

func (*SessionGenerateKeyPairResponse) Reset added in v0.7.2

func (x *SessionGenerateKeyPairResponse) Reset()

func (*SessionGenerateKeyPairResponse) String added in v0.7.2

type SessionGenerateKeyRequest added in v0.7.2

type SessionGenerateKeyRequest struct {
	Id         *SessionID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Mech       *Mechanism   `protobuf:"bytes,2,opt,name=mech,proto3" json:"mech,omitempty"`
	Attributes []*Attribute `protobuf:"bytes,3,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionGenerateKeyRequest) Descriptor deprecated added in v0.7.2

func (*SessionGenerateKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionGenerateKeyRequest.ProtoReflect.Descriptor instead.

func (*SessionGenerateKeyRequest) GetAttributes added in v0.7.2

func (x *SessionGenerateKeyRequest) GetAttributes() []*Attribute

func (*SessionGenerateKeyRequest) GetId added in v0.7.2

func (*SessionGenerateKeyRequest) GetMech added in v0.7.2

func (x *SessionGenerateKeyRequest) GetMech() *Mechanism

func (*SessionGenerateKeyRequest) ProtoMessage added in v0.7.2

func (*SessionGenerateKeyRequest) ProtoMessage()

func (*SessionGenerateKeyRequest) ProtoReflect added in v0.7.2

func (*SessionGenerateKeyRequest) Reset added in v0.7.2

func (x *SessionGenerateKeyRequest) Reset()

func (*SessionGenerateKeyRequest) String added in v0.7.2

func (x *SessionGenerateKeyRequest) String() string

type SessionGenerateRandomRequest added in v0.7.2

type SessionGenerateRandomRequest struct {
	Id     *SessionID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Length uint32     `protobuf:"varint,2,opt,name=length,proto3" json:"length,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionGenerateRandomRequest) Descriptor deprecated added in v0.7.2

func (*SessionGenerateRandomRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionGenerateRandomRequest.ProtoReflect.Descriptor instead.

func (*SessionGenerateRandomRequest) GetId added in v0.7.2

func (*SessionGenerateRandomRequest) GetLength added in v0.7.2

func (x *SessionGenerateRandomRequest) GetLength() uint32

func (*SessionGenerateRandomRequest) ProtoMessage added in v0.7.2

func (*SessionGenerateRandomRequest) ProtoMessage()

func (*SessionGenerateRandomRequest) ProtoReflect added in v0.7.2

func (*SessionGenerateRandomRequest) Reset added in v0.7.2

func (x *SessionGenerateRandomRequest) Reset()

func (*SessionGenerateRandomRequest) String added in v0.7.2

type SessionGenerateRandomResponse added in v0.7.2

type SessionGenerateRandomResponse struct {
	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionGenerateRandomResponse) Descriptor deprecated added in v0.7.2

func (*SessionGenerateRandomResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionGenerateRandomResponse.ProtoReflect.Descriptor instead.

func (*SessionGenerateRandomResponse) GetData added in v0.7.2

func (x *SessionGenerateRandomResponse) GetData() []byte

func (*SessionGenerateRandomResponse) ProtoMessage added in v0.7.2

func (*SessionGenerateRandomResponse) ProtoMessage()

func (*SessionGenerateRandomResponse) ProtoReflect added in v0.7.2

func (*SessionGenerateRandomResponse) Reset added in v0.7.2

func (x *SessionGenerateRandomResponse) Reset()

func (*SessionGenerateRandomResponse) String added in v0.7.2

type SessionID

type SessionID struct {
	Auth *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	Uuid string     `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionID) Descriptor deprecated

func (*SessionID) Descriptor() ([]byte, []int)

Deprecated: Use SessionID.ProtoReflect.Descriptor instead.

func (*SessionID) GetAuth added in v0.6.0

func (x *SessionID) GetAuth() *AuthToken

func (*SessionID) GetUuid

func (x *SessionID) GetUuid() string

func (*SessionID) ProtoMessage

func (*SessionID) ProtoMessage()

func (*SessionID) ProtoReflect

func (x *SessionID) ProtoReflect() protoreflect.Message

func (*SessionID) Reset

func (x *SessionID) Reset()

func (*SessionID) String

func (x *SessionID) String() string

type SessionListObjectsRequest

type SessionListObjectsRequest struct {
	Id       *SessionID   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Template []*Attribute `protobuf:"bytes,2,rep,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionListObjectsRequest) Descriptor deprecated

func (*SessionListObjectsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionListObjectsRequest.ProtoReflect.Descriptor instead.

func (*SessionListObjectsRequest) GetId added in v0.4.0

func (*SessionListObjectsRequest) GetTemplate

func (x *SessionListObjectsRequest) GetTemplate() []*Attribute

func (*SessionListObjectsRequest) ProtoMessage

func (*SessionListObjectsRequest) ProtoMessage()

func (*SessionListObjectsRequest) ProtoReflect

func (*SessionListObjectsRequest) Reset

func (x *SessionListObjectsRequest) Reset()

func (*SessionListObjectsRequest) String

func (x *SessionListObjectsRequest) String() string

type SessionLoginRequest

type SessionLoginRequest struct {
	Id                     *SessionID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Pin                    string     `protobuf:"bytes,2,opt,name=pin,proto3" json:"pin,omitempty"`
	LoginAsSecurityOfficer bool       `` /* 132-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SessionLoginRequest) Descriptor deprecated

func (*SessionLoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionLoginRequest.ProtoReflect.Descriptor instead.

func (*SessionLoginRequest) GetId

func (x *SessionLoginRequest) GetId() *SessionID

func (*SessionLoginRequest) GetLoginAsSecurityOfficer

func (x *SessionLoginRequest) GetLoginAsSecurityOfficer() bool

func (*SessionLoginRequest) GetPin

func (x *SessionLoginRequest) GetPin() string

func (*SessionLoginRequest) ProtoMessage

func (*SessionLoginRequest) ProtoMessage()

func (*SessionLoginRequest) ProtoReflect

func (x *SessionLoginRequest) ProtoReflect() protoreflect.Message

func (*SessionLoginRequest) Reset

func (x *SessionLoginRequest) Reset()

func (*SessionLoginRequest) String

func (x *SessionLoginRequest) String() string

type SessionLoginResponse

type SessionLoginResponse struct {
	// contains filtered or unexported fields
}

func (*SessionLoginResponse) Descriptor deprecated

func (*SessionLoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionLoginResponse.ProtoReflect.Descriptor instead.

func (*SessionLoginResponse) ProtoMessage

func (*SessionLoginResponse) ProtoMessage()

func (*SessionLoginResponse) ProtoReflect

func (x *SessionLoginResponse) ProtoReflect() protoreflect.Message

func (*SessionLoginResponse) Reset

func (x *SessionLoginResponse) Reset()

func (*SessionLoginResponse) String

func (x *SessionLoginResponse) String() string

type SessionLogoutResponse

type SessionLogoutResponse struct {
	// contains filtered or unexported fields
}

func (*SessionLogoutResponse) Descriptor deprecated

func (*SessionLogoutResponse) Descriptor() ([]byte, []int)

Deprecated: Use SessionLogoutResponse.ProtoReflect.Descriptor instead.

func (*SessionLogoutResponse) ProtoMessage

func (*SessionLogoutResponse) ProtoMessage()

func (*SessionLogoutResponse) ProtoReflect

func (x *SessionLogoutResponse) ProtoReflect() protoreflect.Message

func (*SessionLogoutResponse) Reset

func (x *SessionLogoutResponse) Reset()

func (*SessionLogoutResponse) String

func (x *SessionLogoutResponse) String() string

type SlotID

type SlotID struct {
	Auth   *AuthToken `protobuf:"bytes,1,opt,name=auth,proto3" json:"auth,omitempty"`
	Module string     `protobuf:"bytes,2,opt,name=module,proto3" json:"module,omitempty"`
	Slot   uint64     `protobuf:"varint,3,opt,name=slot,proto3" json:"slot,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotID) Descriptor deprecated

func (*SlotID) Descriptor() ([]byte, []int)

Deprecated: Use SlotID.ProtoReflect.Descriptor instead.

func (*SlotID) GetAuth

func (x *SlotID) GetAuth() *AuthToken

func (*SlotID) GetModule

func (x *SlotID) GetModule() string

func (*SlotID) GetSlot

func (x *SlotID) GetSlot() uint64

func (*SlotID) ProtoMessage

func (*SlotID) ProtoMessage()

func (*SlotID) ProtoReflect

func (x *SlotID) ProtoReflect() protoreflect.Message

func (*SlotID) Reset

func (x *SlotID) Reset()

func (*SlotID) String

func (x *SlotID) String() string

type SlotInfo

type SlotInfo struct {
	Id              uint64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	SlotDescription string     `protobuf:"bytes,2,opt,name=slot_description,json=slotDescription,proto3" json:"slot_description,omitempty"`
	ManufacturerId  string     `protobuf:"bytes,3,opt,name=manufacturer_id,json=manufacturerId,proto3" json:"manufacturer_id,omitempty"`
	Flags           uint64     `protobuf:"varint,4,opt,name=flags,proto3" json:"flags,omitempty"`
	HardwareVersion *Version   `protobuf:"bytes,5,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"`
	FirmwareVersion *Version   `protobuf:"bytes,6,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
	TokenInfo       *TokenInfo `protobuf:"bytes,7,opt,name=token_info,json=tokenInfo,proto3" json:"token_info,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotInfo) Descriptor deprecated

func (*SlotInfo) Descriptor() ([]byte, []int)

Deprecated: Use SlotInfo.ProtoReflect.Descriptor instead.

func (*SlotInfo) GetFirmwareVersion

func (x *SlotInfo) GetFirmwareVersion() *Version

func (*SlotInfo) GetFlags

func (x *SlotInfo) GetFlags() uint64

func (*SlotInfo) GetHardwareVersion

func (x *SlotInfo) GetHardwareVersion() *Version

func (*SlotInfo) GetId

func (x *SlotInfo) GetId() uint64

func (*SlotInfo) GetManufacturerId

func (x *SlotInfo) GetManufacturerId() string

func (*SlotInfo) GetSlotDescription

func (x *SlotInfo) GetSlotDescription() string

func (*SlotInfo) GetTokenInfo

func (x *SlotInfo) GetTokenInfo() *TokenInfo

func (*SlotInfo) ProtoMessage

func (*SlotInfo) ProtoMessage()

func (*SlotInfo) ProtoReflect

func (x *SlotInfo) ProtoReflect() protoreflect.Message

func (*SlotInfo) Reset

func (x *SlotInfo) Reset()

func (*SlotInfo) String

func (x *SlotInfo) String() string

type SlotInitTokenRequest

type SlotInitTokenRequest struct {
	Id                 *SlotID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	SecurityOfficerPin string  `protobuf:"bytes,2,opt,name=security_officer_pin,json=securityOfficerPin,proto3" json:"security_officer_pin,omitempty"`
	TokenLabel         string  `protobuf:"bytes,3,opt,name=token_label,json=tokenLabel,proto3" json:"token_label,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotInitTokenRequest) Descriptor deprecated

func (*SlotInitTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use SlotInitTokenRequest.ProtoReflect.Descriptor instead.

func (*SlotInitTokenRequest) GetId

func (x *SlotInitTokenRequest) GetId() *SlotID

func (*SlotInitTokenRequest) GetSecurityOfficerPin

func (x *SlotInitTokenRequest) GetSecurityOfficerPin() string

func (*SlotInitTokenRequest) GetTokenLabel

func (x *SlotInitTokenRequest) GetTokenLabel() string

func (*SlotInitTokenRequest) ProtoMessage

func (*SlotInitTokenRequest) ProtoMessage()

func (*SlotInitTokenRequest) ProtoReflect

func (x *SlotInitTokenRequest) ProtoReflect() protoreflect.Message

func (*SlotInitTokenRequest) Reset

func (x *SlotInitTokenRequest) Reset()

func (*SlotInitTokenRequest) String

func (x *SlotInitTokenRequest) String() string

type SlotInitTokenResponse

type SlotInitTokenResponse struct {
	// contains filtered or unexported fields
}

func (*SlotInitTokenResponse) Descriptor deprecated

func (*SlotInitTokenResponse) Descriptor() ([]byte, []int)

Deprecated: Use SlotInitTokenResponse.ProtoReflect.Descriptor instead.

func (*SlotInitTokenResponse) ProtoMessage

func (*SlotInitTokenResponse) ProtoMessage()

func (*SlotInitTokenResponse) ProtoReflect

func (x *SlotInitTokenResponse) ProtoReflect() protoreflect.Message

func (*SlotInitTokenResponse) Reset

func (x *SlotInitTokenResponse) Reset()

func (*SlotInitTokenResponse) String

func (x *SlotInitTokenResponse) String() string

type SlotListMechanismsRequest

type SlotListMechanismsRequest struct {
	Id *SlotID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotListMechanismsRequest) Descriptor deprecated

func (*SlotListMechanismsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SlotListMechanismsRequest.ProtoReflect.Descriptor instead.

func (*SlotListMechanismsRequest) GetId

func (x *SlotListMechanismsRequest) GetId() *SlotID

func (*SlotListMechanismsRequest) ProtoMessage

func (*SlotListMechanismsRequest) ProtoMessage()

func (*SlotListMechanismsRequest) ProtoReflect

func (*SlotListMechanismsRequest) Reset

func (x *SlotListMechanismsRequest) Reset()

func (*SlotListMechanismsRequest) String

func (x *SlotListMechanismsRequest) String() string

type SlotListMechanismsResponse

type SlotListMechanismsResponse struct {
	Mechanisms []*SupportedMechanism `protobuf:"bytes,1,rep,name=mechanisms,proto3" json:"mechanisms,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotListMechanismsResponse) Descriptor deprecated

func (*SlotListMechanismsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SlotListMechanismsResponse.ProtoReflect.Descriptor instead.

func (*SlotListMechanismsResponse) GetMechanisms

func (x *SlotListMechanismsResponse) GetMechanisms() []*SupportedMechanism

func (*SlotListMechanismsResponse) ProtoMessage

func (*SlotListMechanismsResponse) ProtoMessage()

func (*SlotListMechanismsResponse) ProtoReflect

func (*SlotListMechanismsResponse) Reset

func (x *SlotListMechanismsResponse) Reset()

func (*SlotListMechanismsResponse) String

func (x *SlotListMechanismsResponse) String() string

type SlotOpenSessionRequest

type SlotOpenSessionRequest struct {
	Id           *SlotID `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	WriteSession bool    `protobuf:"varint,2,opt,name=write_session,json=writeSession,proto3" json:"write_session,omitempty"`
	// contains filtered or unexported fields
}

func (*SlotOpenSessionRequest) Descriptor deprecated

func (*SlotOpenSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use SlotOpenSessionRequest.ProtoReflect.Descriptor instead.

func (*SlotOpenSessionRequest) GetId

func (x *SlotOpenSessionRequest) GetId() *SlotID

func (*SlotOpenSessionRequest) GetWriteSession

func (x *SlotOpenSessionRequest) GetWriteSession() bool

func (*SlotOpenSessionRequest) ProtoMessage

func (*SlotOpenSessionRequest) ProtoMessage()

func (*SlotOpenSessionRequest) ProtoReflect

func (x *SlotOpenSessionRequest) ProtoReflect() protoreflect.Message

func (*SlotOpenSessionRequest) Reset

func (x *SlotOpenSessionRequest) Reset()

func (*SlotOpenSessionRequest) String

func (x *SlotOpenSessionRequest) String() string

type SlotOpenSessionUpdate

type SlotOpenSessionUpdate struct {

	// Types that are assignable to Update:
	//	*SlotOpenSessionUpdate_Uuid
	//	*SlotOpenSessionUpdate_LoggedIn
	Update isSlotOpenSessionUpdate_Update `protobuf_oneof:"update"`
	// contains filtered or unexported fields
}

func (*SlotOpenSessionUpdate) Descriptor deprecated

func (*SlotOpenSessionUpdate) Descriptor() ([]byte, []int)

Deprecated: Use SlotOpenSessionUpdate.ProtoReflect.Descriptor instead.

func (*SlotOpenSessionUpdate) GetLoggedIn

func (x *SlotOpenSessionUpdate) GetLoggedIn() bool

func (*SlotOpenSessionUpdate) GetUpdate

func (m *SlotOpenSessionUpdate) GetUpdate() isSlotOpenSessionUpdate_Update

func (*SlotOpenSessionUpdate) GetUuid

func (x *SlotOpenSessionUpdate) GetUuid() string

func (*SlotOpenSessionUpdate) ProtoMessage

func (*SlotOpenSessionUpdate) ProtoMessage()

func (*SlotOpenSessionUpdate) ProtoReflect

func (x *SlotOpenSessionUpdate) ProtoReflect() protoreflect.Message

func (*SlotOpenSessionUpdate) Reset

func (x *SlotOpenSessionUpdate) Reset()

func (*SlotOpenSessionUpdate) String

func (x *SlotOpenSessionUpdate) String() string

type SlotOpenSessionUpdate_LoggedIn

type SlotOpenSessionUpdate_LoggedIn struct {
	// Further responses must not be UUID
	LoggedIn bool `protobuf:"varint,2,opt,name=logged_in,json=loggedIn,proto3,oneof"`
}

type SlotOpenSessionUpdate_Uuid

type SlotOpenSessionUpdate_Uuid struct {
	// First response must be this UUID
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3,oneof"`
}

type SupportedMechanism added in v0.7.2

type SupportedMechanism struct {
	Type       MechanismType `protobuf:"varint,1,opt,name=type,proto3,enum=padlock.MechanismType" json:"type,omitempty"`
	MinKeySize uint64        `protobuf:"varint,2,opt,name=min_key_size,json=minKeySize,proto3" json:"min_key_size,omitempty"`
	MaxKeySize uint64        `protobuf:"varint,3,opt,name=max_key_size,json=maxKeySize,proto3" json:"max_key_size,omitempty"`
	Flags      []byte        `protobuf:"bytes,4,opt,name=flags,proto3" json:"flags,omitempty"`
	// contains filtered or unexported fields
}

func (*SupportedMechanism) Descriptor deprecated added in v0.7.2

func (*SupportedMechanism) Descriptor() ([]byte, []int)

Deprecated: Use SupportedMechanism.ProtoReflect.Descriptor instead.

func (*SupportedMechanism) GetFlags added in v0.7.2

func (x *SupportedMechanism) GetFlags() []byte

func (*SupportedMechanism) GetMaxKeySize added in v0.7.2

func (x *SupportedMechanism) GetMaxKeySize() uint64

func (*SupportedMechanism) GetMinKeySize added in v0.7.2

func (x *SupportedMechanism) GetMinKeySize() uint64

func (*SupportedMechanism) GetType added in v0.7.2

func (x *SupportedMechanism) GetType() MechanismType

func (*SupportedMechanism) ProtoMessage added in v0.7.2

func (*SupportedMechanism) ProtoMessage()

func (*SupportedMechanism) ProtoReflect added in v0.7.2

func (x *SupportedMechanism) ProtoReflect() protoreflect.Message

func (*SupportedMechanism) Reset added in v0.7.2

func (x *SupportedMechanism) Reset()

func (*SupportedMechanism) String added in v0.7.2

func (x *SupportedMechanism) String() string

type TokenInfo

type TokenInfo struct {
	Label              string   `protobuf:"bytes,1,opt,name=label,proto3" json:"label,omitempty"`
	ManufacturerId     string   `protobuf:"bytes,2,opt,name=manufacturer_id,json=manufacturerId,proto3" json:"manufacturer_id,omitempty"`
	Model              string   `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"`
	SerialNumber       string   `protobuf:"bytes,4,opt,name=serial_number,json=serialNumber,proto3" json:"serial_number,omitempty"`
	Flags              uint64   `protobuf:"varint,5,opt,name=flags,proto3" json:"flags,omitempty"`
	MaxSessionCount    uint64   `protobuf:"varint,6,opt,name=max_session_count,json=maxSessionCount,proto3" json:"max_session_count,omitempty"`
	SessionCount       uint64   `protobuf:"varint,7,opt,name=session_count,json=sessionCount,proto3" json:"session_count,omitempty"`
	MaxRwSessionCount  uint64   `protobuf:"varint,8,opt,name=max_rw_session_count,json=maxRwSessionCount,proto3" json:"max_rw_session_count,omitempty"`
	RwSessionCount     uint64   `protobuf:"varint,9,opt,name=rw_session_count,json=rwSessionCount,proto3" json:"rw_session_count,omitempty"`
	MaxPinLen          uint64   `protobuf:"varint,10,opt,name=max_pin_len,json=maxPinLen,proto3" json:"max_pin_len,omitempty"`
	MinPinLen          uint64   `protobuf:"varint,11,opt,name=min_pin_len,json=minPinLen,proto3" json:"min_pin_len,omitempty"`
	TotalPublicMemory  uint64   `protobuf:"varint,12,opt,name=total_public_memory,json=totalPublicMemory,proto3" json:"total_public_memory,omitempty"`
	FreePublicMemory   uint64   `protobuf:"varint,13,opt,name=free_public_memory,json=freePublicMemory,proto3" json:"free_public_memory,omitempty"`
	TotalPrivateMemory uint64   `protobuf:"varint,14,opt,name=total_private_memory,json=totalPrivateMemory,proto3" json:"total_private_memory,omitempty"`
	FreePrivateMemory  uint64   `protobuf:"varint,15,opt,name=free_private_memory,json=freePrivateMemory,proto3" json:"free_private_memory,omitempty"`
	HardwareVersion    *Version `protobuf:"bytes,16,opt,name=hardware_version,json=hardwareVersion,proto3" json:"hardware_version,omitempty"`
	FirmwareVersion    *Version `protobuf:"bytes,17,opt,name=firmware_version,json=firmwareVersion,proto3" json:"firmware_version,omitempty"`
	Utctime            string   `protobuf:"bytes,18,opt,name=utctime,proto3" json:"utctime,omitempty"`
	// contains filtered or unexported fields
}

func (*TokenInfo) Descriptor deprecated

func (*TokenInfo) Descriptor() ([]byte, []int)

Deprecated: Use TokenInfo.ProtoReflect.Descriptor instead.

func (*TokenInfo) GetFirmwareVersion

func (x *TokenInfo) GetFirmwareVersion() *Version

func (*TokenInfo) GetFlags

func (x *TokenInfo) GetFlags() uint64

func (*TokenInfo) GetFreePrivateMemory

func (x *TokenInfo) GetFreePrivateMemory() uint64

func (*TokenInfo) GetFreePublicMemory

func (x *TokenInfo) GetFreePublicMemory() uint64

func (*TokenInfo) GetHardwareVersion

func (x *TokenInfo) GetHardwareVersion() *Version

func (*TokenInfo) GetLabel

func (x *TokenInfo) GetLabel() string

func (*TokenInfo) GetManufacturerId

func (x *TokenInfo) GetManufacturerId() string

func (*TokenInfo) GetMaxPinLen

func (x *TokenInfo) GetMaxPinLen() uint64

func (*TokenInfo) GetMaxRwSessionCount

func (x *TokenInfo) GetMaxRwSessionCount() uint64

func (*TokenInfo) GetMaxSessionCount

func (x *TokenInfo) GetMaxSessionCount() uint64

func (*TokenInfo) GetMinPinLen

func (x *TokenInfo) GetMinPinLen() uint64

func (*TokenInfo) GetModel

func (x *TokenInfo) GetModel() string

func (*TokenInfo) GetRwSessionCount

func (x *TokenInfo) GetRwSessionCount() uint64

func (*TokenInfo) GetSerialNumber

func (x *TokenInfo) GetSerialNumber() string

func (*TokenInfo) GetSessionCount

func (x *TokenInfo) GetSessionCount() uint64

func (*TokenInfo) GetTotalPrivateMemory

func (x *TokenInfo) GetTotalPrivateMemory() uint64

func (*TokenInfo) GetTotalPublicMemory

func (x *TokenInfo) GetTotalPublicMemory() uint64

func (*TokenInfo) GetUtctime

func (x *TokenInfo) GetUtctime() string

func (*TokenInfo) ProtoMessage

func (*TokenInfo) ProtoMessage()

func (*TokenInfo) ProtoReflect

func (x *TokenInfo) ProtoReflect() protoreflect.Message

func (*TokenInfo) Reset

func (x *TokenInfo) Reset()

func (*TokenInfo) String

func (x *TokenInfo) String() string

type UnimplementedExposedPadlockServer added in v0.2.0

type UnimplementedExposedPadlockServer struct {
}

UnimplementedExposedPadlockServer must be embedded to have forward compatible implementations.

func (UnimplementedExposedPadlockServer) DeleteDestroyObject added in v0.7.2

func (UnimplementedExposedPadlockServer) DeleteSessionClose added in v0.5.0

func (UnimplementedExposedPadlockServer) GetApplicationConnect added in v0.3.0

func (UnimplementedExposedPadlockServer) GetApplicationListModules added in v0.2.0

func (UnimplementedExposedPadlockServer) GetDecryptSegmented added in v0.7.3

func (UnimplementedExposedPadlockServer) GetEncryptSegmented added in v0.7.3

func (UnimplementedExposedPadlockServer) GetModuleInfo added in v0.2.0

func (UnimplementedExposedPadlockServer) GetModuleListSlots added in v0.2.0

func (UnimplementedExposedPadlockServer) GetObjectListAttributeValues added in v0.2.0

func (UnimplementedExposedPadlockServer) GetSessionListObjects added in v0.2.0

func (UnimplementedExposedPadlockServer) GetSignSegmented added in v0.7.3

func (UnimplementedExposedPadlockServer) GetSlotListMechanisms added in v0.2.0

func (UnimplementedExposedPadlockServer) GetSlotOpenSession added in v0.3.0

func (UnimplementedExposedPadlockServer) GetVerifySegmented added in v0.7.3

func (UnimplementedExposedPadlockServer) PostDecrypt added in v0.7.2

func (UnimplementedExposedPadlockServer) PostEncrypt added in v0.7.2

func (UnimplementedExposedPadlockServer) PostHello added in v0.2.0

func (UnimplementedExposedPadlockServer) PostSessionCreateObject added in v0.7.2

func (UnimplementedExposedPadlockServer) PostSessionGenerateKey added in v0.7.2

func (UnimplementedExposedPadlockServer) PostSessionGenerateKeyPair added in v0.7.2

func (UnimplementedExposedPadlockServer) PostSessionGenerateRandom added in v0.7.2

func (UnimplementedExposedPadlockServer) PostSessionKeepAlive added in v0.7.1

func (UnimplementedExposedPadlockServer) PostSign added in v0.7.2

func (UnimplementedExposedPadlockServer) PostSlotInitToken added in v0.2.0

func (UnimplementedExposedPadlockServer) PostVerify added in v0.7.2

func (UnimplementedExposedPadlockServer) PutCopyObject added in v0.7.2

func (UnimplementedExposedPadlockServer) PutSessionLogin added in v0.2.0

func (UnimplementedExposedPadlockServer) PutSessionLogout added in v0.2.0

func (UnimplementedExposedPadlockServer) PutUnwrapKey added in v0.7.2

func (UnimplementedExposedPadlockServer) PutWrapKey added in v0.7.2

type UnimplementedPadlockServer

type UnimplementedPadlockServer struct {
}

UnimplementedPadlockServer must be embedded to have forward compatible implementations.

func (UnimplementedPadlockServer) ApplicationConnect added in v0.2.0

func (UnimplementedPadlockServer) ApplicationListModules added in v0.2.0

func (UnimplementedPadlockServer) CopyObject added in v0.7.2

func (UnimplementedPadlockServer) Decrypt added in v0.7.2

func (UnimplementedPadlockServer) DecryptSegmented added in v0.7.2

func (UnimplementedPadlockServer) DestroyObject added in v0.7.2

func (UnimplementedPadlockServer) Encrypt added in v0.7.2

func (UnimplementedPadlockServer) EncryptSegmented added in v0.7.2

func (UnimplementedPadlockServer) Hello added in v0.2.0

func (UnimplementedPadlockServer) ModuleInfo added in v0.2.0

func (UnimplementedPadlockServer) ModuleListSlots added in v0.2.0

func (UnimplementedPadlockServer) ObjectListAttributeValues added in v0.2.0

func (UnimplementedPadlockServer) ObjectSetAttributeValues added in v0.7.4

func (UnimplementedPadlockServer) SessionClose added in v0.5.0

func (UnimplementedPadlockServer) SessionCreateObject added in v0.7.2

func (UnimplementedPadlockServer) SessionGenerateKey added in v0.7.2

func (UnimplementedPadlockServer) SessionGenerateKeyPair added in v0.7.2

func (UnimplementedPadlockServer) SessionGenerateRandom added in v0.7.2

func (UnimplementedPadlockServer) SessionKeepAlive added in v0.7.1

func (UnimplementedPadlockServer) SessionListObjects added in v0.2.0

func (UnimplementedPadlockServer) SessionLogin added in v0.2.0

func (UnimplementedPadlockServer) SessionLogout added in v0.2.0

func (UnimplementedPadlockServer) Sign added in v0.7.2

func (UnimplementedPadlockServer) SignSegmented added in v0.7.2

func (UnimplementedPadlockServer) SlotInitToken added in v0.2.0

func (UnimplementedPadlockServer) SlotListMechanisms added in v0.2.0

func (UnimplementedPadlockServer) SlotOpenSession added in v0.2.0

func (UnimplementedPadlockServer) UnwrapKey added in v0.7.2

func (UnimplementedPadlockServer) Verify added in v0.7.2

func (UnimplementedPadlockServer) VerifySegmented added in v0.7.2

func (UnimplementedPadlockServer) WrapKey added in v0.7.2

type UnsafeExposedPadlockServer added in v0.2.0

type UnsafeExposedPadlockServer interface {
	// contains filtered or unexported methods
}

UnsafeExposedPadlockServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ExposedPadlockServer will result in compilation errors.

type UnsafePadlockServer

type UnsafePadlockServer interface {
	// contains filtered or unexported methods
}

UnsafePadlockServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PadlockServer will result in compilation errors.

type Version

type Version struct {
	Major uint32 `protobuf:"varint,1,opt,name=major,proto3" json:"major,omitempty"`
	Minor uint32 `protobuf:"varint,2,opt,name=minor,proto3" json:"minor,omitempty"`
	// contains filtered or unexported fields
}

func (*Version) Descriptor deprecated

func (*Version) Descriptor() ([]byte, []int)

Deprecated: Use Version.ProtoReflect.Descriptor instead.

func (*Version) GetMajor

func (x *Version) GetMajor() uint32

func (*Version) GetMinor

func (x *Version) GetMinor() uint32

func (*Version) ProtoMessage

func (*Version) ProtoMessage()

func (*Version) ProtoReflect

func (x *Version) ProtoReflect() protoreflect.Message

func (*Version) Reset

func (x *Version) Reset()

func (*Version) String

func (x *Version) String() string

Jump to

Keyboard shortcuts

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