Documentation
¶
Index ¶
- func AttributeP11toPB(attr uint) padlockpb.AttributeType
- func AttributePBtoP11(attr padlockpb.AttributeType) uint
- func AttributesPBtoP11(attrs []*padlockpb.Attribute) []*pkcs11.Attribute
- func MechanismP11toPB(mech uint) padlockpb.MechanismType
- func MechanismPBtoP11(mech *padlockpb.Mechanism) *pkcs11.Mechanism
- func MechanismTypePBtoP11(mech padlockpb.MechanismType) uint
- func MechanismsPBtoP11(mechs []*padlockpb.Mechanism) []*pkcs11.Mechanism
- func Serve(cfg Config) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttributeP11toPB ¶ added in v0.7.0
func AttributeP11toPB(attr uint) padlockpb.AttributeType
AttributeP11toPB converts mechanism enums
func AttributePBtoP11 ¶ added in v0.7.0
func AttributePBtoP11(attr padlockpb.AttributeType) uint
AttributePBtoP11 converts attribute enums
func AttributesPBtoP11 ¶ added in v0.7.2
AttributesPBtoP11 converts multiple attributes to enums
func MechanismP11toPB ¶ added in v0.5.0
func MechanismP11toPB(mech uint) padlockpb.MechanismType
MechanismP11toPB converts mechanism enums
func MechanismPBtoP11 ¶ added in v0.5.0
MechanismPBtoP11 converts a mechanism
func MechanismTypePBtoP11 ¶ added in v0.7.2
func MechanismTypePBtoP11(mech padlockpb.MechanismType) uint
MechanismTypePBtoP11 converts mechanism enums
func MechanismsPBtoP11 ¶ added in v0.7.2
MechanismsPBtoP11 converts multiple mechanisms
Types ¶
Click to show internal directories.
Click to hide internal directories.