forked from TrueCloudLab/certificates
Fix help.
This commit is contained in:
parent
8366b7ddf1
commit
7ec1424cb6
1 changed files with 10 additions and 6 deletions
|
@ -100,7 +100,7 @@ type GetPublicKeyRequest struct {
|
||||||
type CreateKeyRequest struct {
|
type CreateKeyRequest struct {
|
||||||
// Name represents the key name or label used to identify a key.
|
// Name represents the key name or label used to identify a key.
|
||||||
//
|
//
|
||||||
// Used by: awskms, cloudkms, pkcs11, yubikey.
|
// Used by: awskms, cloudkms, azurekms, pkcs11, yubikey.
|
||||||
Name string
|
Name string
|
||||||
|
|
||||||
// SignatureAlgorithm represents the type of key to create.
|
// SignatureAlgorithm represents the type of key to create.
|
||||||
|
@ -110,11 +110,13 @@ type CreateKeyRequest struct {
|
||||||
Bits int
|
Bits int
|
||||||
|
|
||||||
// ProtectionLevel specifies how cryptographic operations are performed.
|
// ProtectionLevel specifies how cryptographic operations are performed.
|
||||||
// Used by: cloudkms
|
// Used by: cloudkms, azurekms.
|
||||||
ProtectionLevel ProtectionLevel
|
ProtectionLevel ProtectionLevel
|
||||||
|
|
||||||
// Whether the key may be exported from the HSM under a wrap key.
|
// Extractable defines if the new key may be exported from the HSM under a
|
||||||
// Sets the CKA_EXTRACTABLE bit.
|
// wrap key. On pkcs11 sets the CKA_EXTRACTABLE bit.
|
||||||
|
//
|
||||||
|
// Used by: pkcs11
|
||||||
Extractable bool
|
Extractable bool
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -157,7 +159,9 @@ type StoreCertificateRequest struct {
|
||||||
Name string
|
Name string
|
||||||
Certificate *x509.Certificate
|
Certificate *x509.Certificate
|
||||||
|
|
||||||
// Whether the key may be exported from the HSM under a wrap key.
|
// Extractable defines if the new certificate may be exported from the HSM
|
||||||
// Sets the CKA_EXTRACTABLE bit.
|
// under a wrap key. On pkcs11 sets the CKA_EXTRACTABLE bit.
|
||||||
|
//
|
||||||
|
// Used by: pkcs11
|
||||||
Extractable bool
|
Extractable bool
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue