oasis

Key Management Interoperability Protocol Specification Version 1.4

OASIS Standard

22 November 2017

Specification URIs

This version:

http://docs.oasis-open.org/kmip/spec/v1.4/os/kmip-spec-v1.4-os.docx (Authoritative)

http://docs.oasis-open.org/kmip/spec/v1.4/os/kmip-spec-v1.4-os.html

http://docs.oasis-open.org/kmip/spec/v1.4/os/kmip-spec-v1.4-os.pdf

Previous version:

http://docs.oasis-open.org/kmip/spec/v1.4/cs01/kmip-spec-v1.4-cs01.docx (Authoritative)

http://docs.oasis-open.org/kmip/spec/v1.4/cs01/kmip-spec-v1.4-cs01.html

http://docs.oasis-open.org/kmip/spec/v1.4/cs01/kmip-spec-v1.4-cs01.pdf

Latest version:

http://docs.oasis-open.org/kmip/spec/v1.4/kmip-spec-v1.4.docx (Authoritative)

http://docs.oasis-open.org/kmip/spec/v1.4/kmip-spec-v1.4.html

http://docs.oasis-open.org/kmip/spec/v1.4/kmip-spec-v1.4.pdf

Technical Committee:

OASIS Key Management Interoperability Protocol (KMIP) TC

Chairs:

Judith Furlong (Judith.Furlong@dell.com), Dell

Tony Cox (tony.cox@cryptsoft.com), Cryptsoft Pty Ltd.

Editor:

Tony Cox (tony.cox@cryptsoft.com), Cryptsoft Pty Ltd.

<w:bookmarkStart w:id="0" w:name="RelatedWork"/>Related work<w:bookmarkEnd w:id="0"/>:

This specification replaces or supersedes:

This specification is related to:

Abstract:

This document is intended for developers and architects who wish to design systems and applications that interoperate using the Key Management Interoperability Protocol Specification.

Status:

This document was last revised or approved by the Members of OASIS on the above date. The level of approval is also listed above. Check the “Latest version” location noted above for possible later revisions of this document. Any other numbered Versions and other technical work produced by the Technical Committee (TC) are listed at https://www.oasis-open.org/committees/tc_home.php?wg_abbrev=kmip#technical.

TC members should send comments on this specification to the TC’s email list. Others should send comments to the TC’s public comment list, after subscribing to it by following the instructions at the “Send A Comment” button on the TC’s web page at https://www.oasis-open.org/committees/kmip/.

This OASIS Standard is provided under the RF on RAND Terms Mode of the OASIS IPR Policy, the mode chosen when the Technical Committee was established. For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC’s web page (https://www.oasis-open.org/committees/kmip/ipr.php).

Note that any machine-readable content (Computer Language Definitions) declared Normative for this Work Product is provided in separate plain text files. In the event of a discrepancy between any such plain text file and display content in the Work Product's prose narrative document(s), the content in the separate plain text file prevails.

Citation format:

When referencing this specification the following citation format should be used:

[kmip-spec-v1.4]

Key Management Interoperability Protocol Specification Version 1.4. Edited by Tony Cox. 22 November 2017. OASIS Standard. http://docs.oasis-open.org/kmip/spec/v1.4/os/kmip-spec-v1.4-os.html. Latest version: http://docs.oasis-open.org/kmip/spec/v1.4/kmip-spec-v1.4.html.

Notices

Copyright © OASIS Open 2017. All Rights Reserved.

All capitalized terms in the following text have the meanings assigned to them in the OASIS Intellectual Property Rights Policy (the "OASIS IPR Policy"). The full Policy may be found at the OASIS website.

This document and translations of it may be copied and furnished to others, and derivative works that comment on or otherwise explain it or assist in its implementation may be prepared, copied, published, and distributed, in whole or in part, without restriction of any kind, provided that the above copyright notice and this section are included on all such copies and derivative works. However, this document itself may not be modified in any way, including by removing the copyright notice or references to OASIS, except as needed for the purpose of developing any document or deliverable produced by an OASIS Technical Committee (in which case the rules applicable to copyrights, as set forth in the OASIS IPR Policy, must be followed) or as required to translate it into languages other than English.

The limited permissions granted above are perpetual and will not be revoked by OASIS or its successors or assigns.

This document and the information contained herein is provided on an "AS IS" basis and OASIS DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY OWNERSHIP RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.

OASIS requests that any OASIS Party or any other party that believes it has patent claims that would necessarily be infringed by implementations of this OASIS Committee Specification or OASIS Standard, to notify OASIS TC Administrator and provide an indication of its willingness to grant patent licenses to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification.

OASIS invites any party to contact the OASIS TC Administrator if it is aware of a claim of ownership of any patent claims that would necessarily be infringed by implementations of this specification by a patent holder that is not willing to provide a license to such patent claims in a manner consistent with the IPR Mode of the OASIS Technical Committee that produced this specification. OASIS may include such claims on its website, but disclaims any obligation to do so.

OASIS takes no position regarding the validity or scope of any intellectual property or other rights that might be claimed to pertain to the implementation or use of the technology described in this document or the extent to which any license under such rights might or might not be available; neither does it represent that it has made any effort to identify any such rights. Information on OASIS' procedures with respect to rights in any document or deliverable produced by an OASIS Technical Committee can be found on the OASIS website. Copies of claims of rights made available for publication and any assurances of licenses to be made available, or the result of an attempt made to obtain a general license or permission for the use of such proprietary rights by implementers or users of this OASIS Committee Specification or OASIS Standard, can be obtained from the OASIS TC Administrator. OASIS makes no representation that any information or list of intellectual property rights will at any time be complete, or that any claims in such list are, in fact, Essential Claims.

The name "OASIS" is a trademark of OASIS, the owner and developer of this specification, and should be used only to refer to the organization and its official outputs. OASIS welcomes reference to, and implementation and use of, specifications, while reserving the right to enforce its marks against misleading uses. Please see https://www.oasis-open.org/policies-guidelines/trademark for above guidance.

Table of Contents

1 Introduction 11

1.0 IPR Policy 11

1.1 Terminology 11

1.2 Normative References 14

1.3 Non-Normative References 17

2 Objects 19

2.1 Base Objects 19

2.1.1 Attribute 19

2.1.2 Credential 20

2.1.3 Key Block 21

2.1.4 Key Value 22

2.1.5 Key Wrapping Data 23

2.1.6 Key Wrapping Specification 25

2.1.7 Transparent Key Structures 26

2.1.7.1 Transparent Symmetric Key 27

2.1.7.2 Transparent DSA Private Key 27

2.1.7.3 Transparent DSA Public Key 28

2.1.7.4 Transparent RSA Private Key 28

2.1.7.5 Transparent RSA Public Key 29

2.1.7.6 Transparent DH Private Key 29

2.1.7.7 Transparent DH Public Key 29

2.1.7.8 Transparent ECDSA Private Key 29

2.1.7.9 Transparent ECDSA Public Key 30

2.1.7.10 Transparent ECDH Private Key 30

2.1.7.11 Transparent ECDH Public Key 30

2.1.7.12 Transparent ECMQV Private Key 31

2.1.7.13 Transparent ECMQV Public Key 31

2.1.7.14 Transparent EC Private Key 31

2.1.7.15 Transparent EC Public Key 32

2.1.8 Template-Attribute Structures 32

2.1.9 Extension Information 32

2.1.10 Data 33

2.1.11 Data Length 33

2.1.12 Signature Data 33

2.1.13 MAC Data 33

2.1.14 Nonce 33

2.1.15 Correlation Value 33

2.1.16 Init Indicator 34

2.1.17 Final Indicator 34

2.1.18 RNG Parameters 35

2.1.19 Profile Information 35

2.1.20 Validation Information 36

2.1.21 Capability Information 36

2.1.22 Authenticated Encryption Additional Data 37

2.1.23 Authenticated Encryption Tag 37

2.2 Managed Objects 37

2.2.1 Certificate 38

2.2.2 Symmetric Key 38

2.2.3 Public Key 38

2.2.4 Private Key 38

2.2.5 Split Key 38

2.2.6 Template 40

2.2.7 Secret Data 40

2.2.8 Opaque Object 40

2.2.9 PGP Key 41

3 Attributes 42

3.1 Unique Identifier 43

3.2 Name 44

3.3 Object Type 44

3.4 Cryptographic Algorithm 45

3.5 Cryptographic Length 45

3.6 Cryptographic Parameters 46

3.7 Cryptographic Domain Parameters 49

3.8 Certificate Type 49

3.9 Certificate Length 50

3.10 X.509 Certificate Identifier 50

3.11 X.509 Certificate Subject 51

3.12 X.509 Certificate Issuer 52

3.13 Certificate Identifier 52

3.14 Certificate Subject 53

3.15 Certificate Issuer 54

3.16 Digital Signature Algorithm 54

3.17 Digest 55

3.18 Operation Policy Name 56

3.18.1 Operations outside of operation policy control 57

3.18.2 Default Operation Policy 57

3.18.2.1 Default Operation Policy for Secret Objects 57

3.18.2.2 Default Operation Policy for Certificates and Public Key Objects 58

3.18.2.3 Default Operation Policy for Template Objects 59

3.19 Cryptographic Usage Mask 60

3.20 Lease Time 61

3.21 Usage Limits 62

3.22 State 63

3.23 Initial Date 65

3.24 Activation Date 65

3.25 Process Start Date 66

3.26 Protect Stop Date 67

3.27 Deactivation Date 68

3.28 Destroy Date 68

3.29 Compromise Occurrence Date 69

3.30 Compromise Date 69

3.31 Revocation Reason 70

3.32 Archive Date 70

3.33 Object Group 71

3.34 Fresh 71

3.35 Link 72

3.36 Application Specific Information 73

3.37 Contact Information 74

3.38 Last Change Date 74

3.39 Custom Attribute 75

3.40 Alternative Name 76

3.41 Key Value Present 76

3.42 Key Value Location 77

3.43 Original Creation Date 77

3.44 Random Number Generator 78

3.45 PKCS#12 Friendly Name 79

3.46 Description 79

3.47 Comment 80

3.48 Sensitive 80

3.49 Always Sensitive 81

3.50 Extractable 81

3.51 Never Extractable 82

4 Client-to-Server Operations 83

4.1 Create 84

4.2 Create Key Pair 85

4.3 Register 88

4.4 Re-key 90

4.5 Re-key Key Pair 92

4.6 Derive Key 96

4.7 Certify 99

4.8 Re-certify 100

4.9 Locate 102

4.10 Check 104

4.11 Get 106

4.12 Get Attributes 107

4.13 Get Attribute List 108

4.14 Add Attribute 108

4.15 Modify Attribute 109

4.16 Delete Attribute 109

4.17 Obtain Lease 110

4.18 Get Usage Allocation 111

4.19 Activate 112

4.20 Revoke 112

4.21 Destroy 113

4.22 Archive 113

4.23 Recover 114

4.24 Validate 114

4.25 Query 115

4.26 Discover Versions 117

4.27 Cancel 118

4.28 Poll 119

4.29 Encrypt 119

4.30 Decrypt 121

4.31 Sign 123

4.32 Signature Verify 125

4.33 MAC 127

4.34 MAC Verify 129

4.35 RNG Retrieve 130

4.36 RNG Seed 130

4.37 Hash 131

4.38 Create Split Key 132

4.39 Join Split Key 133

4.40 Export 134

4.41 Import 134

5 Server-to-Client Operations 136

5.1 Notify 136

5.2 Put 136

5.3 Query 137

6 Message Contents 141

6.1 Protocol Version 141

6.2 Operation 141

6.3 Maximum Response Size 141

6.4 Unique Batch Item ID 141

6.5 Time Stamp 142

6.6 Authentication 142

6.7 Asynchronous Indicator 142

6.8 Asynchronous Correlation Value 142

6.9 Result Status 143

6.10 Result Reason 143

6.11 Result Message 144

6.12 Batch Order Option 144

6.13 Batch Error Continuation Option 144

6.14 Batch Count 145

6.15 Batch Item 145

6.16 Message Extension 145

6.17 Attestation Capable Indicator 146

6.18 Client Correlation Value 146

6.19 Server Correlation Value 146

7 Message Format 147

7.1 Message Structure 147

7.2 Operations 147

8 Authentication 150

9 Message Encoding 151

9.1 TTLV Encoding 151

9.1.1 TTLV Encoding Fields 151

9.1.1.1 Item Tag 151

9.1.1.2 Item Type 151

9.1.1.3 Item Length 152

9.1.1.4 Item Value 152

9.1.2 Examples 153

9.1.3 Defined Values 154

9.1.3.1 Tags 154

9.1.3.2 Enumerations 162

9.1.3.2.1 Credential Type Enumeration 162

9.1.3.2.2 Key Compression Type Enumeration 163

9.1.3.2.3 Key Format Type Enumeration 163

9.1.3.2.4 Wrapping Method Enumeration 164

9.1.3.2.5 Recommended Curve Enumeration 164

9.1.3.2.6 Certificate Type Enumeration 166

9.1.3.2.7 Digital Signature Algorithm Enumeration 167

9.1.3.2.8 Split Key Method Enumeration 168

9.1.3.2.9 Secret Data Type Enumeration 168

9.1.3.2.10 Opaque Data Type Enumeration 168

9.1.3.2.11 Name Type Enumeration 168

9.1.3.2.12 Object Type Enumeration 169

9.1.3.2.13 Cryptographic Algorithm Enumeration 170

9.1.3.2.14 Block Cipher Mode Enumeration 171

9.1.3.2.15 Padding Method Enumeration 172

9.1.3.2.16 Hashing Algorithm Enumeration 172

9.1.3.2.17 Key Role Type Enumeration 173

9.1.3.2.18 State Enumeration 174

9.1.3.2.19 Revocation Reason Code Enumeration 174

9.1.3.2.20 Link Type Enumeration 174

9.1.3.2.21 Derivation Method Enumeration 175

9.1.3.2.22 Certificate Request Type Enumeration 175

9.1.3.2.23 Validity Indicator Enumeration 176

9.1.3.2.24 Query Function Enumeration 176

9.1.3.2.25 Cancellation Result Enumeration 176

9.1.3.2.26 Put Function Enumeration 177

9.1.3.2.27 Operation Enumeration 178

9.1.3.2.28 Result Status Enumeration 179

9.1.3.2.29 Result Reason Enumeration 180

9.1.3.2.30 Batch Error Continuation Option Enumeration 181

9.1.3.2.31 Usage Limits Unit Enumeration 181

9.1.3.2.32 Encoding Option Enumeration 181

9.1.3.2.33 Object Group Member Enumeration 181

9.1.3.2.34 Alternative Name Type Enumeration 181

9.1.3.2.35 Key Value Location Type Enumeration 182

9.1.3.2.36 Attestation Type Enumeration 182

9.1.3.2.37 RNG Algorithm Enumeration 182

9.1.3.2.38 DRBG Algorithm Enumeration 183

9.1.3.2.39 FIPS186 Variation Enumeration 183

9.1.3.2.40 Validation Authority Type Enumeration 183

9.1.3.2.41 Validation Type Enumeration 184

9.1.3.2.42 Profile Name Enumeration 184

9.1.3.2.43 Unwrap Mode Enumeration 188

9.1.3.2.44 Destroy Action Enumeration 190

9.1.3.2.45 Shredding Algorithm Enumeration 190

9.1.3.2.46 RNG Mode Enumeration 190

9.1.3.2.47 Client Registration Method Enumeration 190

9.1.3.2.48 Key Wrap Type Enumeration 190

9.1.3.2.49 Mask Generator Enumeration 191

9.1.3.3 Bit Masks 191

9.1.3.3.1 Cryptographic Usage Mask 191

9.1.3.3.2 Storage Status Mask 192

10 Transport 193

11 Error Handling 194

11.1 General 194

11.2 Create 196

11.3 Create Key Pair 197

11.4 Register 198

11.5 Re-key 199

11.6 Re-key Key Pair 200

11.7 Derive Key 201

11.8 Certify 202

11.9 Re-certify 202

11.10 Locate 203

11.11 Check 203

11.12 Get 204

11.13 Get Attributes 205

11.14 Get Attribute List 205

11.15 Add Attribute 205

11.16 Modify Attribute 206

11.17 Delete Attribute 206

11.18 Obtain Lease 206

11.19 Get Usage Allocation 207

11.20 Activate 207

11.21 Revoke 207

11.22 Destroy 208

11.23 Archive 208

11.24 Recover 208

11.25 Validate 208

11.26 Query 208

11.27 Discover Versions 208

11.28 Cancel 209

11.29 Poll 209

11.30 Encrypt 209

11.31 Decrypt 209

11.32 Sign 210

11.33 Signature Verify 210

11.34 MAC 211

11.35 MAC Verify 211

11.36 RNG Retrieve 211

11.37 RNG Seed 211

11.38 HASH 212

11.39 Create Split Key 212

11.40 Join Split Key 213

11.41 Export 214

11.42 Import 215

11.43 Batch Items 215

12 KMIP Server and Client Implementation Conformance 217

12.1 KMIP Server Implementation Conformance 217

12.2 KMIP Client Implementation Conformance 217

Appendix A. Acknowledgments 218

Appendix B. Attribute Cross-Reference 219

Appendix C. Tag Cross-Reference 221

Appendix D. Operations and Object Cross-Reference 227

Appendix E. Acronyms 229

Appendix F. List of Figures and Tables 233

Appendix G. Revision History 242

Introduction

This document is intended as a specification of the protocol used for the communication between clients and servers to perform certain management operations on objects stored and maintained by a key management system. These objects are referred to as Managed Objects in this specification. They include symmetric and asymmetric cryptographic keys, digital certificates, and templates used to simplify the creation of objects and control their use. Managed Objects are managed with operations that include the ability to generate cryptographic keys, register objects with the key management system, obtain objects from the system, destroy objects from the system, and search for objects maintained by the system. Managed Objects also have associated attributes, which are named values stored by the key management system and are obtained from the system via operations. Certain attributes are added, modified, or deleted by operations.

The protocol specified in this document includes several certificate-related functions for which there are a number of existing protocols – namely Validate (e.g., SCVP or XKMS), Certify (e.g., CMP [RFC4210], CMC [RFC5272][RFC6402], SCEP) and Re-certify (e.g., CMP [RFC4210], CMC [RFC5272][RFC6402], SCEP). The protocol does not attempt to define a comprehensive certificate management protocol, such as would be needed for a certification authority. However, it does include functions that are needed to allow a key server to provide a proxy for certificate management functions.

In addition to the normative definitions for managed objects, operations and attributes, this specification also includes normative definitions for the following aspects of the protocol:

• The expected behavior of the server and client as a result of operations,

• Message contents and formats,

• Message encoding (including enumerations), and

• Error handling.

This specification is complemented by several other documents. The KMIP Usage Guide[KMIP-UG] provides illustrative information on using the protocol. The KMIP Profiles Specification [KMIP-Prof] provides a selected set of base level conformance profiles and authentication suites; additional KMIP Profiles define specific sets of KMIP functionality for conformance purposes. The KMIP Test Specification [KMIP-TC] provides samples of protocol messages corresponding to a set of defined test cases.

This specification defines the KMIP protocol version major 1 and minor 2 (see 6.1).

IPR Policy

This OASIS Standard is provided under the RF on RAND Terms Mode of the OASIS IPR Policy, the mode chosen when the Technical Committee was established.

For information on whether any patents have been disclosed that may be essential to implementing this specification, and any offers of patent licensing terms, please refer to the Intellectual Property Rights section of the TC’s web page (https://www.oasis-open.org/committees/kmip/ipr.php).

Terminology

The key words “MUST”, “MUST NOT”, “REQUIRED”, “SHALL”, “SHALL NOT”, “SHOULD”, “SHOULD NOT”, “RECOMMENDED”, “MAY”, and “OPTIONAL” in this document are to be interpreted as described in [RFC2119].

For acronyms used in this document, see Appendix E. For definitions not found in this document, see [SP800-57-1].

Table 1: Terminology
TermDefinition
ArchiveTo place information not accessed frequently into long-term storage.

Asymmetric key pair

(key pair)

A public key and its corresponding private key; a key pair is used with a public key algorithm.
AuthenticationA process that establishes the origin of information, or determines an entity’s identity.
Authentication codeA cryptographic checksum based on a security function.
AuthorizationAccess privileges that are granted to an entity; conveying an “official” sanction to perform a security function or activity.
Certificate lengthThe length (in bytes) of an X.509 public key certificate.
Certification authorityThe entity in a Public Key Infrastructure (PKI) that is responsible for issuing certificates, and exacting compliance to a PKI policy.
CiphertextData in its encrypted form.
CompromiseThe unauthorized disclosure, modification, substitution or use of sensitive data (e.g., keying material and other security-related information).
ConfidentialityThe property that sensitive information is not disclosed to unauthorized entities.
Cryptographic algorithmA well-defined computational procedure that takes variable inputs, including a cryptographic key and produces an output.
Cryptographic key
(key)

A parameter used in conjunction with a cryptographic algorithm that determines its operation in such a way that an entity with knowledge of the key can reproduce or reverse the operation, while an entity without knowledge of the key cannot. Examples include:

1. The transformation of plaintext data into ciphertext data,

2. The transformation of ciphertext data into plaintext data,

3. The computation of a digital signature from data,

4. The verification of a digital signature,

5. The computation of an authentication code from data, and

6. The verification of an authentication code from data and a received authentication code.

DecryptionThe process of changing ciphertext into plaintext using a cryptographic algorithm and key.
Digest (or hash)The result of applying a hashing algorithm to information.
Digital signature
(signature)

The result of a cryptographic transformation of data that, when properly implemented with supporting infrastructure and policy, provides the services of:

1. origin authentication

2. data integrity, and

3. signer non-repudiation.

Digital Signature AlgorithmA cryptographic algorithm used for digital signature.
EncryptionThe process of changing plaintext into ciphertext using a cryptographic algorithm and key.
Hashing algorithm (or hash algorithm, hash function)

An algorithm that maps a bit string of arbitrary length to a fixed length bit string. Approved hashing algorithms satisfy the following properties:

1. (One-way) It is computationally infeasible to find any input that

maps to any pre-specified output, and

2. (Collision resistant) It is computationally infeasible to find any two distinct inputs that map to the same output.

IntegrityThe property that sensitive data has not been modified or deleted in an unauthorized and undetected manner.
Key derivation
(derivation)

A function in the lifecycle of keying material; the process by which one or more keys are derived from:

1) Either a shared secret from a key agreement computation or a pre-shared cryptographic key, and

2) Other information.

Key managementThe activities involving the handling of cryptographic keys and other related security parameters (e.g., IVs and passwords) during the entire life cycle of the keys, including their generation, storage, establishment, entry and output, and destruction.
Key wrapping
(wrapping)
A method of encrypting and/or MACing/signing keys.
Message Authentication Code (MAC)A cryptographic checksum on data that uses a symmetric key to detect both accidental and intentional modifications of data.
PGP KeyA RFC 4880-compliant container of cryptographic keys and associated metadata. Usually text-based (in PGP-parlance, ASCII-armored).
Private key

A cryptographic key used with a public key cryptographic algorithm that is uniquely associated with an entity and is not made public. The private key is associated with a public key. Depending on the algorithm, the private key MAY be used to:

1. Compute the corresponding public key,

2. Compute a digital signature that can be verified by the corresponding public key,

3. Decrypt data that was encrypted by the corresponding public key, or

4. Compute a piece of common shared data, together with other information.

ProfileA specification of objects, attributes, operations, message elements and authentication methods to be used in specific contexts of key management server and client interactions (see [KMIP-Prof]).
Public key

A cryptographic key used with a public key cryptographic algorithm that is uniquely associated with an entity and that MAY be made public. The public key is associated with a private key. The public key MAY be known by anyone and, depending on the algorithm, MAY be used to:

1. Verify a digital signature that is signed by the corresponding private key,

2. Encrypt data that can be decrypted by the corresponding private key, or

3. Compute a piece of shared data.

Public key certificate
(certificate)
A set of data that uniquely identifies an entity, contains the entity's public key and possibly other information, and is digitally signed by a trusted party, thereby binding the public key to the entity.
Public key cryptographic algorithmA cryptographic algorithm that uses two related keys, a public key and a private key. The two keys have the property that determining the private key from the public key is computationally infeasible.
Public Key InfrastructureA framework that is established to issue, maintain and revoke public key certificates.
RecoverTo retrieve information that was archived to long-term storage.
Split KeyA process by which a cryptographic key is split into n multiple key components, individually providing no knowledge of the original key, which can be subsequently combined to recreate the original cryptographic key. If knowledge of k (where k is less than or equal to n) components is necessary to construct the original key, then knowledge of any k-1 key components provides no information about the original key other than, possibly, its length.
Symmetric keyA single cryptographic key that is used with a secret (symmetric) key algorithm.
Symmetric key algorithmA cryptographic algorithm that uses the same secret (symmetric) key for an operation and its inverse (e.g., encryption and decryption).
X.509 certificateThe ISO/ITU-T X.509 standard defined two types of certificates – the X.509 public key certificate, and the X.509 attribute certificate. Most commonly (including this document), an X.509 certificate refers to the X.509 public key certificate.
X.509 public key certificateThe public key for a user (or device) and a name for the user (or device), together with some other information, rendered un-forgeable by the digital signature of the certification authority that issued the certificate, encoded in the format defined in the ISO/ITU-T X.509 standard.

Normative References

[CHACHA] D. J. Bernstein. ChaCha, a variant of Salsa20.https://cr.yp.to/chacha/chacha-20080128.pdf

[ECC-Brainpool]ECC Brainpool Standard Curves and Curve Generation v. 1.0.19.10.2005, http://www.ecc-brainpool.org/download/Domain-parameters.pdf.

<w:bookmarkStart w:id="27" w:name="FIPS180_4"/>[FIPS180-4]<w:bookmarkEnd w:id="27"/>Secure Hash Standard (SHS), FIPS PUB 186-4, March 2012,http://csrc.nist.gov/publications/fips/fips18-4/fips-180-4.pdf.

[FIPS186-4]Digital Signature Standard (DSS), FIPS PUB 186-4, July 2013,http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.186-4.pdf.

[FIPS197]Advanced Encryption Standard, FIPS PUB 197, November 2001,http://csrc.nist.gov/publications/fips/fips197/fips-197.pdf.

[FIPS198-1]The Keyed-Hash Message Authentication Code (HMAC), FIPS PUB 198-1, July 2008, http://csrc.nist.gov/publications/fips/fips198-1/FIPS-198-1_final.pdf.

[FIPS202] SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions, August 2015.http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf

[IEEE1003-1]IEEE Std 1003.1, Standard for information technology - portable operating system interface (POSIX). Shell and utilities, 2004.

[ISO16609] ISO, Banking -- Requirements for message authentication using symmetric techniques, ISO 16609, 2012.

[ISO9797-1] ISO/IEC, Information technology -- Security techniques -- Message Authentication Codes (MACs) -- Part 1: Mechanisms using a block cipher, ISO/IEC 9797-1, 2011.

<w:bookmarkStart w:id="33" w:name="_Toc242537236"/><w:bookmarkEnd w:id="33"/>[KMIP-Prof]Key Management Interoperability Protocol Profiles Version 1.4. Edited by Tim Hudson and Robert Lockhart. Latest version: http://docs.oasis-open.org/kmip/profiles/v1.4/kmip-profiles-v1.4.html.

[PKCS#1]RSA Laboratories, PKCS #1 v2.1: RSA Cryptography Standard, June 14, 2002, http://www.preserveitall.org/emc-plus/rsa-labs/standards-initiatives/pkcs-rsa-cryptography-standard.htm.

[PKCS#5]RSALaboratories, PKCS #5 v2.1: Password-Based Cryptography Standard, October 5, 2006, http://www.preserveitall.org/emc-plus/rsa-labs/standards-initiatives/pkcs-5-password-based-cryptography-standard.htm.

[PKCS#8] RSA Laboratories, PKCS#8 v1.2: Private-Key Information Syntax Standard, November 1, 1993, http://www.preserveitall.org/emc-plus/rsa-labs/standards-initiatives/pkcs-8-private-key-information-syntax-stand.htm.

[PKCS#10] RSA Laboratories, PKCS #10 v1.7: Certification Request Syntax Standard, May 26, 2000, http://www.preserveitall.org/emc-plus/rsa-labs/standards-initiatives/pkcs10-certification-request-syntax-standard.htm.

<w:bookmarkStart w:id="37" w:name="RFC1319"/>[POLY1305] Daniel J. Bernstein. The Poly1305-AES Message-Authentication Code. In Henri Gilbert and Helena Handschuh, editors, Fast Software Encryption: 12th International Workshop, FSE 2005, Paris, France, February 21-23, 2005, Revised Selected Papers, volume 3557 of Lecture Notes in Computer Science, pages 32–49. Springer, 2005.

[RFC1319]<w:bookmarkEnd w:id="37"/>B. Kaliski, The MD2 Message-Digest Algorithm, IETF RFC 1319, Apr 1992,http://www.ietf.org/rfc/rfc1319.txt.

[RFC1320]R. Rivest, The MD4 Message-Digest Algorithm, IETF RFC 1320, April 1992, http://www.ietf.org/rfc/rfc1320.txt.

[RFC1321]R. Rivest, The MD5 Message-Digest Algorithm, IETF RFC 1321, April 1992,http://www.ietf.org/rfc/rfc1321.txt.

[RFC1421]J. Linn, Privacy Enhancement for Internet Electronic Mail:Part I: Message Encryption and Authentication Procedures, IETF RFC 1421, February 1993,http://www.ietf.org/rfc/rfc1421.txt.

[RFC1424] B.Kaliski, Privacy Enhancement for Internet Electronic Mail: Part IV: Key Certification and Related Services, IETF RFC 1424, Feb 1993, http://www.ietf.org/rfc/rfc1424.txt.

[RFC2104]H. Krawczyk, M. Bellare, R. Canetti, HMAC: Keyed-Hashing for Message Authentication, IETF RFC 2104, February 1997,http://www.ietf.org/rfc/rfc2104.txt.

[RFC2119] Bradner, S., “Key words for use in RFCs to Indicate Requirement Levels”, BCP 14, RFC 2119, March 1997. http://www.ietf.org/rfc/rfc2119.txt.

[RFC2898]B. Kaliski, PKCS #5: Password-Based Cryptography Specification Version 2.0, IETF RFC 2898, September 2000,http://www.ietf.org/rfc/rfc2898.txt.

[RFC2986] M. Nystrom and B. Kaliski, PKCS #10: Certification Request Syntax Specification Version 1.7, IETF RFC2986, November 2000, http://www.rfc-editor.org/rfc/rfc2986.txt.

[RFC3447]J. Jonsson, B. Kaliski, Public-Key Cryptography Standards (PKCS) #1: RSA Cryptography Specifications Version 2.1, IETF RFC 3447, Feb 2003,http://www.ietf.org/rfc/rfc3447.txt.

[RFC3629]F. Yergeau, UTF-8, a transformation format of ISO 10646, IETF RFC 3629, November 2003,http://www.ietf.org/rfc/rfc3629.txt.

[RFC3686]R. Housley, Using Advanced Encryption Standard (AES) Counter Mode with IPsec Encapsulating Security Payload (ESP), IETF RFC 3686, January 2004, http://www.ietf.org/rfc/rfc3686.txt.

[RFC4210]C. Adams, S. Farrell, T. Kause and T. Mononen, Internet X.509 Public Key Infrastructure Certificate Management Protocol (CMP), IETF RFC 4210, September 2005, http://www.ietf.org/rfc/rfc4210.txt.

[RFC4211]J. Schaad, Internet X.509 Public Key Infrastructure Certificate Request Message Format (CRMF), IETF RFC 4211, September 2005,http://www.ietf.org/rfc/rfc4211.txt.

[RFC4880]J. Callas, L. Donnerhacke, H. Finney, D. Shaw, and R. Thayer, OpenPGP Message Format, IETF RFC 4880, November 2007, http://www.ietf.org/rfc/rfc4880.txt.

[RFC4949] R. Shirey, Internet Security Glossary, Version 2, IETF RFC 4949, August 2007, http://www.ietf.org/rfc/rfc4949.txt.

[RFC5958] S. Turner, Asymmetric Key Packages, IETF RFC5958, August 2010, https://tools.ietf.org/rfc/rfc5958.txt

[RFC5272]J. Schaad and M. Meyers, Certificate Management over CMS (CMC), IETF RFC 5272, June 2008, http://www.ietf.org/rfc/rfc5272.txt.

[RFC5280]D. Cooper, S. Santesson, S. Farrell, S. Boeyen, R. Housley, W. Polk, Internet X.509 Public Key Infrastructure Certificate, IETF RFC 5280, May 2008,http://www.ietf.org/rfc/rfc5280.txt.

[RFC5639]M. Lochter, J. Merkle, Elliptic Curve Cryptography (ECC) Brainpool Standard Curves and Curve Generation, IETF RFC 5639, March 2010,http://www.ietf.org/rfc/rfc5639.txt.

[RFC6402] J. Schaad, Certificate Management over CMS (CMC) Updates, IETF RFC6402, November 2011, http://www.rfc-editor.org/rfc/rfc6402.txt.<w:bookmarkStart w:id="55" w:name="RFC6818"/>

[RFC6818]<w:bookmarkEnd w:id="55"/> P. Yee, Updates to the Internet X.509 Public Key Infrastructure Certificate and Certificate Revocation List (CRL) Profile, IETF RFC6818, January 2013, http://www.rfc-editor.org/rfc/rfc6818.txt.

[SEC2]SEC 2: Recommended Elliptic Curve Domain Parameters,http://www.secg.org/SEC2-Ver-1.0.pdf.

[SP800-38A]M. Dworkin, Recommendation for Block Cipher Modes of Operation – Methods and Techniques, NIST Special Publication 800-38A, December 2001,http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38a.pdf

[SP800-38B]M. Dworkin, Recommendation for Block Cipher Modes of Operation: The CMAC Mode for Authentication, NIST Special Publication 800-38B, May 2005, updated June 2016, http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38b.pdf

[SP800-38C]M. Dworkin, Recommendation for Block Cipher Modes of Operation: the CCM Mode for Authentication and Confidentiality, NIST Special Publication 800-38C, May 2004, updated July 2007 http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38c.pdf

[SP800-38D]M. Dworkin, Recommendation for Block Cipher Modes of Operation: Galois/Counter Mode (GCM) and GMAC, NIST Special Publication 800-38D, Nov 2007, http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf.

[SP800-38E]M. Dworkin, Recommendation for Block Cipher Modes of Operation: The XTS-AES Mode for Confidentiality on Block-Oriented Storage Devices, NIST Special Publication 800-38E, January 2010, http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38e.pdf.

[SP800-56A]E. Barker, L. Chen, A. Roginsky and M. Smid, Recommendation for Pair-Wise Key Establishment Schemes Using Discrete Logarithm Cryptography, NIST Special Publication 800-56A Revision 2, May 2013,http://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-56Ar2.pdf.

[SP800-57-1]E. Barker, W. Barker, W. Burr, W. Polk, and M. Smid, Recommendations for Key Management - Part 1: General (Revision 3), NIST Special Publication 800-57 Part 1 Revision 3, July 2012, http://csrc.nist.gov/publications/nistpubs/800-57/sp800-57_part1_rev3_general.pdf.

[SP800-108]L. Chen, Recommendation for Key Derivation Using Pseudorandom Functions (Revised), NIST Special Publication 800-108, Oct 2009, http://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-108.pdf.

[X.509] International Telecommunication Union (ITU)–T, X.509: Information technology – Open systems interconnection – The Directory: Public-key and attribute certificate frameworks, November 2008, http://www.itu.int/rec/recommendation.asp?lang=en&parent=T-REC-X.509-200811-1.

[X9.24-1] ANSI, X9.24 - Retail Financial Services Symmetric Key Management - Part 1: Using Symmetric Techniques, 2009.

[X9.31] ANSI, X9.31: Digital Signatures Using Reversible Public Key Cryptography for the Financial Services Industry (rDSA), September 1998.

[X9.42]ANSI, X9.42: Public Key Cryptography for the Financial Services Industry: Agreement of Symmetric Keys Using Discrete Logarithm Cryptography, 2003.

[X9.62]ANSI, X9.62: Public Key Cryptography for the Financial Services Industry, The Elliptic Curve Digital Signature Algorithm (ECDSA), 2005.

[X9.63]ANSI, X9.63: Public Key Cryptography for the Financial Services Industry, Key Agreement and Key Transport Using Elliptic Curve Cryptography, 2011.

[X9.102] ANSI, X9.102: Symmetric Key Cryptography for the Financial Services Industry - Wrapping of Keys and Associated Data, 2008.

[X9 TR-31]ANSI, X9 TR-31: Interoperable Secure Key Exchange Key Block Specification for Symmetric Algorithms, 2010.

Non-Normative References

[ISO/IEC 9945-2]The Open Group, Regular Expressions, The Single UNIX Specification version 2, 1997,ISO/IEC 9945-2:1993, http://www.opengroup.org/onlinepubs/007908799/xbd/re.html.

[KMIP-UG]Key Management Interoperability Protocol Usage Guide Version 1.4. Edited by Judith Furlong. Latest version: http://docs.oasis-open.org/kmip/ug/v1.4/kmip-ug-v1.4.html.

[KMIP-TC]Key Management Interoperability Protocol Test Cases Version 1.4. Edited by Tim Hudson and Mark Joseph. Latest version: http://docs.oasis-open.org/kmip/testcases/v1.4/kmip-testcases-v1.4.html.

[RFC6151] S. Turner and L. Chen, Updated Security Considerations for the MD5 Message-Digest and the HMAC-MD5 Algorithms, IETF RFC6151, March 2011, http://www.rfc-editor.org/rfc/rfc6151.txt.

[w1979]A. Shamir, How to share a secret, Communications of the ACM, vol. 22, no. 11, pp. 612-613, November 1979.

[RFC7292] K. Moriarty, M. Nystrom, S. Parkinson, A. Rusch, M. Scott. PKCS #12: Personal Information Exchange Syntax v1.1, July 2014, https://tools.ietf.org/html/rfc7292

Objects

The following subsections describe the objects that are passed between the clients and servers of the key management system. Some of these object types, called Base Objects, are used only in the protocol itself, and are not considered Managed Objects. Key management systems MAY choose to support a subset of the Managed Objects. The object descriptions refer to the primitive data types of which they are composed. These primitive data types are (see Section 9.1.1.4):

Structures are composed of ordered lists of primitive data types or sub-structures.

Base Objects

<w:bookmarkStart w:id="91" w:name="_Toc287332011"/>These objects are used within the messages of the protocol, but are not objects managed by the key management system. They are components of Managed Objects.

Attribute

An Attribute object is a structure (see Table 2) used for sending and receiving Managed Object attributes. The Attribute Name is a text-string that is used to identify the attribute. The Attribute Index is an index number assigned by the key management server. The Attribute Index is used to identify the particular instance. Attribute Indices SHALL start with 0. The Attribute Index of an attribute SHALL NOT change when other instances are added or deleted. Single-instance Attributes (attributes which an object MAY only have at most one instance thereof) SHALL have an Attribute Index of 0. The Attribute Value is either a primitive data type or structured object, depending on the attribute.

When an Attribute structure is used to specify or return a particular instance of an Attribute and the Attribute Index is not specified it SHALL be assumed to be 0.

Table 2: Attribute Object Structure
ObjectEncodingREQUIRED
AttributeStructure
Attribute NameText StringYes
Attribute IndexIntegerNo
Attribute ValueVaries, depending on attribute. See Section 3Yes, except for the Notify operation (see Section 5.1)

Credential

A Credential is a structure (see Table 3) used for client identification purposes and is not managed by the key management system (e.g., user id/password pairs, Kerberos tokens, etc.). It MAY be used for authentication purposes as indicated in [KMIP-Prof].

Table 3: Credential Object Structure
ObjectEncodingREQUIRED
CredentialStructure
Credential TypeEnumeration, see 9.1.3.2.1Yes
Credential ValueVaries based on Credential Type.Yes

If the Credential Type in the Credential is Username and Password, then Credential Value is a structure as shown in Table 4. The Username field identifies the client, and the Password field is a secret that authenticates the client.

Table 4: Credential Value Structure for the Username and Password Credential
ObjectEncodingREQUIRED
Credential ValueStructure
UsernameText StringYes
PasswordText StringNo

If the Credential Type in the Credential is Device, then Credential Value is a structure as shown in Table 5. One or a combination of the Device Serial Number, Network Identifier, Machine Identifier, and Media Identifier SHALL be unique. Server implementations MAY enforce policies on uniqueness for individual fields. A shared secret or password MAY also be used to authenticate the client. The client SHALL provide at least one field.

Table 5: Credential Value Structure for the Device Credential
ObjectEncodingREQUIRED
Credential ValueStructure
Device Serial NumberText StringNo
PasswordText StringNo
Device IdentifierText StringNo
Network IdentifierText StringNo
Machine IdentifierText StringNo
Media IdentifierText StringNo

If the Credential Type in the Credential is Attestation, then Credential Value is a structure as shown in Table 6. The Nonce Value is obtained from the key management server in a Nonce Object. The Attestation Credential Object can contain a measurement from the client or an assertion from a third party if the server is not capable or willing to verify the attestation data from the client. Neither type of attestation data (Attestation Measurement or Attestation Assertion) is necessary to allow the server to accept either. However, the client SHALL provide attestation data in either the Attestation Measurement or Attestation Assertion fields.

Table 6: Credential Value Structure for the Attestation Credential
ObjectEncodingREQUIRED
Credential ValueStructure
NonceStructure, see 2.1.14Yes
Attestation TypeEnumeration, see 9.1.3.2.36Yes
Attestation MeasurementByte StringNo
Attestation AssertionByte StringNo

Key Block

A Key Block object is a structure (see Table 7) used to encapsulate all of the information that is closely associated with a cryptographic key. It contains a Key Value of one of the following Key Format Types:

The Key Block MAY contain the Key Compression Type, which indicates the format of the elliptic curve public key. By default, the public key is uncompressed.

The Key Block also has the Cryptographic Algorithm and the Cryptographic Length of the key contained in the Key Value field. Some example values are:

The Key Block SHALL contain a Key Wrapping Data structure if the key in the Key Value field is wrapped (i.e., encrypted, or MACed/signed, or both).

Table 7: Key Block Object Structure
ObjectEncodingREQUIRED
Key BlockStructure
Key Format TypeEnumeration, see 9.1.3.2.3Yes
Key Compression TypeEnumeration, see 9.1.3.2.2No
Key ValueByte String: for wrapped Key Value; Structure: for plaintext Key Value, see 2.1.4No
Cryptographic AlgorithmEnumeration, see 9.1.3.2.13Yes. MAY be omitted only if this information is available from the Key Value. Does not apply to Secret Data (see Section 2.2.7) or Opaque Objects (see Section 2.2.8). If present, the Cryptographic Length SHALL also be present.
Cryptographic LengthIntegerYes. MAY be omitted only if this information is available from the Key Value. Does not apply to Secret Data (see Section 2.2.7) or Opaque Objects (see Section 2.2.8). If present, the Cryptographic Algorithm SHALL also be present.
Key Wrapping DataStructure, see 2.1.5No. SHALL only be present if the key is wrapped.

Key Value

The Key Value is used only inside a Key Block and is either a Byte String or a structure (see Table 8):

Table 8: Key Value Object Structure
ObjectEncodingREQUIRED
Key ValueStructure
Key Material

Byte String: for Raw, Opaque, PKCS1, PKCS8, ECPrivateKey, or Extension Key Format types;

Structure: for Transparent, or Extension Key Format Types

Yes
AttributeAttribute Object, see Section 2.1.1No. MAY be repeated

Key Wrapping Data

The Key Block MAY also supply OPTIONAL information about a cryptographic key wrapping mechanism used to wrap the Key Value. This consists of a Key Wrapping Data structure (see Table 9). It is only used inside a Key Block.

This structure contains fields for:

If wrapping is used, then the whole Key Value structure is wrapped unless otherwise specified by the Wrapping Method. The algorithms used for wrapping are given by the Cryptographic Algorithm attributes of the encryption key and/or MAC/signature key; the block-cipher mode, padding method, and hashing algorithm used for wrapping are given by the Cryptographic Parameters in the Encryption Key Information and/or MAC/Signature Key Information, or, if not present, from the Cryptographic Parameters attribute of the respective key(s). Either the Encryption Key Information or the MAC/Signature Key Information (or both) in the Key Wrapping Data structure SHALL be specified.

The following wrapping methods are currently defined:

The following encoding options are currently defined:

Table 9: Key Wrapping Data Object Structure
ObjectEncodingREQUIRED
Key Wrapping DataStructure
Wrapping MethodEnumeration, see 9.1.3.2.4Yes
Encryption Key InformationStructure, see belowNo. Corresponds to the key that was used to encrypt the Key Value.
MAC/Signature Key InformationStructure, see belowNo. Corresponds to the symmetric key used to MAC the Key Value or the private key used to sign the Key Value
MAC/SignatureByte StringNo
IV/Counter/NonceByte StringNo
Encoding OptionEnumeration, see 9.1.3.2.32No. Specifies the encoding of the Key Value Byte String. If not present, the wrapped Key Value structure SHALL be TTLV encoded.

The structures of theEncryption Key Information (see Table 10) and the MAC/Signature Key Information (see Table 11) are as follows:

Table 10: Encryption Key Information Object Structure
ObjectEncodingREQUIRED
Encryption Key InformationStructure
Unique IdentifierText string, see 3.1Yes
Cryptographic ParametersStructure, see 3.6No
Table 11: MAC/Signature Key Information Object Structure
ObjectEncodingREQUIRED
MAC/Signature Key InformationStructure
Unique IdentifierText string, see 3.1Yes. It SHALL be either the Unique Identifier of the Symmetric Key used to MAC, or of the Private Key (or its corresponding Public Key) used to sign.
Cryptographic ParametersStructure, see 3.6No

Key Wrapping Specification

This is a separate structure (see Table 12) that is defined for operations that provide the option to return wrapped keys. The Key Wrapping Specification SHALL be included inside the operation request if clients request the server to return a wrapped key. If Cryptographic Parameters are specified in the Encryption Key Information and/or the MAC/Signature Key Information of the Key Wrapping Specification, then the server SHALL verify that they match one of the instances of the Cryptographic Parameters attribute of the corresponding key. If Cryptographic Parameters are omitted, then the server SHALL use the Cryptographic Parameters attribute with the lowest Attribute Index of the corresponding key. If the corresponding key does not have any Cryptographic Parameters attribute, or if no match is found, then an error is returned.

This structure contains:

Table 12: Key Wrapping Specification Object Structure
ObjectEncodingREQUIRED
Key Wrapping SpecificationStructure
Wrapping MethodEnumeration, see 9.1.3.2.4Yes
Encryption Key InformationStructure, see 2.1.5No, SHALL be present if MAC/Signature Key Information is omitted
MAC/Signature Key InformationStructure, see 2.1.5No, SHALL be present if Encryption Key Information is omitted
Attribute NameText StringNo, MAY be repeated
Encoding OptionEnumeration, see 9.1.3.2.32No. If Encoding Option is not present, the wrapped Key Value SHALL be TTLV encoded.

Transparent Key Structures

Transparent Key structures describe the necessary parameters to obtain the key material. They are used in the Key Value structure. The mapping to the parameters specified in other standards is shown in Table 13.

Table 13: Parameter mapping.
ObjectDescriptionMapping
P

For DSA and DH, the (large) prime field order.

For RSA, a prime factor of the modulus.

p in [FIPS186-4], [X9.42], [SP800-56A]

p in [PKCS#1], [FIPS186-4]

Q

For DSA and DH, the (small) prime multiplicative subgroup order.

For RSA, a prime factor of the modulus.

q in [FIPS186-4], [X9.42], [SP800-56A]

q in [PKCS#1], [FIPS186-4]

GThe generator of the subgroup of order Q.g in [FIPS186-4], [X9.42], [SP800-56A]
XDSA or DH private key.

x in [FIPS186-4]

x, xu, xv in [X9.42], [SP800-56A] for static private keys

r, ru, rv in [X9.42], [SP800-56A] for ephemeral private keys

YDSA or DH public key.

y in [FIPS186-4]

y, yu, yv in [X9.42], [SP800-56A] for static public keys

t, tu, tv in [X9.42], [SP800-56A] for ephemeral public keys

JDH cofactor integer, where P = JQ + 1.j in [X9.42]
ModulusRSA modulus PQ, where P and Q are distinct primes.n in [PKCS#1], [FIPS186-4]
Private ExponentRSA private exponent.d in [PKCS#1], [FIPS186-4]
Public ExponentRSA public exponent.e in [PKCS#1], [FIPS186-4]
Prime Exponent PRSA private exponent for the prime factor P in the CRT format, i.e., Private Exponent (mod (P-1)).dP in [PKCS#1], [FIPS186-4]
Prime Exponent QRSA private exponent for the prime factor Q in the CRT format, i.e., Private Exponent (mod (Q-1)).dQ in [PKCS#1], [FIPS186-4]
CRT CoefficientThe (first) CRT coefficient, i.e., Q-1 mod P.qInv in [PKCS#1], [FIPS186-4]
Recommended CurveNIST Recommended Curves (e.g., P-192).See Appendix D of [FIPS186-4]
DElliptic curve private key.d; de,U,de,V (ephemeral private keys); ds,U,ds,V (static private keys) in [X9.62], [FIPS186-4]
Q StringElliptic curve public key.Q; Qe,U,Qe,V (ephemeral public keys); Qs,U,Qs,V (static public keys) in [X9.62], [FIPS186-4]

Transparent Symmetric Key

If the Key Format Type in the Key Block is Transparent Symmetric Key, then Key Material is a structure as shown in Table 14.

Table 14: Key Material Object Structure for Transparent Symmetric Keys
ObjectEncodingREQUIRED
Key MaterialStructure
KeyByte StringYes

Transparent DSA Private Key

If the Key Format Type in the Key Block is Transparent DSA Private Key, then Key Material is a structure as shown in Table 15.

Table 15: Key Material Object Structure for Transparent DSA Private Keys
ObjectEncodingREQUIRED
Key MaterialStructure
PBig IntegerYes
QBig IntegerYes
GBig IntegerYes
XBig IntegerYes

Transparent DSA Public Key

If the Key Format Type in the Key Block is Transparent DSA Public Key, then Key Material is a structure as shown in Table 16.

Table 16: Key Material Object Structure for Transparent DSA Public Keys
ObjectEncodingREQUIRED
Key MaterialStructure
PBig IntegerYes
QBig IntegerYes
GBig IntegerYes
YBig IntegerYes

Transparent RSA Private Key

If the Key Format Type in the Key Block is Transparent RSA Private Key, then Key Material is a structure as shown in Table 17.

Table 17: Key Material Object Structure for Transparent RSA Private Keys
ObjectEncodingREQUIRED
Key MaterialStructure
ModulusBig IntegerYes
Private ExponentBig IntegerNo
Public ExponentBig IntegerNo
PBig IntegerNo
QBig IntegerNo
Prime Exponent PBig IntegerNo
Prime Exponent QBig IntegerNo
CRT CoefficientBig IntegerNo

One of the following SHALL be present (refer to [PKCS#1]):

Transparent RSA Public Key

If the Key Format Type in the Key Block is Transparent RSA Public Key, then Key Material is a structure as shown in Table 18.

Table 18: Key Material Object Structure for Transparent RSA Public Keys
ObjectEncodingREQUIRED
Key MaterialStructure
ModulusBig IntegerYes
Public ExponentBig IntegerYes

Transparent DH Private Key

If the Key Format Type in the Key Block is Transparent DH Private Key, then Key Material is a structure as shown in Table 19.

Table 19: Key Material Object Structure for Transparent DH Private Keys
ObjectEncodingREQUIRED
Key MaterialStructure
PBig IntegerYes
QBig IntegerNo
GBig IntegerYes
JBig IntegerNo
XBig IntegerYes

Transparent DH Public Key

If the Key Format Type in the Key Block is Transparent DH Public Key, then Key Material is a structure as shown in Table 20.

Table 20: Key Material Object Structure for Transparent DH Public Keys
ObjectEncodingREQUIRED
Key MaterialStructure
PBig IntegerYes
QBig IntegerNo
GBig IntegerYes
JBig IntegerNo
YBig IntegerYes

Transparent ECDSA Private Key

The Transparent ECDSA Private Key structure is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. The Transparent EC Private Key structure SHOULD be used as a replacement.

If the Key Format Type in the Key Block is Transparent ECDSA Private Key, then Key Material is a structure as shown in Table 21.

Table 21: Key Material Object Structure for Transparent ECDSA Private Keys
ObjectEncodingREQUIRED
Key MaterialStructure
Recommended CurveEnumeration, see 9.1.3.2.5Yes
DBig IntegerYes

Transparent ECDSA Public Key

The Transparent ECDSA Public Key structure is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. The Transparent EC Public Key structure SHOULD be used as a replacement.

If the Key Format Type in the Key Block is Transparent ECDSA Public Key, then Key Material is a structure as shown in Table 22.

Table 22: Key Material Object Structure for Transparent ECDSA Public Keys
ObjectEncodingREQUIRED
Key MaterialStructure
Recommended CurveEnumeration, see 9.1.3.2.5Yes
Q StringByte StringYes

Transparent ECDH Private Key

The Transparent ECDH Private Key structure is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. The Transparent EC Private Key structure SHOULD be used as a replacement.

If the Key Format Type in the Key Block is Transparent ECDH Private Key, then Key Material is a structure as shown in Table 23.

Table 23: Key Material Object Structure for Transparent ECDH Private Keys
ObjectEncodingREQUIRED
Key MaterialStructure
Recommended CurveEnumeration, see 9.1.3.2.5Yes
DBig IntegerYes

Transparent ECDH Public Key

The Transparent ECDH Public Key structure is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. The Transparent EC Public Key structure SHOULD be used as a replacement.

If the Key Format Type in the Key Block is Transparent ECDH Public Key, then Key Material is a structure as shown in Table 24.

Table 24: Key Material Object Structure for Transparent ECDH Public Keys
ObjectEncodingREQUIRED
Key MaterialStructure
Recommended CurveEnumeration, see 9.1.3.2.5Yes
Q StringByte StringYes

Transparent ECMQV Private Key

The Transparent ECMQV Private Key structure is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. The Transparent EC Private Key structure SHOULD be used as a replacement.

If the Key Format Type in the Key Block is Transparent ECMQV Private Key, then Key Material is a structure as shown in Table 25.

Table 25: Key Material Object Structure for Transparent ECMQV Private Keys
ObjectEncodingREQUIRED
Key MaterialStructure
Recommended CurveEnumeration, see 9.1.3.2.5Yes
DBig IntegerYes

Transparent ECMQV Public Key

The Transparent ECMQV Public Key structure is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. The Transparent EC Public Key structure SHOULD be used as a replacement.

If the Key Format Type in the Key Block is Transparent ECMQV Public Key, then Key Material is a structure as shown in Table 26.

Table 26: Key Material Object Structure for Transparent ECMQV Public Keys
ObjectEncodingREQUIRED
Key MaterialStructure
Recommended CurveEnumeration, see 9.1.3.2.5Yes
Q StringByte StringYes

Transparent EC Private Key

If the Key Format Type in the Key Block is Transparent EC Private Key, then Key Material is a structure as shown in Table 27.

Table 27: Key Material Object Structure for Transparent EC Private Keys
ObjectEncodingREQUIRED
Key MaterialStructure
Recommended CurveEnumeration, see 9.1.3.2.5Yes
DBig IntegerYes

Transparent EC Public Key

If the Key Format Type in the Key Block is Transparent EC Public Key, then Key Material is a structure as shown in Table 28.

Table 28: Key Material Object Structure for Transparent EC Public Keys
ObjectEncodingREQUIRED
Key MaterialStructure
Recommended CurveEnumeration, see 9.1.3.2.5Yes
Q StringByte StringYes

Template-Attribute Structures

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

These structures are used in various operations to provide the desired attribute values and/or template names in the request and to return the actual attribute values in the response.

The Template-Attribute, Common Template-Attribute, Private Key Template-Attribute, and Public Key Template-Attribute structures are defined identically as follows:

Table 29: Template-Attribute Object Structure
ObjectEncodingREQUIRED

Template-Attribute,

Common Template-Attribute, Private Key Template-Attribute,

Public Key Template-Attribute

Structure
NameStructure, see 3.2No, MAY be repeated. (deprecated)
AttributeAttribute Object, see 2.1.1No, MAY be repeated

Name is the Name attribute of the Template object defined in Section 2.2.6.<w:bookmarkEnd w:id="482"/>

Extension Information

An Extension Information object is a structure (see Table 30) describing Objects with Item Tag values in the Extensions range. The Extension Name is a Text String that is used to name the Object (first column of Table 288). The Extension Tag is the Item Tag Value of the Object (see Table 288). The Extension Type is the Item Type Value of the Object (see Table 286).

Table 30: Extension Information Structure
ObjectEncodingREQUIRED
Extension InformationStructure
Extension NameText StringYes
Extension TagIntegerNo
Extension TypeIntegerNo

Data

The Data object is used in requests and responses in cryptographic operations that pass data between the client and the server.

Table 31: Data Structure
ObjectEncoding
DataByte String

Data Length

The Data Length is used in requests in cryptographic operations to indicate the amount of data expected in a response.

Table 32: Data Length Structure
ObjectEncoding
Data LengthInteger

Signature Data

The Signature Data is used in requests and responses in cryptographic operations that pass signature data between the client and the server.

Table 33: Signature Data Structure
ObjectEncoding
Signature DataByte String

MAC Data

The MAC Data is used in requests and responses in cryptographic operations that pass MAC data between the client and the server.

Table 34: MAC Data Structure
ObjectEncoding
MAC DataByte String

Nonce

A Nonce object is a structure (see Table 35) used by the server to send a random value to the client. The Nonce Identifier is assigned by the server and used to identify the Nonce object. The Nonce Value consists of the random data created by the server.

Table 35: Nonce Structure
ObjectEncodingREQUIRED
NonceStructure
Nonce IDByte StringYes
Nonce ValueByte StringYes

Correlation Value

The Correlation Value is used in requests and responses in cryptographic operations that support multi-part (streaming) operations. This is generated by the server and returned in the first response to an operation that is being performed across multiple requests. Note: the server decides which operations are supported for multi-part usage. A server-generated correlation value SHALL be specified in any subsequent cryptographic operations that pertain to the original operation.

Table 36: Correlation Value Structure
ObjectEncoding
Correlation ValueByte String

Init Indicator

The Init Indicator is used in requests in cryptographic operations that support multi-part (streaming) operations. This is provided in the first request with a value of True to an operation that is being performed across multiple requests.

Table 37: Init Indicator Structure
ObjectEncoding
Init IndicatorBoolean

Final Indicator

The Final Indicator is used in requests in cryptographic operations that support multi-part (streaming) operations. This is provided in the final (last) request with a value of True to an operation that is being performed across multiple requests.

Table 38: Final Indicator Structure
ObjectEncoding
Final IndicatorBoolean

RNG Parameters

The RNG Parameters base object is a structure that contains a mandatory RNG Algorithm and a set of OPTIONAL fields that describe a Random Number Generator. Specific fields pertain only to certain types of RNGs.

The RNG Algorithm SHALL be specified and if the algorithm implemented is unknown or the implementation does not want to provide the specific details of the RNG Algorithm then the Unspecified enumeration SHALL be used.

If the cryptographic building blocks used within the RNG are known they MAY be specified in combination of the remaining fields within the RNG Parameters structure.

Table 39: RNG Parameters Structure
ObjectEncodingREQUIRED
RNG ParametersStructure
RNG AlgorithmEnumeration, see 9.1.3.2.37Yes
Cryptographic AlgorithmEnumeration, see 9.1.3.2.13No
Cryptographic LengthIntegerNo
Hashing AlgorithmEnumeration, see 9.1.3.2.16No
DRBG AlgorithmEnumeration, see 9.1.3.2.38No
Recommended CurveEnumeration, see 9.1.3.2.5No
FIPS186 VariationEnumeration, see 9.1.3.2.39No
Prediction ResistanceBooleanNo

Profile Information

The Profile Information base object is a structure that contains details of the supported profiles. Specific fields MAY pertain only to certain types of profiles.

Table 40: Profile Information Structure
ObjectEncodingREQUIRED
Profile InformationStructure
Profile NameEnumeration, see 9.1.3.2.42Yes
Server URIText StringNo
Server PortIntegerNo

Validation Information

The Validation Information base object is a structure that contains details of a formal validation. Specific fields MAY pertain only to certain types of validations.

Table 41: Validation Information Structure
ObjectEncodingREQUIRED
Validation InformationStructure
Validation Authority TypeEnumeration, see 9.1.3.2.40Yes
Validation Authority CountryText StringNo
Validation Authority URIText StringNo
Validation Version MajorIntegerYes
Validation Version MinorIntegerNo
Validation TypeEnumeration, see 0Yes
Validation LevelIntegerYes
Validation Certificate IdentifierText StringNo
Validation Certificate URIText StringNo
Validation Vendor URIText StringNo
Validation ProfileText String (MAY be repeated)No

The Validation Authority along with the Validation Version Major, Validation Type and Validation Level SHALL be provided to uniquely identify a validation for a given validation authority. If the Validation Certificate URI is not provided the server SHOULD include a Validation Vendor URI from which information related to the validation is available.

The Validation Authority Country is the two letter ISO country code.

Capability Information

The Capability Information base object is a structure that contains details of the supported capabilities.

Table 42: Capability Information Structure
ObjectEncodingREQUIRED
Capability InformationStructure
Streaming CapabilityBooleanNo
Asynchronous CapabilityBooleanNo
Attestation CapabilityBooleanNo
Batch Undo CapabilityBooleanNo
Batch Continue CapabilityBooleanNo
Unwrap ModeEnumeration, see 9.1.3.2.43No
Destroy ActionEnumeration, see 9.1.3.2.44No
Shredding AlgorithmEnumeration, see 9.1.3.2.45No
RNG ModeEnumeration, see 9.1.3.2.46No

Authenticated Encryption Additional Data

The Authenticated Encryption Additional Data object is used in authenticated encryption and decryption operations that require the optional additional data to be provided by the client.

Table 43 Authenticated Encryption Additional Data
ObjectEncodingREQUIRED
Authenticated Encryption Additional DataByte StringNo

Authenticated Encryption Tag

The Authenticated Encryption Tag object is used to validate the integrity of the data encrypted and decrypted in Authenticated Encryption modes. It is an output from the encryption process and an input to the decryption process. See [SP800-38D].

Table 44 Authenticated Encryption Tag
ObjectEncodingREQUIRED
Authenticated Encryption TagByte StringNo

Managed Objects

Managed Objects are objects that are the subjects of key management operations, which are described in Sections 4 and 5. Managed Cryptographic Objects are the subset of Managed Objects that contain cryptographic material (e.g., certificates, keys, and secret data).

Certificate

A Managed Cryptographic Object that is a digital certificate. It is a DER-encoded X.509 public key certificate. The PGP certificate type is deprecated as of version 1.2 of this specification and MAY be removed from subsequent versions of the specification. The PGP Key object (see section 2.2.9) SHOULD be used instead.

Table 45: Certificate Object Structure
ObjectEncodingREQUIRED
CertificateStructure
Certificate TypeEnumeration, see 9.1.3.2.6Yes
Certificate ValueByte StringYes

Symmetric Key

A Managed Cryptographic Object that is a symmetric key.

Table 46: Symmetric Key Object Structure
ObjectEncodingREQUIRED
Symmetric KeyStructure
Key BlockStructure, see 2.1.3Yes

Public Key

A Managed Cryptographic Object that is the public portion of an asymmetric key pair. This is only a public key, not a certificate.

Table 47: Public Key Object Structure
ObjectEncodingREQUIRED
Public KeyStructure
Key BlockStructure, see 2.1.3Yes

Private Key

A Managed Cryptographic Object that is the private portion of an asymmetric key pair.

Table 48: Private Key Object Structure
ObjectEncodingREQUIRED
Private KeyStructure
Key BlockStructure, see 2.1.3Yes

Split Key

A Managed Cryptographic Object that is a Split Key. A split key is a secret, usually a symmetric key or a private key that has been split into a number of parts, each of which MAY then be distributed to several key holders, for additional security. The Split Key Parts field indicates the total number of parts, and the Split Key Threshold field indicates the minimum number of parts needed to reconstruct the entire key. The Key Part Identifier indicates which key part is contained in the cryptographic object, and SHALL be at least 1 and SHALL be less than or equal to Split Key Parts.

Table 49: Split Key Object Structure
ObjectEncodingREQUIRED
Split KeyStructure
Split Key PartsIntegerYes
Key Part IdentifierIntegerYes
Split Key ThresholdIntegerYes
Split Key MethodEnumeration, see 9.1.3.2.8Yes
Prime Field SizeBig IntegerNo, REQUIRED only if Split Key Method is Polynomial Sharing Prime Field.
Key BlockStructure, see 2.1.3Yes

There are three Split Key Methods for secret sharing: the first one is based on XOR, and the other two are based on polynomial secret sharing, according to [w1979].

Let L be the minimum number of bits needed to represent all values of the secret.

Secret sharing is performed in the field GF(216), which is represented as an algebraic extension of GF(28):

GF(216) ≈ GF(28) [y]/(y2+y+m), where m is defined later.

An element of this field then consists of a linear combination uy + v, where u and v are elements of the smaller field GF(28).

The representation of field elements and the notation in this section rely on [FIPS197], Sections 3 and 4. The field GF(28) is as described in [FIPS197],

GF(28) ≈ GF(2) [x]/(x8+x4+x3+x+1).

An element of GF(28) is represented as a byte. Addition and subtraction in GF(28) is performed as a bit-wise XOR of the bytes. Multiplication and inversion are more complex (see [FIPS197] Section 4.1 and 4.2 for details).

An element of GF(216) is represented as a pair of bytes (u, v). The element m is given by

m = x5+x4+x3+x,

which is represented by the byte 0x3A (or {3A} in notation according to [FIPS197]).

Addition and subtraction in GF(216) both correspond to simply XORing the bytes. The product of two elements ry + s and uy + v is given by

(ry + s) (uy + v) = ((r + s)(u + v) + sv)y + (ru + svm).

The inverse of an element uy + v is given by

(uy + v)-1 = ud-1y + (u + v)d-1, where d = (u + v)v + mu2.

Template

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Template.

A Template is a named Managed Object containing the client-settable attributes of a Managed Cryptographic Object. A Template is used to specify the attributes of a new Managed Cryptographic Object invarious operations. Attributes associated with a Managed Object MAY also be specified in the Template-Attribute structures in the operations in Section 4.

Attributes specified in a Template apply to any object created that reference the Template by name using the Name object in any of the Template-Attribute structures in Section 2.1.7.14.

The name of a Template (as it is for any Managed Object) is specified as an Attribute in the Template-Attribute structure in the Register operation where the Attribute Name is "Name" and the Attribute Value is the name of the Template Managed Object.

Table 50: Template Object Structure
ObjectEncodingREQUIRED
TemplateStructure
AttributeAttribute Object, see 2.1.1Yes. MAY be repeated.

Secret Data

A Managed Cryptographic Object containing a shared secret value that is not a key or certificate (e.g., a password). The Key Block of the Secret Data object contains a Key Value of the Secret Data Type. The Key Value MAY be wrapped.

Table 51: Secret Data Object Structure
ObjectEncodingREQUIRED
Secret DataStructure
Secret Data TypeEnumeration, see 9.1.3.2.9Yes
Key BlockStructure, see 2.1.3Yes

Opaque Object

A Managed Object that the key management server is possibly not able to interpret. The context information for this object MAY be stored and retrieved using Custom Attributes.

Table 52: Opaque Object Structure
ObjectEncodingREQUIRED
Opaque ObjectStructure
Opaque Data TypeEnumeration, see 9.1.3.2.10Yes
Opaque Data ValueByte StringYes

PGP Key

A Managed Cryptographic Object that is a text-based representation of a PGP key. The Key Block field, indicated below, will contain the ASCII-armored export of a PGP key in the format as specified in RFC 4880. It MAY contain only a public key block, or both a public and private key block. Two different versions of PGP keys, version 3 and version 4, MAY be stored in this Managed Cryptographic Object.

KMIP implementers SHOULD treat the Key Block field as an opaque blob. PGP-aware KMIP clients SHOULD take on the responsibility of decomposing the Key Block into other Managed Cryptographic Objects (Public Keys, Private Keys, etc.).

Table 53: PGP Key Object Structure
ObjectEncodingREQUIRED
PGP KeyStructure
PGP Key VersionIntegerYes
Key BlockStructure, see 2.1.3Yes

Attributes

The following subsections describe the attributes that are associated with Managed Objects. Attributes that an object MAY have multiple instances of are referred to as multi-instance attributes. All instances of an attribute SHOULD have a different value. Similarly, attributes which an object SHALL only have at most one instance of are referred to as single-instance attributes. Attributes are able to be obtained by a client from the server using the Get Attribute operation. Some attributes are able to be set by the Add Attribute operation or updated by the Modify Attribute operation, and some are able to be deleted by the Delete Attribute operation if they no longer apply to the Managed Object. Read-only attributes are attributes that SHALL NOT be modified by either server or client, and that SHALL NOT be deleted by a client.

When attributes are returned by the server (e.g., via a Get Attributes operation), the attribute value returned MAY differ for different clients (e.g., the Cryptographic Usage Mask value MAY be different for different clients, depending on the policy of the server).

The first table in each subsection contains the attribute name in the first row. This name is the canonical name used when managing attributes using the Get Attributes, Get Attribute List, Add Attribute, Modify Attribute, and Delete Attribute operations.

A server SHALL NOT delete attributes without receiving a request from a client until the object is destroyed. After an object is destroyed, the server MAY retain all, some or none of the object attributes, depending on the object type and server policy.

The second table in each subsection lists certain attribute characteristics (e.g., “SHALL always have a value”): Table 54 below explains the meaning of each characteristic that MAY appear in those tables. The server policy MAY further restrict these attribute characteristics.

Table 54: Attribute Rules
SHALL always have a valueAll Managed Objects that are of the Object Types for which this attribute applies, SHALL always have this attribute set once the object has been created or registered, up until the object has been destroyed.
Initially set byWho is permitted to initially set the value of the attribute (if the attribute has never been set, or if all the attribute values have been deleted)?
Modifiable by serverIs the server allowed to change an existing value of the attribute without receiving a request from a client?
Modifiable by clientIs the client able to change an existing value of the attribute value once it has been set?
Deletable by clientIs the client able to delete an instance of the attribute?
Multiple instances permittedAre multiple instances of the attribute permitted?
When implicitly setWhich operations MAY cause this attribute to be set even if the attribute is not specified in the operation request itself?
Applies to Object TypesWhich Managed Objects MAY have this attribute set?

Unique Identifier

The Unique Identifier is generated by the key management system to uniquely identify a Managed Object. It is only REQUIRED to be unique within the identifier space managed by a single key management system, however this identifier SHOULD be globally unique in order to allow for a key management domain export of such objects. This attribute SHALL be assigned by the key management system at creation or registration time, and then SHALL NOT be changed or deleted before the object is destroyed.

Table 55: Unique Identifier Attribute
ObjectEncoding
Unique IdentifierText String
Table 56: Unique Identifier Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Objects

Name

The Name attribute is a structure (see Table 57) used to identify and locate an object. This attribute is assigned by the client, and the Name Value is intended to be in a form that humans are able to interpret. The key management system MAY specify rules by which the client creates valid names. Clients are informed of such rules by a mechanism that is not specified by this standard. Names SHALL be unique within a given key management domain, but are NOT REQUIRED to be globally unique.

Table 57: Name Attribute Structure
ObjectEncodingREQUIRED
NameStructure
Name ValueText StringYes
Name TypeEnumeration, see 9.1.3.2.11Yes
Table 58: Name Attribute Rules
SHALL always have a valueNo
Initially set byClient
Modifiable by serverYes
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedYes
When implicitly setRe-key, Re-key Key Pair, Re-certify
Applies to Object TypesAll Objects

Object Type

The Object Type of a Managed Object (e.g., public key, private key, symmetric key, etc.) SHALL be set by the server when the object is created or registered and then SHALL NOT be changed or deleted before the object is destroyed.

Table 59: Object Type Attribute
ObjectEncoding
Object TypeEnumeration, see 9.1.3.2.12
Table 60: Object Type Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Objects

Cryptographic Algorithm

The Cryptographic Algorithm of an object. The Cryptographic Algorithm of a Certificate object identifies the algorithm for the public key contained within the Certificate. The digital signature algorithm used to sign the Certificate is identified in the Digital Signature Algorithm attribute defined in Section 3.16. This attribute SHALL be set by the server when the object is created or registered and then SHALL NOT be changed or deleted before the object is destroyed.

Table 61: Cryptographic Algorithm Attribute
ObjectEncoding
Cryptographic AlgorithmEnumeration, see 9.1.3.2.13
Table 62: Cryptographic Algorithm Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCertify, Create, Create Key Pair, Re-certify, Register, Derive Key, Re-key, Re-key Key Pair
Applies to Object TypesKeys, Certificates, Templates

Cryptographic Length

For keys, Cryptographic Length is the length in bits of the clear-text cryptographic key material of the Managed Cryptographic Object. For certificates, Cryptographic Length is the length in bits of the public key contained within the Certificate. This attribute SHALL be set by the server when the object is created or registered, and then SHALL NOT be changed or deleted before the object is destroyed.

Table 63: Cryptographic Length Attribute
ObjectEncoding
Cryptographic LengthInteger
Table 64: Cryptographic Length Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCertify, Create, Create Key Pair, Re-certify, Register, Derive Key, Re-key, Re-key Key Pair
Applies to Object TypesKeys, Certificates, Templates

Cryptographic Parameters

The Cryptographic Parameters attribute is a structure (see Table 65) that contains a set of OPTIONAL fields that describe certain cryptographic parameters to be used when performing cryptographic operations using the object. Specific fields MAY pertain only to certain types of Managed Cryptographic Objects. The Cryptographic Parameters attribute of a Certificate object identifies the cryptographic parameters of the public key contained within the Certificate.

The Cryptographic Algorithm is also used to specify the parameters for cryptographic operations. For operations involving digital signatures, either the Digital Signature Algorithm can be specified or the Cryptographic Algorithm and Hashing Algorithm combination can be specified.

Random IV can be used to request that the KMIP server generate an appropriate IV for a cryptographic operation that uses an IV. The generated Random IV is returned in the response to the cryptographic operation.

IV Length is the length of the Initialization Vector in bits. This parameter SHALL be provided when the specified Block Cipher Mode supports variable IV lengths such as CTR or GCM.

Tag Length is the length of the authentication tag in bytes. This parameter SHALL be provided when the Block Cipher Mode is GCM or CCM.

The IV used with counter modes of operation (e.g., CTR and GCM) cannot repeat for a given cryptographic key. To prevent an IV/key reuse, the IV is often constructed of three parts: a fixed field, an invocation field, and a counter as described in [SP800-38A] and [SP800-38D]. The Fixed Field Length is the length of the fixed field portion of the IV in bits. The Invocation Field Length is the length of the invocation field portion of the IV in bits. The Counter Length is the length of the counter portion of the IV in bits.

Initial Counter Value is the starting counter value for CTR mode (for [RFC3686] it is 1).

Table 65: Cryptographic Parameters Attribute Structure
ObjectEncodingREQUIRED
Cryptographic ParametersStructure
Block Cipher ModeEnumeration, see 9.1.3.2.14No
Padding MethodEnumeration, see 9.1.3.2.15No
Hashing AlgorithmEnumeration, see 9.1.3.2.16No
Key Role TypeEnumeration, see 9.1.3.2.17No
Digital Signature AlgorithmEnumeration, see 9.1.3.2.7No
Cryptographic AlgorithmEnumeration, see 9.1.3.2.13No
Random IVBooleanNo
IV LengthIntegerNo unless Block Cipher Mode supports variable IV lengths
Tag LengthIntegerNo unless Block Cipher Mode is GCM
Fixed Field LengthIntegerNo
Invocation Field LengthIntegerNo
Counter LengthIntegerNo
Initial Counter ValueIntegerNo
Salt LengthIntegerNo (if omitted, defaults to the block size of the Mask Generator Hashing Algorithm)
Mask GeneratorEnumeration, see 9.1.3.2.49No (if omitted defaults to MGF1).
Mask Generator Hashing AlgorithmEnumeration, see 9.1.3.2.16No. (if omitted defaults to SHA-1).
P SourceByte StringNo (if omitted, defaults to an empty byte string for encoding input P in OAEP padding)
Trailer FieldIntegerNo (if omitted, defaults to the standard one-byte trailer in PSS padding)
Table 66: Cryptographic Parameters Attribute Rules
SHALL always have a valueNo
Initially set byClient
Modifiable by serverNo
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedYes
When implicitly setRe-key, Re-key Key Pair, Re-certify
Applies to Object TypesKeys, Certificates, Templates

Key Role Type definitions match those defined in ANSI X9 TR-31 [X9 TR-31] and are defined in Table 67:

Table 67: Key Role Types
BDKBase Derivation Key (ANSI X9.24 DUKPT key derivation)
CVKCard Verification Key (CVV/signature strip number validation)
DEKData Encryption Key (General Data Encryption)
MKACEMV/chip card Master Key: Application Cryptograms
MKSMCEMV/chip card Master Key: Secure Messaging for Confidentiality
MKSMIEMV/chip card Master Key: Secure Messaging for Integrity
MKDACEMV/chip card Master Key: Data Authentication Code
MKDNEMV/chip card Master Key: Dynamic Numbers
MKCPEMV/chip card Master Key: Card Personalization
MKOTHEMV/chip card Master Key: Other
KEKKey Encryption or Wrapping Key
MAC16609ISO16609 MAC Algorithm 1
MAC97971ISO9797-1 MAC Algorithm 1
MAC97972ISO9797-1 MAC Algorithm 2
MAC97973ISO9797-1 MAC Algorithm 3 (Note this is commonly known as X9.19 Retail MAC)
MAC97974ISO9797-1 MAC Algorithm 4
MAC97975ISO9797-1 MAC Algorithm 5
ZPKPIN Block Encryption Key
PVKIBMPIN Verification Key, IBM 3624 Algorithm
PVKPVVPIN Verification Key, VISA PVV Algorithm
PVKOTHPIN Verification Key, Other Algorithm

Accredited Standards Committee X9, Inc. - Financial Industry Standards (www.x9.org) contributed to Table 67. Key role names and descriptions are derived from material in the Accredited Standards Committee X9, Inc.'s Technical Report "TR-31 2010 Interoperable Secure Key Exchange Key Block Specification for Symmetric Algorithms" and used with the permission of Accredited Standards Committee X9, Inc. in an effort to improve interoperability between X9 standards and OASIS KMIP. The complete ANSI X9 TR-31 is available at www.x9.org.

Cryptographic Domain Parameters

The Cryptographic Domain Parameters attribute is a structure (see Table 68) that contains a set of OPTIONAL fields that MAY need to be specified in the Create Key Pair Request Payload. Specific fields MAY only pertain to certain types of Managed Cryptographic Objects.

The domain parameter Qlength correponds to the bit length of parameter Q (refer to [SEC2] and [SP800-56A]). Qlength applies to algorithms such as DSA and DH. The bit length of parameter P (refer to [SEC2] and [SP800-56A]) is specified separately by setting the Cryptographic Length attribute.

Recommended Curve is applicable to elliptic curve algorithms such as ECDSA, ECDH, and ECMQV.

Table 68: Cryptographic Domain Parameters Attribute Structure
ObjectEncodingRequired
Cryptographic Domain ParametersStructureYes
QlengthIntegerNo
Recommended CurveEnumeration, see 9.1.3.2.5No
Table 69: Cryptographic Domain Parameters Attribute Rules
Shall always have a valueNo
Initially set byClient
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRe-key, Re-key Key Pair
Applies to Object TypesAsymmetric Keys, Templates

Certificate Type

The Certificate Type attribute is a type of certificate (e.g., X.509). The PGP certificate type is deprecated as of version 1.2 of this specification and MAY be removed from subsequent versions of the specification.

The Certificate Type value SHALL be set by the server when the certificate is created or registered and then SHALL NOT be changed or deleted before the object is destroyed.

Table 70: Certificate Type Attribute
ObjectEncoding
Certificate TypeEnumeration, see 9.1.3.2.6
Table 71: Certificate Type Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRegister, Certify, Re-certify
Applies to Object TypesCertificates

Certificate Length

The Certificate Length attribute is the length in bytes of the Certificate object. The Certificate Length SHALL be set by the server when the object is created or registered, and then SHALL NOT be changed or deleted before the object is destroyed.

Table 72: Certificate Length Attribute
ObjectEncoding
Certificate LengthInteger
Table 73: Certificate Length Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRegister, Certify, Re-certify
Applies to Object TypesCertificates

X.509 Certificate Identifier

The X.509 Certificate Identifier attribute is a structure (see Table 74) used to provide the identification of an X.509 public key certificate. The X.509 Certificate Identifier contains the Issuer Distinguished Name (i.e., from the Issuer field of the X.509 certificate) and the Certificate Serial Number (i.e., from the Serial Number field of the X.509 certificate). The X.509 Certificate Identifier SHALL be set by the server when the X.509 certificate is created or registered and then SHALL NOT be changed or deleted before the object is destroyed.

Table 74: X.509 Certificate Identifier Attribute Structure
ObjectEncodingREQUIRED
X.509 Certificate IdentifierStructure
Issuer Distinguished NameByte StringYes
Certificate Serial NumberByte StringYes
Table 75: X.509 Certificate Identifier Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRegister, Certify, Re-certify
Applies to Object TypesX.509 Certificates

X.509 Certificate Subject

The X.509 Certificate Subject attribute is a structure (see Table 76) used to identify the subject of a X.509 certificate. The X.509 Certificate Subject contains the Subject Distinguished Name (i.e., from the Subject field of the X.509 certificate). It MAY include one or more alternative names (e.g., email address, IP address, DNS name) for the subject of the X.509 certificate (i.e., from the Subject Alternative Name extension within the X.509 certificate). The X.509 Certificate Subject SHALL be set by the server based on the information it extracts from the X.509 certificate that is created (as a result of a Certify or a Re-certify operation) or registered (as part of a Register operation) and SHALL NOT be changed or deleted before the object is destroyed.

If the Subject Alternative Name extension is included in the X.509 certificate and is marked critical within the X.509 certificate itself, then an X.509 certificate MAY be issued with the subject field left blank. Therefore an empty string is an acceptable value for the Subject Distinguished Name.

Table 76: X.509 Certificate Subject Attribute Structure
ObjectEncodingREQUIRED
X.509 Certificate SubjectStructure
Subject Distinguished NameByte StringYes, but MAY be the empty string
Subject Alternative NameByte StringYes, if the Subject Distinguished Name is an empty string. MAY be repeated
Table 77: X.509 Certificate Subject Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRegister, Certify, Re-certify
Applies to Object TypesX.509 Certificates

X.509 Certificate Issuer

The X.509 Certificate Issuer attribute is a structure (see Table 82) used to identify the issuer of a X.509 certificate, containing the Issuer Distinguished Name (i.e., from the Issuer field of the X.509 certificate). It MAY include one or more alternative names (e.g., email address, IP address, DNS name) for the issuer of the certificate (i.e., from the Issuer Alternative Name extension within the X.509 certificate). The server SHALL set these values based on the information it extracts from a X.509 certificate that is created as a result of a Certify or a Re-certify operation or is sent as part of a Register operation. These values SHALL NOT be changed or deleted before the object is destroyed.

Table 78: X.509 Certificate Issuer Attribute Structure
ObjectEncodingREQUIRED
X.509 Certificate IssuerStructure
Issuer Distinguished NameByte StringYes
Issuer Alternative NameByte StringNo, MAY be repeated
Table 79: X.509 Certificate Issuer Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRegister, Certify, Re-certify
Applies to Object TypesX.509 Certificates

Certificate Identifier

This attribute is deprecated as of version 1.1 of this specification and MAY be removed from subsequent versions of this specification. The X.509 Certificate Identifier attribute (see Section 3.10) SHOULD be used instead.

The Certificate Identifier attribute is a structure (see Table 80) used to provide the identification of a certificate. For X.509 certificates, it contains the Issuer Distinguished Name (i.e., from the Issuer field of the certificate) and the Certificate Serial Number (i.e., from the Serial Number field of the certificate). For PGP certificates, the Issuer contains the OpenPGP Key ID of the key issuing the signature (the signature that represents the certificate). The Certificate Identifier SHALL be set by the server when the certificate is created or registered and then SHALL NOT be changed or deleted before the object is destroyed.

Table 80: Certificate Identifier Attribute Structure
ObjectEncodingREQUIRED
Certificate IdentifierStructure
IssuerText StringYes
Serial NumberText StringYes (for X.509 certificates) / No (for PGP certificates since they do not contain a serial number)
Table 81: Certificate Identifier Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRegister, Certify, Re-certify
Applies to Object TypesCertificates

Certificate Subject

This attribute is deprecated as of version 1.1 of this specification and MAY be removed from subsequent versions of this specification. The X.509 Certificate Subject attribute (see Section 3.11) SHOULD be used instead.

The Certificate Subject attribute is a structure (see Table 82) used to identify the subject of a certificate. For X.509 certificates, it contains the Subject Distinguished Name (i.e., from the Subject field of the certificate). It MAY include one or more alternative names (e.g., email address, IP address, DNS name) for the subject of the certificate (i.e., from the Subject Alternative Name extension within the certificate). For PGP certificates, the Certificate Subject Distinguished Name contains the content of the first User ID packet in the PGP certificate (that is, the first User ID packet after the Public-Key packet in the transferable public key that forms the PGP certificate). These values SHALL be set by the server based on the information it extracts from the certificate that is created (as a result of a Certify or a Re-certify operation) or registered (as part of a Register operation) and SHALL NOT be changed or deleted before the object is destroyed.

If the Subject Alternative Name extension is included in the certificate and is marked CRITICAL (i.e., within the certificate itself), then it is possible to issue an X.509 certificate where the subject field is left blank. Therefore an empty string is an acceptable value for the Certificate Subject Distinguished Name.

Table 82: Certificate Subject Attribute Structure
ObjectEncodingREQUIRED
Certificate SubjectStructure
Certificate Subject Distinguished NameText StringYes, but MAY be the empty string
Certificate Subject Alternative NameText StringNo, MAY be repeated
Table 83: Certificate Subject Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRegister, Certify, Re-certify
Applies to Object TypesCertificates

Certificate Issuer

This attribute is deprecated as of version 1.1 of this specification and MAY be removed from subsequent versions of this specification. The X.509 Certificate Issuer attribute (see Section 3.12) SHOULD be used instead.

The Certificate Issuer attribute is a structure (see Table 85) used to identify the issuer of a certificate, containing the Issuer Distinguished Name (i.e., from the Issuer field of the certificate). It MAY include one or more alternative names (e.g., email address, IP address, DNS name) for the issuer of the certificate (i.e., from the Issuer Alternative Name extension within the certificate). The server SHALL set these values based on the information it extracts from a certificate that is created as a result of a Certify or a Re-certify operation or is sent as part of a Register operation. These values SHALL NOT be changed or deleted before the object is destroyed.

Table 84: Certificate Issuer Attribute Structure
ObjectEncodingREQUIRED
Certificate IssuerStructure
Certificate Issuer Distinguished NameText StringYes
Certificate Issuer Alternative NameText StringNo, MAY be repeated
Table 85: Certificate Issuer Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRegister, Certify, Re-certify
Applies to Object TypesCertificates

Digital Signature Algorithm

The Digital Signature Algorithm attribute identifies the digital signature algorithm associated with a digitally signed object (e.g., Certificate). This attribute SHALL be set by the server when the object is created or registered and then SHALL NOT be changed or deleted before the object is destroyed.

Table 86: Digital Signature Algorithm Attribute
ObjectEncoding
Digital Signature AlgorithmEnumeration, see 9.1.3.2.7
Table 87: Digital Signature Algorithm Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedYes for PGP keys. No for X.509 certificates.
When implicitly setCertify, Re-certify, Register
Applies to Object TypesCertificates, PGP keys

Digest

The Digest attribute is a structure (see Table 88) that contains the digest value of the key or secret data (i.e., digest of the Key Material), certificate (i.e., digest of the Certificate Value), or opaque object (i.e., digest of the Opaque Data Value). If the Key Material is a Byte String, then the Digest Value SHALL be calculated on this Byte String. If the Key Material is a structure, then the Digest Value SHALL be calculated on the TTLV-encoded (see Section 9.1) Key Material structure. The Key Format Type field in the Digest attribute indicates the format of the Managed Object from which the Digest Value was calculated. Multiple digests MAY be calculated using different algorithms listed in Section 9.1.3.2.16 and/or key format types listed in Section 9.1.3.2.3. If this attribute exists, then it SHALL have a mandatory attribute instance computed with the SHA-256 hashing algorithm. For objects registered by a client, the server SHALL compute the digest of the mandatory attribute instance using the Key Format Type of the registered object. In all other cases, the server MAY use any Key Format Type when computing the digest of the mandatory attribute instance, provided it is able to serve the object to clients in that same format. The digest(s) are static and SHALL be set by the server when the object is created or registered, provided that the server has access to the Key Material or the Digest Value (possibly obtained via out-of-band mechanisms).

Table 88: Digest Attribute Structure
ObjectEncodingREQUIRED
DigestStructure
Hashing AlgorithmEnumeration, see 9.1.3.2.16Yes
Digest ValueByte StringYes, if the server has access to the Digest Value or the Key Material (for keys and secret data), the Certificate Value (for certificates) or the Opaque Data Value (for opaque objects).
Key Format TypeEnumeration, see 9.1.3.2.3Yes, if the Managed Object is a key or secret data object.
Table 89: Digest Attribute Rules
SHALL always have a valueYes, if the server has access to the Digest Value or the Key Material (for keys and secret data), the Certificate Value (for certificates) or the Opaque Data Value (for opaque objects).
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedYes
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects, Opaque Objects

Operation Policy Name

The Operation Policy Name Attribute is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification.

An operation policy controls what entities MAY perform which key management operations on the object. The content of the Operation Policy Name attribute is the name of a policy object known to the key management system and, therefore, is server dependent. The named policy objects are created and managed using mechanisms outside the scope of the protocol. The policies determine what entities MAY perform specified operations on the object, and which of the object’s attributes MAY be modified or deleted. The Operation Policy Name attribute SHOULD be set when operations that result in a new Managed Object on the server are executed. It is set either explicitly or via some default set by the server, which then applies the named policy to all subsequent operations on the object.

Table 90: Operation Policy Name Attribute
ObjectEncoding
Operation Policy NameText String
Table 91: Operation Policy Name Attribute Rules
SHALL always have a valueNo
Initially set byServer or Client
Modifiable by serverYes
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Objects

Operations outside of operation policy control

Some of the operations SHOULD be allowed for any client at any time, without respect to operation policy. These operations are:

Default Operation Policy

A key management system implementation MAY implement a named operation policy, which is used for objects when the Operation Policy attribute is not specified by the Client in operations that result in a new Managed Object on the server, or in a template specified in these operations. This policy is named default. It specifies the following rules for operations on objects created or registered with this policy, depending on the object type.

Default Operation Policy for Secret Objects

This policy applies to Symmetric Keys, Private Keys, Split Keys, Secret Data, and Opaque Objects.

The Default Operation Policy for Template Objects is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification.

Table 92: Default Operation Policy for Secret Objects
Default Operation Policy for Secret Objects
OperationPolicy
Re-keyAllowed to owner only
Re-key Key PairAllowed to owner only
Derive KeyAllowed to owner only
LocateAllowed to owner only
CheckAllowed to owner only
GetAllowed to owner only
Get AttributesAllowed to owner only
Get Attribute ListAllowed to owner only
Add AttributeAllowed to owner only
Modify AttributeAllowed to owner only
Delete AttributeAllowed to owner only
Obtain LeaseAllowed to owner only
Get Usage AllocationAllowed to owner only
ActivateAllowed to owner only
RevokeAllowed to owner only
DestroyAllowed to owner only
ArchiveAllowed to owner only
RecoverAllowed to owner only

Default Operation Policy for Certificates and Public Key Objects

This policy applies to Certificates and Public Keys.

The Default Operation Policy for Template Objects is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification.

Table 93: Default Operation Policy for Certificates and Public Key Objects
Default Operation Policy for Certificates and Public Key Objects
OperationPolicy
LocateAllowed to all
CheckAllowed to all
GetAllowed to all
Get AttributesAllowed to all
Get Attribute ListAllowed to all
Add AttributeAllowed to owner only
Modify AttributeAllowed to owner only
Delete AttributeAllowed to owner only
Obtain LeaseAllowed to all
ActivateAllowed to owner only
RevokeAllowed to owner only
DestroyAllowed to owner only
ArchiveAllowed to owner only
RecoverAllowed to owner only

Default Operation Policy for Template Objects

The Default Operation Policy for Template Objects is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification.

The operation policy specified as an attribute in the Register operation for a template object is the operation policy used for objects created using that template, and is not the policy used to control operations on the template itself. There is no mechanism to specify a policy used to control operations on template objects, so the default policy for template objects is always used for templates created by clients using the Register operation to create template objects.

Table 94: Default Operation Policy for Private Template Objects
Default Operation Policy for Private Template Objects
OperationPolicy
LocateAllowed to owner only
GetAllowed to owner only
Get AttributesAllowed to owner only
Get Attribute ListAllowed to owner only
Add AttributeAllowed to owner only
Modify AttributeAllowed to owner only
Delete AttributeAllowed to owner only
DestroyAllowed to owner only
Any operation referencing the Template using a Template-AttributeAllowed to owner only

In addition to private template objects (which are controlled by the above policy, and which MAY be created by clients or the server), publicly known and usable templates MAY be created and managed by the server, with a default policy different from private template objects.

Table 95: Default Operation Policy for Public Template Objects
Default Operation Policy for Public Template Objects
OperationPolicy
LocateAllowed to all
GetAllowed to all
Get AttributesAllowed to all
Get Attribute ListAllowed to all
Add AttributeDisallowed to all
Modify AttributeDisallowed to all
Delete AttributeDisallowed to all
DestroyDisallowed to all
Any operation referencing the Template using a Template-AttributeAllowed to all

Cryptographic Usage Mask

The Cryptographic Usage Mask attribute defines the cryptographic usage of a key. This is a bit mask that indicates to the client which cryptographic functions MAY be performed using the key, and which ones SHALL NOT be performed.

This list takes into consideration values that MAY appear in the Key Usage extension in an X.509 certificate. However, the list does not consider the additional usages that MAY appear in the Extended Key Usage extension.

X.509 Key Usage values SHALL be mapped to Cryptographic Usage Mask values in the following manner:

Table 96: X.509 Key Usage to Cryptographic Usage Mask Mapping
X.509 Key Usage to Cryptographic Usage Mask Mapping
X.509 Key Usage ValueCryptographic Usage Mask Value
digitalSignatureSign or Verify
contentCommitment

Content Commitment

(Non Repudiation)

keyEnciphermentWrap Key or Unwrap Key
dataEnciphermentEncrypt or Decrypt
keyAgreementKey Agreement
keyCertSignCertificate Sign
cRLSignCRL Sign
encipherOnlyEncrypt
decipherOnlyDecrypt
Table 97: Cryptographic Usage Mask Attribute
ObjectEncoding
Cryptographic Usage MaskInteger
Table 98: Cryptographic Usage Mask Attribute Rules
SHALL always have a valueYes
Initially set byServer or Client
Modifiable by serverYes
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects, Templates

Lease Time

The Lease Time attribute defines a time interval for a Managed Cryptographic Object beyond which the client SHALL NOT use the object without obtaining another lease. This attribute always holds the initial length of time allowed for a lease, and not the actual remaining time. Once its lease expires, the client is only able to renew the lease by calling Obtain Lease. A server SHALL store in this attribute the maximum Lease Time it is able to serve and a client obtains the lease time (with Obtain Lease) that is less than or equal to the maximum Lease Time. This attribute is read-only for clients. It SHALL be modified by the server only.

Table 99: Lease Time Attribute
ObjectEncoding
Lease TimeInterval
Table 100: Lease Time Attribute Rules
SHALL always have a valueNo
Initially set byServer
Modifiable by serverYes
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects

Usage Limits

The Usage Limits attribute is a mechanism for limiting the usage of a Managed Cryptographic Object. It only applies to Managed Cryptographic Objects that are able to be used for applying cryptographic protection and it SHALL only reflect their usage for applying that protection (e.g., encryption, signing, etc.). This attribute does not necessarily exist for all Managed Cryptographic Objects, since some objects are able to be used without limit for cryptographically protecting data, depending on client/server policies. Usage for processing cryptographically protected data (e.g., decryption, verification, etc.) is not limited. The Usage Limits attribute has the three following fields:

When the attribute is initially set (usually during object creation or registration), the Usage Limits Count is set to the Usage Limits Total value allowed for the useful life of the object, and are decremented when the object is used. The server SHALL ignore the Usage Limits Count value if the attribute is specified in an operation that creates a new object. Changes made via the Modify Attribute operation reflect corrections to the Usage Limits Total value, but they SHALL NOT be changed once the Usage Limits Count value has changed by a Get Usage Allocation operation. The Usage Limits Count value SHALL NOT be set or modified by the client via the Add Attribute or Modify Attribute operations.

Table 101: Usage Limits Attribute Structure
ObjectEncodingREQUIRED
Usage LimitsStructure
Usage Limits TotalLong IntegerYes
Usage Limits CountLong IntegerYes
Usage Limits UnitEnumeration, see 9.1.3.2.31Yes
Table 102: Usage Limits Attribute Rules
SHALL always have a valueNo
Initially set byServer (Total, Count, and Unit) or Client (Total and/or Unit only)
Modifiable by serverYes
Modifiable by clientYes (Total and/or Unit only, as long as Get Usage Allocation has not been performed)
Deletable by clientYes, as long as Get Usage Allocation has not been performed
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Re-key, Re-key Key Pair, Get Usage Allocation
Applies to Object TypesKeys, Templates

State

<w:bookmarkStart w:id="1482" w:name="_Toc409729185"/><w:bookmarkStart w:id="1483" w:name="_Toc411623341"/><w:bookmarkStart w:id="1484" w:name="_Toc442284000"/><w:bookmarkStart w:id="1485" w:name="_Ref477422706"/><w:bookmarkStart w:id="1486" w:name="_Ref477422733"/>Figure 1: Cryptographic Object States and Transitions<w:bookmarkEnd w:id="1482"/><w:bookmarkEnd w:id="1483"/><w:bookmarkEnd w:id="1484"/><w:bookmarkEnd w:id="1485"/><w:bookmarkEnd w:id="1486"/>This attribute is an indication of the State of an object as known to the key management server. The State SHALL NOT be changed by using the Modify Attribute operation on this attribute. The State SHALL only be changed by the server as a part of other operations or other server processes. An object SHALL be in one of the following states at any given time. (Note: These states correspond to those described in [SP800-57-1]).

State transitions occur as follows:

  1. The transition from a non-existent key to the Pre-Active state is caused by the creation of the object. When an object is created or registered, it automatically goes from non-existent to Pre-Active. If, however, the operation that creates or registers the object contains an Activation Date that has already occurred, then the state immediately transitions from Pre-Active to Active. In this case, the server SHALL set the Activation Date attribute to the value specified in the request, or fail the request attempting to create or register the object, depending on server policy. If the operation contains an Activation Date attribute that is in the future, or contains no Activation Date, then the Cryptographic Object is initialized in the key management system in the Pre-Active state.

  2. The transition from Pre-Active to Destroyed is caused by a client issuing a Destroy operation. The server destroys the object when (and if) server policy dictates.

  3. The transition from Pre-Active to Compromised is caused by a client issuing a Revoke operation with a Revocation Reason of Compromised.

  4. The transition from Pre-Active to Active SHALL occur in one of three ways:

  1. The transition from Active to Compromised is caused by a client issuing a Revoke operation with a Revocation Reason of Compromised.

  2. The transition from Active to Deactivated SHALL occur in one of three ways:

  1. The transition from Deactivated to Destroyed is caused by a client issuing a Destroy operation, or by a server, both in accordance with server policy. The server destroys the object when (and if) server policy dictates.

  2. The transition from Deactivated to Compromised is caused by a client issuing a Revoke operation with a Revocation Reason of Compromised.

  3. The transition from Compromised to Destroyed Compromised is caused by a client issuing a Destroy operation, or by a server, both in accordance with server policy. The server destroys the object when (and if) server policy dictates.

  4. The transition from Destroyed to Destroyed Compromised is caused by a client issuing a Revoke operation with a Revocation Reason of Compromised.

Only the transitions described above are permitted.

Table 103: State Attribute
ObjectEncoding
StateEnumeration, see 9.1.3.2.18
Table 104: State Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverYes
Modifiable by clientNo, but only by the server in response to certain requests (see above)
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Activate, Revoke, Destroy, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects

Initial Date

The Initial Date attribute contains the date and time when the Managed Object was first created or registered at the server. This time corresponds to state transition 1 (see Section 3.22). This attribute SHALL be set by the server when the object is created or registered, and then SHALL NOT be changed or deleted before the object is destroyed. This attribute is also set for non-cryptographic objects (e.g., templates) when they are first registered with the server.

Table 105: Initial Date Attribute
ObjectEncoding
Initial DateDate-Time
Table 106: Initial Date Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Objects

Activation Date

The Activation Date attribute contains the date and time when the Managed Cryptographic Object MAY begin to be used. This time corresponds to state transition 4 (see Section 3.22). The object SHALL NOT be used for any cryptographic purpose before the Activation Date has been reached. Once the state transition from Pre-Active has occurred, then this attribute SHALL NOT be changed or deleted before the object is destroyed.

Table 107: Activation Date Attribute
ObjectEncoding
Activation DateDate-Time
Table 108: Activation Date Attribute Rules
SHALL always have a valueNo
Initially set byServer or Client
Modifiable by serverYes, only while in Pre-Active state
Modifiable by clientYes, only while in Pre-Active state
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Activate Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects, Templates

Process Start Date

The Process Start Date attribute is the date and time when a Managed Symmetric Key Object MAY begin to be used to process cryptographically protected information (e.g., decryption or unwrapping), depending on the value of its Cryptographic Usage Mask attribute. The object SHALL NOT be used for these cryptographic purposes before the Process Start Date has been reached. This value MAY be equal to or later than, but SHALL NOT precede, the Activation Date. Once the Process Start Date has occurred, then this attribute SHALL NOT be changed or deleted before the object is destroyed.

Table 109: Process Start Date Attribute
ObjectEncoding
Process Start DateDate-Time
Table 110: Process Start Date Attribute Rules
SHALL always have a valueNo
Initially set byServer or Client
Modifiable by serverYes, only while in Pre-Active or Active state and as long as the Process Start Date has been not reached.
Modifiable by clientYes, only while in Pre-Active or Active state and as long as the Process Start Date has been not reached.
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Register, Derive Key, Re-key
Applies to Object TypesSymmetric Keys, Split Keys of symmetric keys, Templates

Protect Stop Date

The Protect Stop Date attribute is the date and time after which a Managed Symmetric Key Object SHALL NOT be used for applying cryptographic protection (e.g., encryption or wrapping), depending on the value of its Cryptographic Usage Mask attribute. This value MAY be equal to or earlier than, but SHALL NOT be later than the Deactivation Date. Once the Protect Stop Date has occurred, then this attribute SHALL NOT be changed or deleted before the object is destroyed.

Table 111: Protect Stop Date Attribute
ObjectEncoding
Protect Stop DateDate-Time
Table 112: Protect Stop Date Attribute Rules
SHALL always have a valueNo
Initially set byServer or Client
Modifiable by serverYes, only while in Pre-Active or Active state and as long as the Protect Stop Date has not been reached.
Modifiable by clientYes, only while in Pre-Active or Active state and as long as the Protect Stop Date has not been reached.
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Register, Derive Key, Re-key
Applies to Object TypesSymmetric Keys, Split Keys of symmetric keys, Templates

Deactivation Date

The Deactivation Date attribute is the date and time when the Managed Cryptographic Object SHALL NOT be used for any purpose, except for decryption, signature verification, or unwrapping, but only under extraordinary circumstances and only when special permission is granted. This time corresponds to state transition 6 (see Section 3.22). This attribute SHALL NOT be changed or deleted before the object is destroyed, unless the object is in the Pre-Active or Active state.

Table 113: Deactivation Date Attribute
ObjectEncoding
Deactivation DateDate-Time
Table 114: Deactivation Date Attribute Rules
SHALL always have a valueNo
Initially set byServer or Client
Modifiable by serverYes, only while in Pre-Active or Active state
Modifiable by clientYes, only while in Pre-Active or Active state
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Revoke Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects, Templates

Destroy Date

The Destroy Date attribute is the date and time when the Managed Object was destroyed. This time corresponds to state transitions 2, 7, or 9 (see Section 3.22). This value is set by the server when the object is destroyed due to the reception of a Destroy operation, or due to server policy or out-of-band administrative action.

Table 115: Destroy Date Attribute
ObjectEncoding
Destroy DateDate-Time
Table 116: Destroy Date Attribute Rules
SHALL always have a valueNo
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setDestroy
Applies to Object TypesAll Cryptographic Objects, Opaque Objects

Compromise Occurrence Date

The Compromise Occurrence Date attribute is the date and time when the Managed Cryptographic Object was first believed to be compromised. If it is not possible to estimate when the compromise occurred, then this value SHOULD be set to the Initial Date for the object.

Table 117: Compromise Occurrence Date Attribute
ObjectEncoding
Compromise Occurrence DateDate-Time
Table 118: Compromise Occurrence Date Attribute Rules
SHALL always have a valueNo
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRevoke
Applies to Object TypesAll Cryptographic Objects, Opaque Object

Compromise Date

The Compromise Date attribute contains the date and time when the Managed Cryptographic Object entered into the compromised state. This time corresponds to state transitions 3, 5, 8, or 10 (see Section 3.22). This time indicates when the key management system was made aware of the compromise, not necessarily when the compromise occurred. This attribute is set by the server when it receives a Revoke operation with a Revocation Reason of Compromised code, or due to server policy or out-of-band administrative action.

Table 119: Compromise Date Attribute
ObjectEncoding
Compromise DateDate-Time
Table 120: Compromise Date Attribute Rules
SHALL always have a valueNo
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRevoke
Applies to Object TypesAll Cryptographic Objects, Opaque Object

Revocation Reason

The Revocation Reason attribute is a structure (see Table 121) used to indicate why the Managed Cryptographic Object was revoked (e.g., “compromised”, “expired”, “no longer used”, etc.). This attribute is only set by the server as a part of the Revoke Operation.

The Revocation Message is an OPTIONAL field that is used exclusively for audit trail/logging purposes and MAY contain additional information about why the object was revoked (e.g., “Laptop stolen”, or “Machine decommissioned”).

Table 121: Revocation Reason Attribute Structure
ObjectEncodingREQUIRED
Revocation ReasonStructure
Revocation Reason CodeEnumeration, see 9.1.3.2.19Yes
Revocation MessageText StringNo
Table 122: Revocation Reason Attribute Rules
SHALL always have a valueNo
Initially set byServer
Modifiable by serverYes
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setRevoke
Applies to Object TypesAll Cryptographic Objects, Opaque Object

Archive Date

The Archive Date attribute is the date and time when the Managed Object was placed in archival storage. This value is set by the server as a part of the Archive operation. The server SHALL delete this attribute whenever a Recover operation is performed.

Table 123: Archive Date Attribute
ObjectEncoding
Archive DateDate-Time
Table 124: Archive Date Attribute Rules
SHALL always have a valueNo
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setArchive
Applies to Object TypesAll Objects

Object Group

An object MAY be part of a group of objects. An object MAY belong to more than one group of objects. To assign an object to a group of objects, the object group name SHOULD be set into this attribute. “default” is a reserved Text String for Object Group.

Table 125: Object Group Attribute
ObjectEncoding
Object GroupText String
Table 126: Object Group Attribute Rules
SHALL always have a valueNo
Initially set byClient or Server
Modifiable by serverYes
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedYes
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Objects

Fresh

The Fresh attribute is a Boolean attribute that indicates that the object has not yet been served to a client. The Fresh attribute SHALL be set to True when a new object is created on the server. The server SHALL change the attribute value to False as soon as the object has been served to a client.

Table 127: Fresh Attribute
ObjectEncoding
FreshBoolean
Table 128: Fresh Attribute Rules
SHALL always have a valueNo
Initially set byClient or Server
Modifiable by serverYes
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects

The Link attribute is a structure (see Table 129) used to create a link from one Managed Cryptographic Object to another, closely related target Managed Cryptographic Object. The link has a type, and the allowed types differ, depending on the Object Type of the Managed Cryptographic Object, as listed below. The Linked Object Identifier identifies the target Managed Cryptographic Object by its Unique Identifier. The link contains information about the association between the Managed Cryptographic Objects (e.g., the private key corresponding to a public key; the parent certificate for a certificate in a chain; or for a derived symmetric key, the base key from which it was derived).

Possible values of Link Type in accordance with the Object Type of the Managed Cryptographic Object are:

The Link attribute SHOULD be present for private keys and public keys for which a certificate chain is stored by the server, and for certificates in a certificate chain.

Note that it is possible for a Managed Object to have multiple instances of the Link attribute (e.g., a Private Key has links to the associated certificate, as well as the associated public key; a Certificate object has links to both the public key and to the certificate of the certification authority (CA) that signed the certificate).

It is also possible that a Managed Object does not have links to associated cryptographic objects. This MAY occur in cases where the associated key material is not available to the server or client (e.g., the registration of a CA Signer certificate with a server, where the corresponding private key is held in a different manner).

Table 129: Link Attribute Structure
ObjectEncodingREQUIRED
LinkStructure
Link TypeEnumeration, see 9.1.3.2.20Yes
Linked Object Identifier, see 3.1Text StringYes
Table 130: Link Attribute Structure Rules
SHALL always have a valueNo
Initially set byClient or Server
Modifiable by serverYes
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedYes
When implicitly setCreate Key Pair, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects

Application Specific Information

The Application Specific Information attribute is a structure (see Table 131) used to store data specific to the application(s) using the Managed Object. It consists of the following fields: an Application Namespace and Application Data specific to that application namespace.

Clients MAY request to set (i.e., using any of the operations that result in new Managed Object(s) on the server or adding/modifying the attribute of an existing Managed Object) an instance of this attribute with a particular Application Namespace while omitting Application Data. In that case, if the server supports this namespace (as indicated by the Query operation in Section 4.25), then it SHALL return a suitable Application Data value. If the server does not support this namespace, then an error SHALL be returned.

Table 131: Application Specific Information Attribute
ObjectEncodingREQUIRED
Application Specific InformationStructure
Application NamespaceText StringYes
Application DataText StringNo
Table 132: Application Specific Information Attribute Rules
SHALL always have a valueNo
Initially set byClient or Server (only if the Application Data is omitted, in the client request)
Modifiable by serverYes (only if the Application Data is omitted in the client request)
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedYes
When implicitly setRe-key, Re-key Key Pair, Re-certify
Applies to Object TypesAll Objects

Contact Information

The Contact Information attribute is OPTIONAL, and its content is used for contact purposes only. It is not used for policy enforcement. The attribute is set by the client or the server.

Table 133: Contact Information Attribute
ObjectEncoding
Contact InformationText String
Table 134: Contact Information Attribute Rules
SHALL always have a valueNo
Initially set byClient or Server
Modifiable by serverYes
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Objects

Last Change Date

The Last Change Date attribute contains the date and time of the last change of the specified object.

Table 135: Last Change Date Attribute
ObjectEncoding
Last Change DateDate-Time
Table 136: Last Change Date Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverYes
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Register, Derive Key, Activate, Revoke, Destroy, Archive, Recover, Certify, Re-certify, Re-key, Re-key Key Pair, Add Attribute, Modify Attribute, Delete Attribute, Get Usage Allocation
Applies to Object TypesAll Objects

Custom Attribute

A Custom Attribute is a client- or server-defined attribute intended for vendor-specific purposes. It is created by the client and not interpreted by the server, or is created by the server and MAY be interpreted by the client. All custom attributes created by the client SHALL adhere to a naming scheme, where the name of the attribute SHALL have a prefix of 'x-'. All custom attributes created by the key management server SHALL adhere to a naming scheme where the name of the attribute SHALL have a prefix of 'y-'. The server SHALL NOT accept a client-created or modified attribute, where the name of the attribute has a prefix of ‘y-‘. The tag type Custom Attribute is not able to identify the particular attribute; hence such an attribute SHALL only appear in an Attribute Structure with its name as defined in Section 2.1.1.

Table 137 Custom Attribute
ObjectEncoding
Custom AttributeAny data type or structure. If a structure, then the structure SHALL NOT include sub structuresThe name of the attribute SHALL start with 'x-' or 'y-'.
Table 138: Custom Attribute Rules
SHALL always have a valueNo
Initially set byClient or Server
Modifiable by serverYes, for server-created attributes
Modifiable by clientYes, for client-created attributes
Deletable by clientYes, for client-created attributes
Multiple instances permittedYes
When implicitly setCreate, Create Key Pair, Register, Derive Key, Activate, Revoke, Destroy, Certify, Re-certify, Re-key, Re-key Key Pair
Applies to Object TypesAll Objects

Alternative Name

The Alternative Name attribute is used to identify and locate the object. This attribute is assigned by the client, and the Alternative Name Value is intended to be in a form that humans are able to interpret. The key management system MAY specify rules by which the client creates valid alternative names. Clients are informed of such rules by a mechanism that is not specified by this standard. Alternative Names MAY NOT be unique within a given key management domain.

Table 139: Alternative Name Attribute Structure
ObjectEncodingREQUIRED
Alternative NameStructure
Alternative Name ValueText StringYes
Alternative Name TypeEnumeration, see 9.1.3.2.34Yes
Table 140: Alternative Name Attribute Rules
SHALL always have a valueNo
Initially set byClient
Modifiable by serverYes (Only if no value present)
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedYes
Applies to Object TypesAll Objects

Key Value Present

Key Value Present is an OPTIONAL attribute of the managed object created by the server. It SHALL NOT be specified by the client in a Register request. Key Value Present SHALL be created by the server if the Key Value is absent from the Key Block in a Register request. The value of Key Value Present SHALL NOT be modified by either the client or the server. Key Value Present attribute MAY be used as a part of the Locate operation. This attribute does not apply to Templates, Certificates, Public Keys or Opaque Objects.

Table 141: Key Value Present Attribute
ObjectEncodingREQUIRED
Key Value PresentBooleanNo
Table 142: Key Value Present Attribute Rules
SHALL always have a valueNo
Initially set byServer
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setDuring Register operation
Applies to Object TypesSymmetric Key, Private Key, Split Key, Secret Data

Key Value Location

Key Value Location is an OPTIONAL attribute of a managed object. It MAY be specified by the client when the Key Value is omitted from the Key Block in a Register request. Key Value Location is used to indicate the location of the Key Value absent from the object being registered. This attribute does not apply to Templates, Certificates, Public Keys or Opaque Objects.

Table 143: Key Value Location Attribute
ObjectEncodingREQUIRED
Key Value LocationStructure
Key Value Location ValueText StringYes
Key Value Location TypeEnumeration, see 9.1.3.2.35Yes
Table 144: Key Value Location Attribute Rules
SHALL always have a valueNo
Initially set byClient
Modifiable by serverNo
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedYes
When implicitly setNever
Applies to Object TypesSymmetric Key, Private Key, Split Key, Secret Data

Original Creation Date

The Original Creation Date attribute contains the date and time the object was originally created, which can be different from when the object is registered with a key management server.

It is OPTIONAL for an object being registered by a client. The Original Creation Date MAY be set by the client during a Register operation. If no Original Creation Date attribute was set by the client during a Register operation, it MAY do so at a later time through an Add Attribute operation for that object.

It is mandatory for an object created on the server as a result of a Create, Create Key Pair, Derive Key, Re-key, or Re-key Key Pair operation. In such cases the Original Creation Date SHALL be set by the server and SHALL be the same as the Initial Date attribute.

In all cases, once the Original Creation Date is set, it SHALL NOT be deleted or updated.

Table 145: Original Creation Date Attribute
ObjectEncoding
Original Creation DateDate-Time
Table 146: Original Creation Date Attribute Rules
SHALL always have a valueNo
Initially set byClient or Server (when object is generated by Server)
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Derive Key, Re-key, Re-key Key Pair
Applies to Object TypesAll Objects

Random Number Generator

The Random Number Generator attribute contains the details of the random number generator used during the creation of the managed cryptographic object.

It is OPTIONAL for a managed cryptographic object being registered by a client. The Random Number Generator MAY be set by the client during a Register operation. If no Random Number Generator attribute was set by the client during a Register operation, it MAY do so at a later time through an Add Attribute operation for that object.

It is mandatory for an object created on the server as a result of a Create, Create Key Pair, Derive Key, Re-key, or Re-key Key Pair operation. In such cases the Random Number Generator SHALL be set by the server depending on which random number generator was used. If the specific details of the random number generator are unknown then the RNG Algorithm within the RNG Parameters structure SHALL be set to Unspecified.

If one or more Random Number Generator attribute values are provided in the template attributes (either directly or via reference to templates which contain Random Number Generator attribute values) in a Create, Create Key Pair, Derive Key, Re-key, or Re-key Key Pair operation then the server SHALL use a random number generator that matches one of the Random Number Generator attributes. If the server does not support or is otherwise unable to use a matching random number generator then it SHALL fail the request.

The Random Number Generator attribute SHALL NOT be copied from the original object in a Re-key or Re-key Key Pair operation.

In all cases, once the Random Number Generator attribute is set, it SHALL NOT be deleted or updated.

Table 147: Random Number Generator Attribute
ObjectEncoding
Random Number GeneratorRNG Parameters (see 2.1.18)
Table 148: Random Number Generator Attribute Rules
SHALL always have a valueNo
Initially set byClient (when the object is generated by the Client and registered) or Server (when object is generated by Server)
Modifiable by serverNo
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setCreate, Create Key Pair, Derive Key, Re-key, Re-key Key Pair
Applies to Object TypesAll Cryptographic Objects

PKCS#12 Friendly Name

The PKCS#12 Friendly Name attribute is OPTIONAL. If supplied on a Register Private Key with Key Format Type PKCS#12, it informs the server of the alias/friendly name (see [RFC7292]) under which the private key and its associated certificate chain SHALL be found in the Key Material. If no such alias/friendly name is supplied, the server SHALL record the alias/friendly name (if any) it finds for the first Private Key in the Key Material.

When a Get with Key Format Type PKCS#12 is issued, this attribute informs the server what alias/friendly name the server SHALL use when encoding the response. If this attribute is absent for the object on which the Get is issued, the server SHOULD use an alias/friendly name of “alias”. Since the PKCS#12 Friendly Name is defined in ASN.1 with an EQUALITY MATCHING RULE of caseIgnoreMatch, clients and servers SHOULD utilize a lowercase text string.

Table 149: PKCS#12 Friendly Name Attribute
ObjectEncoding
PKCS#12 Friendly NameText String
Table 150: Friendly Name Attribute Rules
SHALL always have a valueNo
Initially set byClient or Server
Modifiable by serverNo
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedNo
Applies to Object TypesManaged Cryptographic Objects

Description

The Description attribute is OPTIONAL, and its content is used for informational purposes only. It is not used for policy enforcement. The attribute is set by the client or the server.

Table 151: Description Attribute
ObjectEncoding
DescriptionText String
Table 152: Description Attribute Rules
SHALL always have a valueNo
Initially set byClient or Server
Modifiable by serverYes
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedNo
Applies to Object TypesAll Objects

Comment

The Comment attribute is OPTIONAL, and its content is used for informational purposes only. It is not used for policy enforcement. The attribute is set by the client or the server.

Table 153: Comment Attribute
ObjectEncoding
DescriptionText String
Table 154: Comment Rules
SHALL always have a valueNo
Initially set byClient or Server
Modifiable by serverYes
Modifiable by clientYes
Deletable by clientYes
Multiple instances permittedNo
Applies to Object TypesAll Objects

Sensitive

If True then the server SHALL prevent the object value being retrieved (via the Get operation) unless it is wrapped by another key. The server SHALL set the value to False if the value is not provided by the client.

Table 155: Sensitive Attribute
ObjectEncoding
SensitiveBoolean
Table 156: Sensitive Attribute Rules
SHALL always have a valueYes
Initially set byClient or Server
Modifiable by serverYes
Modifiable by clientYes
Deletable by clientNo
Multiple instances permittedNo
When implicitly setWhen object is created or registered
Applies to Object TypesAll Objects

Always Sensitive

The server SHALL set the value toTrue if the Sensitive attribute has always been True and the value to False if the Sensitive attribute has ever been set to False.

Table 157: Always Sensitive Attribute
ObjectEncoding
SensitiveBoolean
Table 158: Always Sensitive Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverYes
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly setWhen Sensitive attribute is set or changed
Applies to Object TypesAll Objects

Extractable

If False then the server SHALL prevent the object value being retrieved (via the Get operation). The server SHALL set the value to True if the value is not provided by the client.

Table 159: Extractable Attribute
ObjectEncoding
ExtractableBoolean
Table 160: Extractable Attribute Rules
SHALL always have a valueYes
Initially set byClient or Server
Modifiable by serverYes
Modifiable by clientYes
Deletable by clientNo
Multiple instances permittedNo
When implicitly setWhen object is created or registered
Applies to Object TypesAll Objects

Never Extractable

The server SHALL set the value to True if the Extractable attribute has always been False, and set the value to False if the Extractable attribute has ever been set to True.

Table 161: Never Extractable Attribute
ObjectEncoding
Never ExtractableBoolean
Table 162: Never Extractable Attribute Rules
SHALL always have a valueYes
Initially set byServer
Modifiable by serverYes
Modifiable by clientNo
Deletable by clientNo
Multiple instances permittedNo
When implicitly set

When Never Extractable attribute is

set or changed

Applies to Object TypesAll Objects

Client-to-Server Operations

The following subsections describe the operations that MAY be requested by a key management client. Not all clients have to be capable of issuing all operation requests; however any client that issues a specific request SHALL be capable of understanding the response to the request. All Object Management operations are issued in requests from clients to servers, and results obtained in responses from servers to clients. Multiple operations MAY be combined within a batch, resulting in a single request/response message pair.

A number of the operations whose descriptions follow are affected by a mechanism referred to as the ID Placeholder.

The key management server SHALL implement a temporary variable called the ID Placeholder. This value consists of a single Unique Identifier. It is a variable stored inside the server that is only valid and preserved during the execution of a batch of operations. Once the batch of operations has been completed, the ID Placeholder value SHALL be discarded and/or invalidated by the server, so that subsequent requests do not find this previous ID Placeholder available.

The ID Placeholder is obtained from the Unique Identifier returned in response to the Create, Create Pair, Register, Derive Key, Re-key, Re-key Key Pair, Certify, Re-Certify, Locate, and Recover operations. If any of these operations successfully completes and returns a Unique Identifier, then the server SHALL copy this Unique Identifier into the ID Placeholder variable, where it is held until the completion of the operations remaining in the batched request or until a subsequent operation in the batch causes the ID Placeholder to be replaced. If the Batch Error Continuation Option is set to Stop and the Batch Order Option is set to true, then subsequent operations in the batched request MAY make use of the ID Placeholder by omitting the Unique Identifier field from the request payloads for these operations.

Requests MAY contain attribute values to be assigned to the object. This information is specified with a Template-Attribute (see Section 2.1.8) that contains zero or more template names and zero or more individual attributes. If more than one template name is specified, and there is a conflict between the single-instance attributes in the templates, then the value in the last of the conflicting templates takes precedence. If there is a conflict between the single-instance attributes in the request and the single-instance attributes in a specified template, then the attribute values in the request take precedence. For multi-instance attributes, the union of attribute values is used when the attributes are specified more than once.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Responses MAY contain attribute values that were not specified in the request, but have been implicitly set by the server. This information is specified with a Template-Attribute that contains one or more individual attributes.

For any operations that operate on Managed Objects already stored on the server, any archived object SHALL first be made available by a Recover operation (see Section 4.23) before they MAY be specified (i.e., as on-line objects).

Multi-part cryptographic operations (operations where a stream of data is provided across multiple requests from a client to a server) are optionally supported by those cryptographic operations that include the Correlation Value (see section 2.1.15), Init Indicator (see section 2.1.16) and Final Indicator (see section 2.1.17) request parameters.

For multi-part cryptographic operations the following sequence is performed

  1. On the first request

    1. Provide an Init Indicator with a value of True

    2. Provide any other required parameters

    3. Preserve the Correlation Value returned in the response for use in subsequent requests

    4. Use the Data output (if any) from the response

  2. On subsequent requests

    1. Provide the Correlation Value from the response to the first request

    2. Provide any other required parameters

    3. Use the next block of Data output (if any) from the response

  3. On the final request

    1. Provide the Correlation Value from the response to the first request

    2. Provide a Final Indicator with a value of True

    3. Use the final block of Data output (if any) from the response

Single-part cryptographic operations (operations where a single input is provided and a single response returned) the following sequence is performed:

  1. On each request

    1. Do not provide an Init Indicator, Final Indicator or Correlation Value or provide an Init indicator and Final Indicator but no Correlation Value.

    2. Provide any other required parameters

    3. Use the Data output from the response

Data is always required in cryptographic operations except when either Init Indicator or Final Indicator is true.

Create

This operation requests the server to generate a new symmetric key as a Managed Cryptographic Object. This operation is not used to create a Template object (see Register operation, Section 4.3).

The request contains information about the type of object being created, and some of the attributes to be assigned to the object (e.g., Cryptographic Algorithm, Cryptographic Length, etc.). This information MAY be specified by the names of Template objects that already exist.

The response contains the Unique Identifier of the created object. The server SHALL copy the Unique Identifier returned by this operation into the ID Placeholder variable.

Table 163: Create Request Payload
Request Payload
ObjectREQUIREDDescription
Object Type, see 3.3YesDetermines the type of object to be created.
Template-Attribute, see 2.1.8Yes

Specifies desired attributes using to be associated with the new object templates and/or individual attributes.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Table 164: Create Response Payload
Response Payload
ObjectREQUIREDDescription
Object Type, see 3.3YesType of object created.
Unique Identifier, see 3.1YesThe Unique Identifier of the newly created object.
Template-Attribute, see 2.1.8No

An OPTIONAL list of object attributes with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Table 165 indicates which attributes SHALL be included in the Create request using the Template-Attribute object.

Table 165: Create Attribute Requirements
AttributeREQUIRED
Cryptographic Algorithm, see 3.4Yes
Cryptographic Usage Mask, see 3.19Yes

Create Key Pair

This operation requests the server to generate a new public/private key pair and register the two corresponding new Managed Cryptographic Objects.

The request contains attributes to be assigned to the objects (e.g., Cryptographic Algorithm, Cryptographic Length, etc.). Attributes and Template Names MAY be specified for both keys at the same time by specifying a Common Template-Attribute object in the request. Attributes not common to both keys (e.g., Name, Cryptographic Usage Mask) MAY be specified using the Private Key Template-Attribute and Public Key Template-Attribute objects in the request, which take precedence over the Common Template-Attribute object.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

For the Private Key, the server SHALL create a Link attribute of Link Type Public Key pointing to the Public Key. For the Public Key, the server SHALL create a Link attribute of Link Type Private Key pointing to the Private Key. The response contains the Unique Identifiers of both created objects. The ID Placeholder value SHALL be set to the Unique Identifier of the Private Key.

Table 166: Create Key Pair Request Payload
Request Payload
ObjectREQUIREDDescription
Common Template-Attribute, see 2.1.8No

Specifies desired attributes in templates and/or as individual attributes to be associated with the new object that apply to both the Private and Public Key Objects.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Private Key Template-Attribute, see 2.1.8No

Specifies templates and/or attributes to be associated with the new object that apply to the Private Key Object. Order of precedence applies.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Public Key Template-Attribute, see 2.1.8No

Specifies templates and/or attributes to be associated with the new object that apply to the Public Key Object. Order of precedence applies.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

For multi-instance attributes, the union of the values found in the templates and attributes of the Common, Private, and Public Key Template-Attribute SHALL be used. For single-instance attributes, the order of precedence is as follows:

  1. attributes specified explicitly in the Private and Public Key Template-Attribute, then

  2. attributes specified via templates in the Private and Public Key Template-Attribute, then

  3. attributes specified explicitly in the Common Template-Attribute, then

  4. attributes specified via templates in the Common Template-Attribute.

If there are multiple templates in the Common, Private, or Public Key Template-Attribute, then the last value of the single-instance attribute that conflicts takes precedence.

Table 167: Create Key Pair Response Payload
Response Payload
ObjectREQUIREDDescription
Private Key Unique Identifier, see 3.1YesThe Unique Identifier of the newly created Private Key object.
Public Key Unique Identifier, see 3.1YesThe Unique Identifier of the newly created Public Key object.
Private Key Template-Attribute, see 2.1.8No

An OPTIONAL list of attributes, for the Private Key Object, with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Public Key Template-Attribute, see 2.1.8No

An OPTIONAL list of attributes, for the Public Key Object, with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Table 168 indicates which attributes SHALL be included in the Create Key pair request using Template-Attribute objects, as well as which attributes SHALL have the same value for the Private and Public Key.

Table 168: Create Key Pair Attribute Requirements
AttributeREQUIREDSHALL contain the same value for both Private and Public Key
Cryptographic Algorithm, see 3.4YesYes
Cryptographic Length, see 3.5NoYes
Cryptographic Usage Mask, see 3.19YesNo
Cryptographic Domain Parameters, see 3.7NoYes
Cryptographic Parameters, see 3.6NoYes

Setting the same Cryptographic Length value for both private and public key does not imply that both keys are of equal length. For RSA, Cryptographic Length corresponds to the bit length of the Modulus. For DSA and DH algorithms, Cryptographic Length corresponds to the bit length of parameter P, and the bit length of Q is set separately in the Cryptographic Domain Parameters attribute. For ECDSA, ECDH, and ECMQV algorithms, Cryptographic Length corresponds to the bit length of parameter Q.

Register

This operation requests the server to register a Managed Object that was created by the client or obtained by the client through some other means, allowing the server to manage the object. The arguments in the request are similar to those in the Create operation, but contain the object itself for storage by the server.

The request contains information about the type of object being registered and attributes to be assigned to the object (e.g., Cryptographic Algorithm, Cryptographic Length, etc.). This information SHALL be specified by the use of a Template-Attribute object.

The response contains the Unique Identifier assigned by the server to the registered object. The server SHALL copy the Unique Identifier returned by this operations into the ID Placeholder variable. The Initial Date attribute of the object SHALL be set to the current time.

Table 169: Register Request Payload
Request Payload
ObjectREQUIREDDescription
Object Type, see 3.3YesDetermines the type of object being registered.
Template-Attribute, see 2.1.8Yes

Specifies desired object attributes to be associated with the new object using templates and/or individual attributes.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Certificate, Symmetric Key, Private Key, Public Key, Split Key, Template Secret Data or Opaque Object, see 2.1.22YesThe object being registered. The object and attributes MAY be wrapped.
Table 170: Register Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the newly registered object.
Template-Attribute, see 2.1.8No

An OPTIONAL list of object attributes with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

If a Managed Cryptographic Object is registered, then the following attributes SHALL be included in the Register request, either explicitly, or via specification of a template that contains the attribute.

Table 171: Register Attribute Requirements
AttributeREQUIRED
Cryptographic Algorithm, see 3.4Yes, MAY be omitted only if this information is encapsulated in the Key Block. Does not apply to Secret Data. If present, then Cryptographic Length below SHALL also be present.
Cryptographic Length, see 3.5Yes, MAY be omitted only if this information is encapsulated in the Key Block. Does not apply to Secret Data. If present, then Cryptographic Algorithm above SHALL also be present.
Certificate Length, see 3.9Yes. Only applies to Certificates.
Cryptographic Usage Mask, see 3.19Yes.
Digital Signature Algorithm, see 3.16Yes, MAY be omitted only if this information is encapsulated in the Certificate object. Only applies to Certificates.

Re-key

This request is used to generate a replacement key for an existing symmetric key. It is analogous to the Create operation, except that attributes of the replacement key are copied from the existing key, with the exception of the attributes listed in Random Number Generator 3.44.

As the replacement key takes over the name attribute of the existing key, Re-key SHOULD only be performed once on a given key.

The server SHALL copy the Unique Identifier of the replacement key returned by this operation into the ID Placeholder variable.

For the existing key, the server SHALL create a Link attribute of Link Type Replacement Object pointing to the replacement key. For the replacement key, the server SHALL create a Link attribute of Link Type Replaced Key pointing to the existing key.

An Offset MAY be used to indicate the difference between the Initialization Date and the Activation Date of the replacement key. If no Offset is specified, the Activation Date, Process Start Date, Protect Stop Date and Deactivation Date values are copied from the existing key. If Offset is set and dates exist for the existing key, then the dates of the replacement key SHALL be set based on the dates of the existing key as follows:

Table 172: Computing New Dates from Offset during Re-key
Attribute in Existing KeyAttribute in Replacement Key
Initial Date (IT1)Initial Date (IT2) > IT1
Activation Date (AT1)Activation Date (AT2) = IT2+ Offset
Process Start Date (CT1)Process Start Date = CT1+(AT2- AT1)
Protect Stop Date (TT1)Protect Stop Date = TT1+(AT2- AT1)
Deactivation Date (DT1)Deactivation Date = DT1+(AT2- AT1)

Attributes requiring special handling when creating the replacement key are:

Table 173: Re-key Attribute Requirements
AttributeAction
Initial Date, see 3.23Set to the current time
Destroy Date, see 3.28Not set
Compromise Occurrence Date, see 3.29Not set
Compromise Date, see 3.30Not set
Revocation Reason, see 3.31Not set
Unique Identifier, see 3.1New value generated
Usage Limits, see 3.21The Total value is copied from the existing key, and the Count value in the existing key is set to the Total value.
Name, see 3.2Set to the name(s) of the existing key; all name attributes are removed from the existing key.
State, see 3.22Set based on attributes values, such as dates, as shown in Table 172
Digest, see 3.16Recomputed from the replacement key value
Link, see 3.35Set to point to the existing key as the replaced key
Last Change Date, see 3.38Set to current time
<w:bookmarkStart w:id="2145" w:name="_Ref242080899"/><w:bookmarkStart w:id="2146" w:name="_Toc236497790"/><w:bookmarkStart w:id="2147" w:name="_Toc310932833"/>Random Number Generator, see 3.44Set to the random number generator used for creating the new managed object. Not copied from the original object.
Table 174: Re-key Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the existing Symmetric Key being re-keyed. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
OffsetNoAn Interval object indicating the difference between the Initialization Date and the Activation Date of the replacement key to be created.
Template-Attribute, see 2.1.8No

Specifies desired object attributes using templates and/or individual attributes.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Table 175: Re-key Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the newly-created replacement Symmetric Key.
Template-Attribute, see 2.1.8No

An OPTIONAL list of object attributes with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Re-key Key Pair

This request is used to generate a replacement key pair for an existing public/private key pair. It is analogous to the Create Key Pair operation, except that attributes of the replacement key pair are copied from the existing key pair, with the exception of the attributes listed in Random Number Generator 3.44

As the replacement of the key pair takes over the name attribute for the existing public/private key pair, Re-key Key Pair SHOULD only be performed once on a given key pair.

For both the existing public key and private key, the server SHALL create a Link attribute of Link Type Replacement Key pointing to the replacement public and private key, respectively. For both the replacement public and private key, the server SHALL create a Link attribute of Link Type Replaced Key pointing to the existing public and private key, respectively.

The server SHALL copy the Private Key Unique Identifier of the replacement private key returned by this operation into the ID Placeholder variable.

An Offset MAY be used to indicate the difference between the Initialization Date and the Activation Date of the replacement key pair. If no Offset is specified, the Activation Date and Deactivation Date values are copied from the existing key pair. If Offset is set and dates exist for the existing key pair, then the dates of the replacement key pair SHALL be set based on the dates of the existing key pair as follows

Table 176: Computing New Dates from Offset during Re-key Key Pair
Attribute in Existing Key PairAttribute in Replacement Key Pair
Initial Date (IT1)Initial Date (IT2) > IT1
Activation Date (AT1)Activation Date (AT2) = IT2+ Offset
Deactivation Date (DT1)Deactivation Date = DT1+(AT2- AT1)

Attributes for the replacement key pair that are not copied from the existing key pair and which are handled in a specific way are:

Table 177: Re-key Key Pair Attribute Requirements
AttributeAction
Private Key Unique Identifier, see 3.1New value generated
Public Key Unique Identifier, see 3.1New value generated
Name, see 3.2Set to the name(s) of the existing public/private keys; all name attributes of the existing public/private keys are removed.
Digest, see 3.17Recomputed for both replacement public and private keys from the new public and private key values
Usage Limits, see 3.21The Total Bytes/Total Objects value is copied from the existing key pair, while the Byte Count/Object Count values are set to the Total Bytes/Total Objects.
State, see 3.22Set based on attributes values, such as dates, as shown in Table 176.
Initial Date, see 3.23Set to the current time
Destroy Date, see 3.28Not set
Compromise Occurrence Date, see 3.29Not set
Compromise Date, see 3.30Not set
Revocation Reason, see 3.31Not set
Link, see 3.35Set to point to the existing public/private keys as the replaced public/private keys
Last Change Date, see 3.38Set to current time
<w:bookmarkStart w:id="2176" w:name="_Ref295838839"/><w:bookmarkStart w:id="2177" w:name="_Ref295838833"/><w:bookmarkStart w:id="2178" w:name="_Toc310932837"/>Random Number Generator, see 3.44Set to the random number generator used for creating the new managed object. Not copied from the original object.
Table 178: Re-key Key Pair Request Payload
Request Payload
ObjectREQUIREDDescription
Private Key Unique Identifier, see 3.1NoDetermines the existing Asymmetric key pair to be re-keyed. If omitted, then the ID Placeholder is substituted by the server.
OffsetNoAn Interval object indicating the difference between the Initialization date and the Activation Date of the replacement key pair to be created.
Common Template-Attribute, see 2.1.8No

Specifies desired attributes in templates and/or as individual attributes that apply to both the Private and Public Key Objects.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Private Key Template-Attribute, see 2.1.8No

Specifies templates and/or attributes that apply to the Private Key Object. Order of precedence applies.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Public Key Template-Attribute, see 2.1.8No

Specifies templates and/or attributes that apply to the Public Key Object. Order of precedence applies.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

For multi-instance attributes, the union of the values found in the templates and attributes of the Common, Private, and Public Key Template-Attribute is used. For single-instance attributes, the order of precedence is as follows:

  1. attributes specified explicitly in the Private and Public Key Template-Attribute, then

  2. attributes specified via templates in the Private and Public Key Template-Attribute, then

  3. attributes specified explicitly in the Common Template-Attribute, then

  4. attributes specified via templates in the Common Template-Attribute.

If there are multiple templates in the Common, Private, or Public Key Template-Attribute, then the subsequent value of the single-instance attribute takes precedence.

Table 179: Re-key Key Pair Response Payload
Response Payload
ObjectREQUIREDDescription
Private Key Unique Identifier, see 3.1YesThe Unique Identifier of the newly created replacement Private Key object.
Public Key Unique Identifier, see 3.1YesThe Unique Identifier of the newly created replacement Public Key object.
Private Key Template-Attribute, see 2.1.8No

An OPTIONAL list of attributes, for the Private Key Object, with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Public Key Template-Attribute, see 2.1.8No

An OPTIONAL list of attributes, for the Public Key Object, with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Derive Key

This request is used to derive a Symmetric Key or Secret Data object from keys or Secret Data objects that are already known to the key management system. The request SHALL only apply to Managed Cryptographic Objects that have the Derive Key bit set in the Cryptographic Usage Mask attribute of the specified Managed Object (i.e., are able to be used for key derivation). If the operation is issued for an object that does not have this bit set, then the server SHALL return an error. For all derivation methods, the client SHALL specify the desired length of the derived key or Secret Data object using the Cryptographic Length attribute. If a key is created, then the client SHALL specify both its Cryptographic Length and Cryptographic Algorithm. If the specified length exceeds the output of the derivation method, then the server SHALL return an error. Clients MAY derive multiple keys and IVs by requesting the creation of a Secret Data object and specifying a Cryptographic Length that is the total length of the derived object. If the specified length exceeds the output of the derivation method, then the server SHALL return an error.

The fields in the request specify the Unique Identifiers of the keys or Secret Data objects to be used for derivation (e.g., some derivation methods MAY use multiple keys or Secret Data objects to derive the result), the method to be used to perform the derivation, and any parameters needed by the specified method. The method is specified as an enumerated value. Currently defined derivation methods include:

The server SHALL perform the derivation function, and then register the derived object as a new Managed Object, returning the new Unique Identifier for the new object in the response. The server SHALL copy the Unique Identifier returned by this operation into the ID Placeholder variable.

For the keys or Secret Data objects from which the key or Secret Data object is derived, the server SHALL create a Link attribute of Link Type Derived Key pointing to the Symmetric Key or Secret Data object derived as a result of this operation. For the Symmetric Key or Secret Data object derived as a result of this operation, the server SHALL create a Link attribute of Link Type Derivation Base Object pointing to the keys or Secret Data objects from which the key or Secret Data object is derived.

Table 180: Derive Key Request Payload
Request Payload
ObjectREQUIREDDescription
Object Type, see 3.3YesDetermines the type of object to be created.
Unique Identifier, see 3.1Yes. MAY be repeatedDetermines the object or objects to be used to derive a new key. Note that the current value of the ID Placeholder SHALL NOT be used in place of a Unique Identifier in this operation.
Derivation Method, see 9.1.3.2.21YesAn Enumeration object specifying the method to be used to derive the new key.
Derivation Parameters, see belowYesA Structure object containing the parameters needed by the specified derivation method.
Template-Attribute, see 2.1.8Yes

Specifies desired attributes to be associated with the new object using templates and/or individual attributes; the length and algorithm SHALL always be specified for the creation of a symmetric key.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Table 181: Derive Key Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the newly derived key or Secret Data object.
Template-Attribute, see 2.1.8No

An OPTIONAL list of object attributes with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

The Derivation Parameters for all derivation methods consist of the following parameters, except PBKDF2, which takes two additional parameters.

Table 182: Derivation Parameters Structure (Except PBKDF2)
ObjectEncodingREQUIRED
Derivation ParametersStructureYes.
Cryptographic Parameters, see 3.6StructureYes, except for HMAC derivation keys.
Initialization VectorByte StringNo, depends on PRF and mode of operation: empty IV is assumed if not provided.
Derivation DataByte StringYes, unless the Unique Identifier of a Secret Data object is provided.

Cryptographic Parameters identify the Pseudorandom Function (PRF) or the mode of operation of the PRF (e.g., if a key is to be derived using the HASH derivation method, then clients are REQUIRED to indicate the hash algorithm inside Cryptographic Parameters; similarly, if a key is to be derived using AES in CBC mode, then clients are REQUIRED to indicate the Block Cipher Mode). The server SHALL verify that the specified mode matches one of the instances of Cryptographic Parameters set for the corresponding key. If Cryptographic Parameters are omitted, then the server SHALL select the Cryptographic Parameters with the lowest Attribute Index for the specified key. If the corresponding key does not have any Cryptographic Parameters attribute, or if no match is found, then an error is returned.

If a key is derived using HMAC, then the attributes of the derivation key provide enough information about the PRF, and the Cryptographic Parameters are ignored.

Derivation Data is either the data to be encrypted, hashed, or HMACed. For the NIST SP 800-108 methods [SP800-108], Derivation Data is Label||{0x00}||Context, where the all-zero byte is OPTIONAL.

Most derivation methods (e.g., Encrypt) REQUIRE a derivation key and the derivation data to be used. The HASH derivation method REQUIRES either a derivation key or derivation data. Derivation data MAY either be explicitly provided by the client with the Derivation Data field or implicitly provided by providing the Unique Identifier of a Secret Data object. If both are provided, then an error SHALL be returned.

The PBKDF2 derivation method takes two additional parameters:

Table 183: PBKDF2 Derivation Parameters Structure
ObjectEncodingREQUIRED
Derivation ParametersStructureYes.
Cryptographic Parameters, see 3.6StructureNo, depends on the PRF.
Initialization VectorByte StringNo, depends on the PRF (if different than those defined in [PKCS#5]) and mode of operation: an empty IV is assumed if not provided.
Derivation DataByte StringYes, unless the Unique Identifier of a Secret Data object is provided.
SaltByte StringYes.
Iteration CountIntegerYes.

Certify

This request is used to generate a Certificate object for a public key. This request supports the certification of a new public key, as well as the certification of a public key that has already been certified (i.e., certificate update). Only a single certificate SHALL be requested at a time. Server support for this operation is OPTIONAL. If the server does not support this operation, an error SHALL be returned.

The Certificate Request object MAY be omitted, in which case the public key for which a Certificate object is generated SHALL be specified by its Unique Identifier only. If the Certificate Request Type and the Certificate Request objects are omitted from the request, then the Certificate Type SHALL be specified using the Template-Attribute object.

The Certificate Request is passed as a Byte String, which allows multiple certificate request types for X.509 certificates (e.g., PKCS#10, PEM, etc.) to be submitted to the server.

The generated Certificate object whose Unique Identifier is returned MAY be obtained by the client via a Get operation in the same batch, using the ID Placeholder mechanism.

For the public key, the server SHALL create a Link attribute of Link Type Certificate pointing to the generated certificate. For the generated certificate, the server SHALL create a Link attribute of Link Type Public Key pointing to the Public Key.

The server SHALL copy the Unique Identifier of the generated certificate returned by this operation into the ID Placeholder variable.

If the information in the Certificate Request conflicts with the attributes specified in the Template-Attribute, then the information in the Certificate Request takes precedence.

Table 184: Certify Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the Public Key being certified. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Certificate Request Type, see 9.1.3.2.22NoAn Enumeration object specifying the type of certificate request. It is REQUIRED if the Certificate Request is present.
Certificate RequestNoA Byte String object with the certificate request.
Template-Attribute, see 2.1.8No

Specifies desired object attributes using templates and/or individual attributes.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Table 185: Certify Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the generated Certificate object.
Template-Attribute, see 2.1.8No

An OPTIONAL list of object attributes with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Re-certify

This request is used to renew an existing certificate for the same key pair. Only a single certificate SHALL be renewed at a time. Server support for this operation is OPTIONAL. If the server does not support this operation, an error SHALL be returned.

The Certificate Request object MAY be omitted, in which case the public key for which a Certificate object is generated SHALL be specified by its Unique Identifier only. If the Certificate Request Type and the Certificate Request objects are omitted and the Certificate Type is not specified using the Template-Attribute object in the request, then the Certificate Type of the new certificate SHALL be the same as that of the existing certificate.

The Certificate Request is passed as a Byte String, which allows multiple certificate request types for X.509 certificates (e.g., PKCS#10, PEM, etc.) to be submitted to the server.

The server SHALL copy the Unique Identifier of the new certificate returned by this operation into the ID Placeholder variable.

If the information in the Certificate Request field in the request conflicts with the attributes specified in the Template-Attribute, then the information in the Certificate Request takes precedence.

As the new certificate takes over the name attribute of the existing certificate, Re-certify SHOULD only be performed once on a given (existing) certificate.

For the existing certificate, the server SHALL create a Link attribute of Link Type Replacement pointing to the new certificate. For the new certificate, the server SHALL create a Link attribute of Link Type Replaced pointing to the existing certificate. For the public key, the server SHALL change the Link attribute of Link Type Certificate to point to the new certificate.

An Offset MAY be used to indicate the difference between the Initialization Date and the Activation Date of the new certificate. If no Offset is specified, the Activation Date and Deactivation Date values are copied from the existing certificate. If Offset is set and dates exist for the existing certificate, then the dates of the new certificate SHALL be set based on the dates of the existing certificate as follows:

Table 186: Computing New Dates from Offset during Re-certify
Attribute in Existing CertificateAttribute in New Certificate
Initial Date (IT1)Initial Date (IT2) > IT1
Activation Date (AT1)Activation Date (AT2) = IT2+ Offset
Deactivation Date (DT1)Deactivation Date = DT1+(AT2- AT1)

Attributes that are not copied from the existing certificate and that are handled in a specific way for the new certificate are:

Table 187: Re-certify Attribute Requirements
AttributeAction
Initial Date, see 3.23Set to current time.
Destroy Date, see 3.28Not set.
Revocation Reason, see 3.31Not set.
Unique Identifier, see 3.2New value generated.
Name, see 3.2Set to the name(s) of the existing certificate; all name attributes are removed from the existing certificate.
State, see 3.22Set based on attributes values, such as dates, as shown in Table 186.
Digest, see 3.16Recomputed from the new certificate value.
Link, see 3.35Set to point to the existing certificate as the replaced certificate.
Last Change Date, see 3.38Set to current time.
Table 188: Re-certify Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the Certificate being renewed. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Certificate Request Type, see 9.1.3.2.22NoAn Enumeration object specifying the type of certificate request. It is REQUIRED if the Certificate Request is present.
Certificate RequestNoA Byte String object with the certificate request.
OffsetNoAn Interval object indicating the difference between the Initial Date of the new certificate and the Activation Date of the new certificate.
Template-Attribute, see 2.1.8No

Specifies desired object attributes using templates and/or individual attributes.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Table 189: Re-certify Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the new certificate.
Template-Attribute, see 2.1.8No

An OPTIONAL list of object attributes with values that were not specified in the request, but have been implicitly set by the key management server.

The Template Managed Object is deprecated as of version 1.3 of this specification and MAY be removed from subsequent versions of the specification. Individual Attributes SHOULD be used in operations which currently support use of a Name within a Template-Attribute to reference a Template.

Locate

This operation requests that the server search for one or more Managed Objects, depending on the attributes specified in the request. All attributes are allowed to be used. However, Attribute Index values SHOULD NOT be specified in the request. Attribute Index values that are provided SHALL be ignored by the server. The request MAY contain a Maximum Items field, which specifies the maximum number of objects to be returned. If the Maximum Items field is omitted, then the server MAY return all objects matched, or MAY impose an internal maximum limit due to resource limitations.

The request MAY contain an Offset Items field, which specifies the number of objects to skip that satisfy the identification criteria specified in the request. An Offset Items field of 0 is the same as omitting the Offset Items field. If both Offset Items and Maximum Items are specified in the request, the server skips Offset Items objects and returns up to Maximum Items objects.

If more than one object satisfies the identification criteria specified in the request, then the response MAY contain Unique Identifiers for multiple Managed Objects. Returned objects SHALL match all of the attributes in the request. If no objects match, then an empty response payload is returned. If no attribute is specified in the request, any object SHALL be deemed to match the Locate request. The response MAY include Located Items which is the count of all objects that satisfy the identification criteria.

The server returns a list of Unique Identifiers of the found objects, which then MAY be retrieved using the Get operation. If the objects are archived, then the Recover and Get operations are REQUIRED to be used to obtain those objects. If a single Unique Identifier is returned to the client, then the server SHALL copy the Unique Identifier returned by this operation into the ID Placeholder variable. If the Locate operation matches more than one object, and the Maximum Items value is omitted in the request, or is set to a value larger than one, then the server SHALL empty the ID Placeholder, causing any subsequent operations that are batched with the Locate, and which do not specify a Unique Identifier explicitly, to fail. This ensures that these batched operations SHALL proceed only if a single object is returned by Locate.

Wild-cards or regular expressions (defined, e.g., in [ISO/IEC 9945-2]) MAY be supported by specific key management system implementations for matching attribute fields when the field type is a Text String or a Byte String.

The Date attributes in the Locate request (e.g., Initial Date, Activation Date, etc.) are used to specify a time or a time range for the search. If a single instance of a given Date attribute is used in the request (e.g., the Activation Date), then objects with the same Date attribute are considered to be matching candidate objects. If two instances of the same Date attribute are used (i.e., with two different values specifying a range), then objects for which the Date attribute is inside or at a limit of the range are considered to be matching candidate objects. If a Date attribute is set to its largest possible value, then it is equivalent to an undefined attribute. The KMIP Usage Guide [KMIP-UG] provides examples.

When the Cryptographic Usage Mask attribute is specified in the request, candidate objects are compared against this field via an operation that consists of a logical AND of the requested mask with the mask in the candidate object, and then a comparison of the resulting value with the requested mask. For example, if the request contains a mask value of 10001100010000, and a candidate object mask contains 10000100010000, then the logical AND of the two masks is 10000100010000, which is compared against the mask value in the request (10001100010000) and the match fails. This means that a matching candidate object has all of the bits set in its mask that are set in the requested mask, but MAY have additional bits set.

When the Usage Limits attribute is specified in the request, matching candidate objects SHALL have a Usage Limits Count and Usage Limits Total equal to or larger than the values specified in the request.

When an attribute that is defined as a structure is specified, all of the structure fields are not REQUIRED to be specified. For instance, for the Link attribute, if the Linked Object Identifier value is specified without the Link Type value, then matching candidate objects have the Linked Object Identifier as specified, irrespective of their Link Type.

When the Object Group attribute and the Object Group Member flag are specified in the request, and the value specified for Object Group Member is ‘Group Member Fresh’, matching candidate objects SHALL be fresh objects (see 3.34) from the object group. If there are no more fresh objects in the group, the server MAY choose to generate a new object on-the-fly, based on server policy. If the value specified for Object Group Member is ‘Group Member Default’, the server locates the default object as defined by server policy.

The Storage Status Mask field (see Section 9.1.3.3.2) is used to indicate whether only on-line objects, only archived objects, or both on-line and archived objects are to be searched. Note that the server MAY store attributes of archived objects in order to expedite Locate operations that search through archived objects.

Table 190: Locate Request Payload
Request Payload
ObjectREQUIREDDescription
Maximum ItemsNoAn Integer object that indicates the maximum number of object identifiers the server MAY return.
Offset ItemsNoAn Integer object that indicates the number of object identifiers to skip that satisfy the identification criteria specified in the request.
Storage Status Mask, see 9.1.3.3.2NoAn Integer object (used as a bit mask) that indicates whether only on-line objects, only archived objects, or both on-line and archived objects are to be searched. If omitted, then on-line only is assumed.
Object Group Member, see 9.1.3.2.33NoAn Enumeration object that indicates the object group member type.
Attribute, see 3No, MAY be repeatedSpecifies an attribute and its value(s) that are REQUIRED to match those in a candidate object (according to the matching rules defined above).
Table 191: Locate Response Payload
Response Payload
ObjectREQUIREDDescription
Located ItemsNo

An Integer object that indicates the number of object identifiers that satisfy the identification criteria specified in the request. A server MAY elect to omit this value from the Response if it is unable or unwilling to determine the total count of matched items.

A server MAY elect to return the Located Items value even if Offset Items is not present in the Request.

Unique Identifier, see 3.1No, MAY be repeatedThe Unique Identifier of the located objects.

Check

This operation requests that the server check for the use of a Managed Object according to values specified in the request. This operation SHOULD only be used when placed in a batched set of operations, usually following a Locate, Create, Create Pair, Derive Key, Certify, Re-Certify, Re-key or Re-key Key Pair operation, and followed by a Get operation.

If the server determines that the client is allowed to use the object according to the specified attributes, then the server returns the Unique Identifier of the object.

If the server determines that the client is not allowed to use the object according to the specified attributes, then the server empties the ID Placeholder and does not return the Unique Identifier, and the operation returns the set of attributes specified in the request that caused the server policy denial. The only attributes returned are those that resulted in the server determining that the client is not allowed to use the object, thus allowing the client to determine how to proceed.

In a batch containing a Check operation the Batch Order Option SHOULD be set to true. Only STOP or UNDO Batch Error Continuation Option values SHOULD be used by the client in such a batch. Additional attributes that MAY be specified in the request are limited to:

Note that these objects are not encoded in an Attribute structure as shown in Section 2.1.1

Table 192: Check Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object being checked. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Usage Limits Count, see 3.21NoSpecifies the number of Usage Limits Units to be protected to be checked against server policy.
Cryptographic Usage Mask, see 3.19NoSpecifies the Cryptographic Usage for which the client intends to use the object.
Lease Time, see 3.20NoSpecifies a Lease Time value that the Client is asking the server to validate against server policy.
Table 193: Check Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1Yes, unless a failure,The Unique Identifier of the object.
Usage Limits Count, see 3.21NoReturned by the Server if the Usage Limits value specified in the Request Payload is larger than the value that the server policy allows.
Cryptographic Usage Mask, see 3.19NoReturned by the Server if the Cryptographic Usage Mask specified in the Request Payload is rejected by the server for policy violation.
Lease Time, see 3.20NoReturned by the Server if the Lease Time value in the Request Payload is larger than a valid Lease Time that the server MAY grant.

Get

This operation requests that the server returns the Managed Object specified by its Unique Identifier.

Only a single object is returned. The response contains the Unique Identifier of the object, along with the object itself, which MAY be wrapped using a wrapping key as specified in the request.

The following key format capabilities SHALL be assumed by the client; restrictions apply when the client requests the server to return an object in a particular format:

If Key Format Type is specified to be PKCS#12 then the response payload SHALL be a PKCS#12 container as specified by [RFC7292]. The Unique Identifier SHALL be that of a private key to be included in the response. The container SHALL be protected using the Secret Data object specified via the private key’s Secret Data Link. The current certificate chain SHALL also be included as determined by using the private key’s Public Key link to get the corresponding public key, and then using that public key’s Certificate Link to get the base certificate, and then using each certificate’s Certificate Link to build the certificate chain. It is an error if there is more than one valid certificate chain.

Table 194: Get Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object being requested. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Key Format Type, see 9.1.3.2.3NoDetermines the key format type to be returned.
Key Wrap Type, see 9.1.3.2.3NoDetermines the Key Wrap Type of the returned key value.
Key Compression Type, see 9.1.3.2.2NoDetermines the compression method for elliptic curve public keys.
Key Wrapping Specification, see 2.1.6NoSpecifies keys and other information for wrapping the returned object. This field SHALL NOT be specified if the requested object is a Template.
Table 195: Get Response Payload
Response Payload
ObjectREQUIREDDescription
Object Type, see 3.3YesType of object.
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Certificate, Symmetric Key, PGP Key, Private Key, Public Key, Split Key, Template, Secret Data, or Opaque Object, see 2.1.22YesThe object being returned.

Get Attributes

This operation requests one or more attributes associated with a Managed Object. The object is specified by its Unique Identifier, and the attributes are specified by their name in the request. If a specified attribute has multiple instances, then all instances are returned. If a specified attribute does not exist (i.e., has no value), then it SHALL NOT be present in the returned response. If no requested attributes exist, then the response SHALL consist only of the Unique Identifier. If no attribute name is specified in the request, all attributes SHALL be deemed to match the Get Attributes request. The same attribute name SHALL NOT be present more than once in a request.

Table 196: Get Attributes Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object whose attributes are being requested. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Attribute Name, see 2.1.1No, MAY be repeatedSpecifies the name of an attribute associated with the object.
Table 197: Get Attributes Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Attribute, see 2.1.1No, MAY be repeatedThe requested attribute associated with the object.

Get Attribute List

This operation requests a list of the attribute names associated with a Managed Object. The object is specified by its Unique Identifier.

Table 198: Get Attribute List Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object whose attribute names are being requested. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Table 199: Get Attribute List Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Attribute Name, see 2.1.1Yes, MAY be repeatedThe names of the available attributes associated with the object.

Add Attribute

This operation requests the server to add a new attribute instance to be associated with a Managed Object and set its value. The request contains the Unique Identifier of the Managed Object to which the attribute pertains, along with the attribute name and value. For single-instance attributes, this is how the attribute value is created. For multi-instance attributes, this is how the first and subsequent values are created. Existing attribute values SHALL only be changed by the Modify Attribute operation. Read-Only attributes SHALL NOT be added using the Add Attribute operation. The Attribute Index SHALL NOT be specified in the request. The response returns a new Attribute Index and the Attribute Index MAY be omitted if the index of the added attribute instance is 0. Multiple Add Attribute requests MAY be included in a single batched request to add multiple attributes.

Table 200: Add Attribute Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the object. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Attribute, see 2.1.1YesSpecifies the attribute to be added as an attribute for the object.
Table 201: Add Attribute Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Attribute, see 2.1.1YesThe added attribute associated with the object.

Modify Attribute

This operation requests the server to modify the value of an existing attribute instance associated with a Managed Object. The request contains the Unique Identifier of the Managed Object whose attribute is to be modified, the attribute name, the OPTIONAL Attribute Index, and the new value. If no Attribute Index is specified in the request, then the Attribute Index SHALL be assumed to be 0. Only existing attributes MAY be changed via this operation. New attributes SHALL only be added by the Add Attribute operation. Only the specified instance of the attribute SHALL be modified. Specifying an Attribute Index for which there exists no Attribute object SHALL result in an error. The response returns the modified Attribute (new value) and the Attribute Index MAY be omitted if the index of the modified attribute instance is 0. Multiple Modify Attribute requests MAY be included in a single batched request to modify multiple attributes.

Table 202: Modify Attribute Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the object. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Attribute, see 2.1.1YesSpecifies the attribute associated with the object to be modified.
Table 203: Modify Attribute Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Attribute, see 2.1.1YesThe modified attribute associated with the object with the new value.

Delete Attribute

This operation requests the server to delete an attribute associated with a Managed Object. The request contains the Unique Identifier of the Managed Object whose attribute is to be deleted, the attribute name, and the OPTIONAL Attribute Index of the attribute. If no Attribute Index is specified in the request, then the Attribute Index SHALL be assumed to be 0. Attributes that are always REQUIRED to have a value SHALL never be deleted by this operation. Attempting to delete a non-existent attribute or specifying an Attribute Index for which there exists no Attribute Value SHALL result in an error. The response returns the deleted Attribute and the Attribute Index MAY be omitted if the index of the deleted attribute instance is 0. Multiple Delete Attribute requests MAY be included in a single batched request to delete multiple attributes.

Table 204: Delete Attribute Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object whose attributes are being deleted. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Attribute Name, see 2.1.1YesSpecifies the name of the attribute associated with the object to be deleted.
Attribute Index, see 2.1.1NoSpecifies the Index of the Attribute.
Table 205: Delete Attribute Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Attribute, see 2.1.1YesThe deleted attribute associated with the object.

Obtain Lease

This operation requests the server to obtain a new Lease Time for a specified Managed Object. The Lease Time is an interval value that determines when the client's internal cache of information about the object expires and needs to be renewed. If the returned value of the lease time is zero, then the server is indicating that no lease interval is effective, and the client MAY use the object without any lease time limit. If a client's lease expires, then the client SHALL NOT use the associated cryptographic object until a new lease is obtained. If the server determines that a new lease SHALL NOT be issued for the specified cryptographic object, then the server SHALL respond to the Obtain Lease request with an error.

The response payload for the operation contains the current value of the Last Change Date attribute for the object. This MAY be used by the client to determine if any of the attributes cached by the client need to be refreshed, by comparing this time to the time when the attributes were previously obtained.

Table 206: Obtain Lease Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object for which the lease is being obtained. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Table 207: Obtain Lease Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Lease Time, see 3.20YesAn interval (in seconds) that specifies the amount of time that the object MAY be used until a new lease needs to be obtained.
Last Change Date, see 3.38YesThe date and time indicating when the latest change was made to the contents or any attribute of the specified object.

Get Usage Allocation

This operation requests the server to obtain an allocation from the current Usage Limits value to allow the client to use the Managed Cryptographic Object for applying cryptographic protection. The allocation only applies to Managed Cryptographic Objects that are able to be used for applying protection (e.g., symmetric keys for encryption, private keys for signing, etc.) and is only valid if the Managed Cryptographic Object has a Usage Limits attribute. Usage for processing cryptographically protected information (e.g., decryption, verification, etc.) is not limited and is not able to be allocated. A Managed Cryptographic Object that has a Usage Limits attribute SHALL NOT be used by a client for applying cryptographic protection unless an allocation has been obtained using this operation. The operation SHALL only be requested during the time that protection is enabled for these objects (i.e., after the Activation Date and before the Protect Stop Date). If the operation is requested for an object that has no Usage Limits attribute, or is not an object that MAY be used for applying cryptographic protection, then the server SHALL return an error.

The field in the request specifies the number of units that the client needs to protect. If the requested amount is not available or if the Managed Object is not able to be used for applying cryptographic protection at this time, then the server SHALL return an error. The server SHALL assume that the entire allocated amount is going to be consumed. Once the entire allocated amount has been consumed, the client SHALL NOT continue to use the Managed Cryptographic Object for applying cryptographic protection until a new allocation is obtained.

Table 208: Get Usage Allocation Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object whose usage allocation is being requested. If omitted, then the ID Placeholder is substituted by the server.
Usage Limits Count, see Usage Limits Count field in 3.21YesThe number of Usage Limits Units to be protected.
Table 209: Get Usage Allocation Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.

Activate

This operation requests the server to activate a Managed Cryptographic Object. The request SHALL NOT specify a Template object. The operation SHALL only be performed on an object in the Pre-Active state and has the effect of changing its state to Active, and setting its Activation Date to the current date and time.

Table 210: Activate Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object being activated. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Table 211: Activate Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.

Revoke

This operation requests the server to revoke a Managed Cryptographic Object or an Opaque Object. The request SHALL NOT specify a Template object. The request contains a reason for the revocation (e.g., “key compromise”, “cessation of operation”, etc.). Special authentication and authorization SHOULD be enforced to perform this request (see [KMIP-UG]). Only the object owner or an authorized security officer SHOULD be allowed to issue this request. The operation has one of two effects. If the revocation reason is “key compromise” or “CA compromise”, then the object is placed into the “compromised” state; the Date is set to the current date and time; and the Compromise Occurrence Date is set to the value (if provided) in the Revoke request and if a value is not provided in the Revoke request then Compromise Occurrence Date SHOULD be set to the Initial Date for the object. If the revocation reason is neither “key compromise” nor “CA compromise”, the object is placed into the “deactivated” state, and the Deactivation Date is set to the current date and time.

Table 212: Revoke Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object being revoked. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Revocation Reason, see 3.31YesSpecifies the reason for revocation.
Compromise Occurrence Date, see 3.29NoSHOULD be specified if the Revocation Reason is 'key compromise' or ‘CA compromise’ and SHALL NOT be specified for other Revocation Reason enumerations.
Table 213: Revoke Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.

Destroy

This operation is used to indicate to the server that the key material for the specified Managed Object SHALL be destroyed. The meta-data for the key material MAY be retained by the server (e.g., used to ensure that an expired or revoked private signing key is no longer available). Special authentication and authorization SHOULD be enforced to perform this request (see [KMIP-UG]). Only the object owner or an authorized security officer SHOULD be allowed to issue this request. If the Unique Identifier specifies a Template object, then the object itself, including all meta-data, SHALL be destroyed. Cryptographic Objects MAY only be destroyed if they are in either Pre-Active or Deactivated state.

Table 214: Destroy Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object being destroyed. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Table 215: Destroy Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.

Archive

This operation is used to specify that a Managed Object MAY be archived. The actual time when the object is archived, the location of the archive, or level of archive hierarchy is determined by the policies within the key management system and is not specified by the client. The request contains the Unique Identifier of the Managed Object. Special authentication and authorization SHOULD be enforced to perform this request (see [KMIP-UG]). Only the object owner or an authorized security officer SHOULD be allowed to issue this request. This request is only an indication from a client that, from its point of view, the key management system MAY archive the object.

Table 216: Archive Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object being archived. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Table 217: Archive Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.

Recover

This operation is used to obtain access to a Managed Object that has been archived. This request MAY need asynchronous polling to obtain the response due to delays caused by retrieving the object from the archive. Once the response is received, the object is now on-line, and MAY be obtained (e.g., via a Get operation). Special authentication and authorization SHOULD be enforced to perform this request (see [KMIP-UG]).

Table 218: Recover Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object being recovered. If omitted, then the ID Placeholder value is used by the server as the Unique Identifier.
Table 219: Recover Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.

Validate

This operation requests the server to validate a certificate chain and return information on its validity. Only a single certificate chain SHALL be included in each request. Support for this operation at the server is OPTIONAL. If the server does not support this operation, an error SHALL be returned.

The request MAY contain a list of certificate objects, and/or a list of Unique Identifiers that identify Managed Certificate objects. Together, the two lists compose a certificate chain to be validated. The request MAY also contain a date for which all certificates in the certificate chain are REQUIRED to be valid.

The method or policy by which validation is conducted is a decision of the server and is outside of the scope of this protocol. Likewise, the order in which the supplied certificate chain is validated and the specification of trust anchors used to terminate validation are also controlled by the server.

Table 220: Validate Request Payload
Request Payload
ObjectREQUIREDDescription
Certificate, see 2.2.1No, MAY be repeatedOne or more Certificates.
Unique Identifier, see 3.1No, MAY be repeatedOne or more Unique Identifiers of Certificate Objects.
Validity DateNoA Date-Time object indicating when the certificate chain needs to be valid. If omitted, the current date and time SHALL be assumed.
Table 221: Validate Response Payload
Response Payload
ObjectREQUIREDDescription
Validity Indicator, see 9.1.3.2.23YesAn Enumeration object indicating whether the certificate chain is valid, invalid, or unknown.

Query

This operation is used by the client to interrogate the server to determine its capabilities and/or protocol mechanisms. The Query operation SHOULD be invocable by unauthenticated clients to interrogate server features and functions. The Query Function field in the request SHALL contain one or more of the following items:

The Operation fields in the response contain Operation enumerated values, which SHALL list all the operations that the server supports. If the request contains a Query Operations value in the Query Function field, then these fields SHALL be returned in the response.

The Object Type fields in the response contain Object Type enumerated values, which SHALL list all the object types that the server supports. If the request contains a Query Objects value in the Query Function field, then these fields SHALL be returned in the response.

The Server Information field in the response is a structure containing vendor-specific fields and/or substructures. If the request contains a Query Server Information value in the Query Function field, then this field SHALL be returned in the response.

The Application Namespace fields in the response contain the namespaces that the server SHALL generate values for if requested by the client (see Section 3.36). These fields SHALL only be returned in the response if the request contains a Query Application Namespaces value in the Query Function field.

The Extension Information fields in the response contain the descriptions of Objects with Item Tag values in the Extensions range that are supported by the server (see Section 2.1.9). If the request contains a Query Extension List and/or Query Extension Map value in the Query Function field, then the Extensions Information fields SHALL be returned in the response. If the Query Function field contains the Query Extension Map value, then the Extension Tag and Extension Type fields SHALL be specified in the Extension Information values. If both Query Extension List and Query Extension Map are specified in the request, then only the response to Query Extension Map SHALL be returned and the Query Extension List SHALL be ignored.

The Attestation Type fields in the response contain Attestation Type enumerated values, which SHALL list all the attestation types that the server supports. If the request contains a Query Attestation Types value in the Query Function field, then this field SHALL be returned in the response if the server supports any Attestation Types.

The RNG Parameters fields in the response SHALL list all the Random Number Generators that the server supports. If the request contains a Query RNGs value in the Query Function field, then this field SHALL be returned in the response. If the server is unable to specify details of the RNG then it SHALL return an RNG Parameters with the RNG Algorithm enumeration of Unspecified.

The Validation Information field in the response is a structure containing details of each formal validation which the server asserts. If the request contains a Query Validations value, then zero or more Validation Information fields SHALL be returned in the response. A server MAY elect to return no validation information in the response.

A Profile Information field in the response is a structure containing details of the profiles that a server supports including potentially how it supports that profile. If the request contains a Query Profiles value in the Query Function field, then this field SHALL be returned in the response if the server supports any Profiles.

The Capability Information fields in the response contain details of the capability of the server.

The Client Registration Method fields in the response contain Client Registration Method enumerated values, which SHALL list all the client registration methods that the server supports. If the request contains a Query Client Registration Methods value in the Query Function field, then this field SHALL be returned in the response if the server supports any Client Registration Methods.

Note that the response payload is empty if there are no values to return.

Table 222: Query Request Payload
Request Payload
ObjectREQUIREDDescription
Query Function, see 9.1.3.2.24Yes, MAY be RepeatedDetermines the information being queried.
Table 223: Query Response Payload
Response Payload
ObjectREQUIREDDescription
Operation, see 9.1.3.2.27No, MAY be repeatedSpecifies an Operation that is supported by the server.
Object Type, see 3.3No, MAY be repeatedSpecifies a Managed Object Type that is supported by the server.
Vendor IdentificationNoSHALL be returned if Query Server Information is requested. The Vendor Identification SHALL be a text string that uniquely identifies the vendor.
Server InformationNoContains vendor-specific information possibly be of interest to the client.
Application Namespace, see 3.36No, MAY be repeatedSpecifies an Application Namespace supported by the server.
Extension Information, see 2.1.9No, MAY be repeatedSHALL be returned if Query Extension List or Query Extension Map is requested and supported by the server.
Attestation Type, see 9.1.3.2.36No, MAY be repeatedSpecifies an Attestation Type that is supported by the server.
RNG Parameters, see 2.1.18No, MAY be repeatedSpecifies the RNG that is supported by the server.
Profile Information, see 2.1.19No, MAY be repeatedSpecifies the Profiles that are supported by the server.
Validation Information, see 2.1.20No, MAY be repeatedSpecifies the validations that are supported by the server.
<w:bookmarkStart w:id="2662" w:name="_toc7226"/><w:bookmarkStart w:id="2663" w:name="_Toc236497836"/><w:bookmarkStart w:id="2664" w:name="_Toc310932883"/><w:bookmarkEnd w:id="2662"/>Capability Information, see 2.1.21No, MAY be repeatedSpecifies the capabilities that are supported by the server.
Client Registration Method, see 9.1.3.2.47No, MAY be repeatedSpecifies a Client Registration Method that is supported by the server.

Discover Versions

This operation is used by the client to determine a list of protocol versions that is supported by the server. The request payload contains an OPTIONAL list of protocol versions that is supported by the client. The protocol versions SHALL be ranked in decreasing order of preference.

The response payload contains a list of protocol versions that are supported by the server. The protocol versions are ranked in decreasing order of preference. If the client provides the server with a list of supported protocol versions in the request payload, the server SHALL return only the protocol versions that are supported by both the client and server. The server SHOULD list all the protocol versions supported by both client and server. If the protocol version specified in the request header is not specified in the request payload and the server does not support any protocol version specified in the request payload, the server SHALL return an empty list in the response payload. If no protocol versions are specified in the request payload, the server SHOULD return all the protocol versions that are supported by the server.

Table 224: Discover Versions Request Payload
Request Payload
ObjectREQUIREDDescription
Protocol Version, see 6.1No, MAY be RepeatedThe list of protocol versions supported by the client ordered in decreasing order of preference.
Table 225: Discover Versions Response Payload
Response Payload
ObjectREQUIREDDescription
Protocol Version, see 6.1No, MAY be repeatedThe list of protocol versions supported by the server ordered in decreasing order of preference.

Cancel

This operation requests the server to cancel an outstanding asynchronous operation. The correlation value (see Section 6.8) of the original operation SHALL be specified in the request. The server SHALL respond with a Cancellation Result that contains one of the following values:

The response to this operation is not able to be asynchronous.

Table 226: Cancel Request Payload
Request Payload
ObjectREQUIREDDescription
Asynchronous Correlation Value, see 6.8YesSpecifies the request being canceled.
Table 227: Cancel Response Payload
Response Payload
ObjectREQUIREDDescription
Asynchronous Correlation Value, see 6.8YesSpecified in the request.
Cancellation Result, see 9.1.3.2.25YesEnumeration indicating the result of the cancellation.

Poll

This operation is used to poll the server in order to obtain the status of an outstanding asynchronous operation. The correlation value (see Section 6.8) of the original operation SHALL be specified in the request. The response to this operation SHALL NOT be asynchronous.

Table 228: Poll Request Payload
Request Payload
ObjectREQUIREDDescription
Asynchronous Correlation Value, see 6.8YesSpecifies the request being polled.

The server SHALL reply with one of two responses:

If the operation has not completed, the response SHALL contain no payload and a Result Status of Pending.

If the operation has completed, the response SHALL contain the appropriate payload for the operation. This response SHALL be identical to the response that would have been sent if the operation had completed synchronously.

Encrypt

This operation requests the server to perform an encryption operation on the provided data using a Managed Cryptographic Object as the key for the encryption operation.

The request contains information about the cryptographic parameters (mode and padding method), the data to be encrypted, and the IV/Counter/Nonce to use. The cryptographic parameters MAY be omitted from the request as they can be specified as associated attributes of the Managed Cryptographic Object. The IV/Counter/Nonce MAY also be omitted from the request if the cryptographic parameters indicate that the server shall generate a Random IV on behalf of the client or the encryption algorithm does not need an IV/Counter/Nonce. The server does not store or otherwise manage the IV/Counter/Nonce.

If the Managed Cryptographic Object referenced has a Usage Limits attribute then the server SHALL obtain an allocation from the current Usage Limits value prior to performing the encryption operation. If the allocation is unable to be obtained the operation SHALL return with a result status of Operation Failed and result reason of Permission Denied.

The response contains the Unique Identifier of the Managed Cryptographic Object used as the key and the result of the encryption operation.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

Table 229: Encrypt Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the Managed Cryptographic Object that is the key to use for the encryption operation. If omitted, then the ID Placeholder value SHALL be used by the server as the Unique Identifier.
Cryptographic Parameters, see 3.6No

The Cryptographic Parameters (Block Cipher Mode, Padding Method, RandomIV) corresponding to the particular encryption method requested. If omitted then the Cryptographic Parameters associated with the Managed Cryptographic Object with the lowest Attribute Index SHALL be used.

If there are no Cryptographic Parameters associated with the Managed Cryptographic Object and the algorithm requires parameters then the operation SHALL return with a Result Status of Operation Failed.

DataYes for single-part. No for multi-part.The data to be encrypted (as a Byte String).
IV/Counter/NonceNoThe initialization vector, counter or nonce to be used (where appropriate).
Correlation Value, see 2.1.15NoSpecifies the existing stream or by-parts cryptographic operation (as returned from a previous call to this operation).
Init Indicator, see 2.1.16NoInitial operation as Boolean
Final Indicator, see 2.1.17NoFinal operation as Boolean
Authenticated Encryption Additional Data, see 2.1.22NoAny additional data to be authenticated via the Authenticated Encryption Tag. If supplied in multi-part encryption, this data MUST be supplied on the initial Encrypt request
Table 230: Encrypt Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the Managed Cryptographic Object that was the key used for the encryption operation.
DataYes for single-part. No for multi-part.The encrypted data (as a Byte String).
IV/Counter/NonceNoThe value used if the Cryptographic Parameters specified Random IV and the IV/Counter/Nonce value was not provided in the request and the algorithm requires the provision of an IV/Counter/Nonce.
Correlation Value, see 2.1.15NoSpecifies the stream or by-parts value to be provided in subsequent calls to this operation for performing cryptographic operations.
Authenticated Encryption Tag, see 2.1.23NoSpecifies the tag that will be needed to authenticate the decrypted data. Only returned on completion of the encryption of the last of the plaintext by an authenticated encryption cipher.

Decrypt

This operation requests the server to perform a decryption operation on the provided data using a Managed Cryptographic Object as the key for the decryption operation.

The request contains information about the cryptographic parameters (mode and padding method), the data to be decrypted, and the IV/Counter/Nonce to use. The cryptographic parameters MAY be omitted from the request as they can be specified as associated attributes of the Managed Cryptographic Object. The initialization vector/counter/nonce MAY also be omitted from the request if the algorithm does not use an IV/Counter/Nonce.

The response contains the Unique Identifier of the Managed Cryptographic Object used as the key and the result of the decryption operation.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

Table 231: Decrypt Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the Managed Cryptographic Object that is the key to use for the decryption operation. If omitted, then the ID Placeholder value SHALL be used by the server as the Unique Identifier.
Cryptographic Parameters, see 3.6No

The Cryptographic Parameters (Block Cipher Mode, Padding Method) corresponding to the particular decryption method requested. If omitted then the Cryptographic Parameters associated with the Managed Cryptographic Object with the lowest Attribute Index SHALL be used.

If there are no Cryptographic Parameters associated with the Managed Cryptographic Object and the algorithm requires parameters then the operation SHALL return with a Result Status of Operation Failed.

DataYes for single-part. No for multi-part.The data to be decrypted (as a Byte String).
IV/Counter/NonceNoThe initialization vector, counter or nonce to be used (where appropriate).
Correlation Value, see 2.1.15NoSpecifies the existing stream or by-parts cryptographic operation (as returned from a previous call to this operation).
Init Indicator, see 2.1.16NoInitial operation as Boolean
Final Indicator, see 2.1.17NoFinal operation as Boolean
Authenticated Encryption Additional Data, see 2.1.22NoAdditional data to be authenticated via the Authenticated Encryption Tag. If supplied in multi-part decryption, this data MUST be supplied on the initial Decrypt request
Authenticated Encryption Tag, see 2.1.23NoSpecifies the tag that will be needed to authenticate the decrypted data. If supplied in multi-part decryption, this data MUST be supplied on the initial Decrypt request
Table 232: Decrypt Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the Managed Cryptographic Object that is the key used for the decryption operation.
DataYes for single-part. No for multi-part.The decrypted data (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the stream or by-parts value to be provided in subsequent calls to this operation for performing cryptographic operations.

Sign

This operation requests the server to perform a signature operation on the provided data using a Managed Cryptographic Object as the key for the signature operation.

The request contains information about the cryptographic parameters (digital signature algorithm or cryptographic algorithm and hash algorithm) and the data to be signed. The cryptographic parameters MAY be omitted from the request as they can be specified as associated attributes of the Managed Cryptographic Object.

If the Managed Cryptographic Object referenced has a Usage Limits attribute then the server SHALL obtain an allocation from the current Usage Limits value prior to performing the signing operation. If the allocation is unable to be obtained the operation SHALL return with a result status of Operation Failed and result reason of Permission Denied.

The response contains the Unique Identifier of the Managed Cryptographic Object used as the key and the result of the signature operation.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

Table 233: Sign Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the Managed Cryptographic Object that is the key to use for the signature operation. If omitted, then the ID Placeholder value SHALL be used by the server as the Unique Identifier.
Cryptographic Parameters, see 3.6No

The Cryptographic Parameters (Digital Signature Algorithm or Cryptographic Algorithm and Hashing Algorithm) corresponding to the particular signature generation method requested. If omitted then the Cryptographic Parameters associated with the Managed Cryptographic Object with the lowest Attribute Index SHALL be used.

If there are no Cryptographic Parameters associated with the Managed Cryptographic Object and the algorithm requires parameters then the operation SHALL return with a Result Status of Operation Failed.

DataYes for single-part, unless Digested Data is supplied.. No for multi-part.The data to be signed (as a Byte String).
Digested DataNoThe digested data to be signed (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the existing stream or by-parts cryptographic operation (as returned from a previous call to this operation).
Init Indicator, see 2.1.16NoInitial operation as Boolean
Final Indicator, see 2.1.17NoFinal operation as Boolean
Table 234: Sign Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the Managed Cryptographic Object that is the key used for the signature operation.
Signature DataYes for single-part. No for multi-part.The signed data (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the stream or by-parts value to be provided in subsequent calls to this operation for performing cryptographic operations.

Signature Verify

This operation requests the server to perform a signature verify operation on the provided data using a Managed Cryptographic Object as the key for the signature verification operation.

The request contains information about the cryptographic parameters (digital signature algorithm or cryptographic algorithm and hash algorithm) and the signature to be verified and MAY contain the data that was passed to the signing operation (for those algorithms which need the original data to verify a signature).

The cryptographic parameters MAY be omitted from the request as they can be specified as associated attributes of the Managed Cryptographic Object.

The response contains the Unique Identifier of the Managed Cryptographic Object used as the key and the OPTIONAL data recovered from the signature (for those signature algorithms where data recovery from the signature is supported). The validity of the signature is indicated by the Validity Indicator field.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

Table 235: Signature Verify Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the Managed Cryptographic Object that is the key to use for the signature verify operation. If omitted, then the ID Placeholder value SHALL be used by the server as the Unique Identifier.
Cryptographic Parameters, see 3.6No

The Cryptographic Parameters (Digital Signature Algorithm or Cryptographic Algorithm and Hashing Algorithm) corresponding to the particular signature verification method requested. If omitted then the Cryptographic Parameters associated with the Managed Cryptographic Object with the lowest Attribute Index SHALL be used.

If there are no Cryptographic Parameters associated with the Managed Cryptographic Object and the algorithm requires parameters then the operation SHALL return with a Result Status of Operation Failed.

DataNoThe data that was signed (as a Byte String).
Digested DataNoThe digested data to be verified (as a Byte String)
Signature DataYes for single-part. No for multi-part.The signature to be verified (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the existing stream or by-parts cryptographic operation (as returned from a previous call to this operation).
Init Indicator, see 2.1.16NoInitial operation as Boolean
Final Indicator, see 2.1.17NoFinal operation as Boolean
Table 236: Signature Verify Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the Managed Cryptographic Object that is the key used for the verification operation.
Validity Indicator, see 9.1.3.2.23YesAn Enumeration object indicating whether the signature is valid, invalid, or unknown.
DataNoThe OPTIONAL recovered data (as a Byte String) for those signature algorithms where data recovery from the signature is supported.
Correlation Value, see 2.1.15NoSpecifies the stream or by-parts value to be provided in subsequent calls to this operation for performing cryptographic operations.

MAC

This operation requests the server to perform message authentication code (MAC) operation on the provided data using a Managed Cryptographic Object as the key for the MAC operation.

The request contains information about the cryptographic parameters (cryptographic algorithm) and the data to be MACed. The cryptographic parameters MAY be omitted from the request as they can be specified as associated attributes of the Managed Cryptographic Object.

The response contains the Unique Identifier of the Managed Cryptographic Object used as the key and the result of the MAC operation.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

Table 237: MAC Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the Managed Cryptographic Object that is the key to use for the MAC operation. If omitted, then the ID Placeholder value SHALL be used by the server as the Unique Identifier.
Cryptographic Parameters, see 3.6No

The Cryptographic Parameters (Cryptographic Algorithm) corresponding to the particular MAC method requested. If omitted then the Cryptographic Parameters associated with the Managed Cryptographic Object with the lowest Attribute Index SHALL be used.

If there are no Cryptographic Parameters associated with the Managed Cryptographic Object and the algorithm requires parameters then the operation SHALL return with a Result Status of Operation Failed.

DataYes for single-part. No for multi-part.The data to be MACed (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the existing stream or by-parts cryptographic operation (as returned from a previous call to this operation).
Init Indicator, see 2.1.16NoInitial operation as Boolean
Final Indicator, see 2.1.17NoFinal operation as Boolean
Table 238: MAC Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the Managed Cryptographic Object that is the key used for the MAC operation.
MAC DataYes for single-part. No for multi-part.The data MACed (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the stream or by-parts value to be provided in subsequent calls to this operation for performing cryptographic operations.

MAC Verify

This operation requests the server to perform message authentication code (MAC) verify operation on the provided data using a Managed Cryptographic Object as the key for the MAC verify operation.

The request contains information about the cryptographic parameters (cryptographic algorithm) and the data to be MAC verified and MAY contain the data that was passed to the MAC operation (for those algorithms which need the original data to verify a MAC). The cryptographic parameters MAY be omitted from the request as they can be specified as associated attributes of the Managed Cryptographic Object.

The response contains the Unique Identifier of the Managed Cryptographic Object used as the key and the result of the MAC verify operation. The validity of the MAC is indicated by the Validity Indicator field.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

Table 239: MAC Verify Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoThe Unique Identifier of the Managed Cryptographic Object that is the key to use for the MAC verify operation. If omitted, then the ID Placeholder value SHALL be used by the server as the Unique Identifier.
Cryptographic Parameters, see 3.6No

The Cryptographic Parameters (Cryptographic Algorithm) corresponding to the particular MAC method requested. If omitted then the Cryptographic Parameters associated with the Managed Cryptographic Object with the lowest Attribute Index SHALL be used.

If there are no Cryptographic Parameters associated with the Managed Cryptographic Object and the algorithm requires parameters then the operation SHALL return with a Result Status of Operation Failed.

DataNoThe data that was MACed (as a Byte String).
MAC DataYes for single-part. No for multi-part.The data to be MAC verified (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the existing stream or by-parts cryptographic operation (as returned from a previous call to this operation).
Init Indicator, see 2.1.16NoInitial operation as Boolean
Final Indicator, see 2.1.17NoFinal operation as Boolean
Table 240: MAC Verify Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the Managed Cryptographic Object that is the key used for the verification operation.
Validity Indicator, see 9.1.3.2.23YesAn Enumeration object indicating whether the MAC is valid, invalid, or unknown.
Correlation Value, see 2.1.15NoSpecifies the stream or by-parts value to be provided in subsequent calls to this operation for performing cryptographic operations.

RNG Retrieve

This operation requests the server to return output from a Random Number Generator (RNG).

The request contains the quantity of output requested.

The response contains the RNG output.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

Table 241: RNG Retrieve Request Payload
Request Payload
ObjectREQUIREDDescription
Data LengthYesThe amount of random number generator output to be returned (in bytes).
Table 242: RNG Retrieve Response Payload
Response Payload
ObjectREQUIREDDescription
DataYesThe random number generator output.

RNG Seed

This operation requests the server to seed a Random Number Generator.

The request contains the seeding material.

The response contains the amount of seed data used.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

The server MAY elect to ignore the information provided by the client (i.e. not accept the seeding material) and MAY indicate this to the client by returning zero as the value in the Data Length response. A client SHALL NOT consider a response from a server which does not use the provided data as an error.

Table 243: RNG Seed Request Payload
Request Payload
ObjectREQUIREDDescription
DataYesThe data to be provided as a seed to the random number generator.
Table 244: RNG Seed Response Payload
Response Payload
ObjectREQUIREDDescription
Data LengthYesThe amount of seed data used (in bytes).

Hash

This operation requests the server to perform a hash operation on the data provided.

The request contains information about the cryptographic parameters (hash algorithm) and the data to be hashed.

The response contains the result of the hash operation.

The success or failure of the operation is indicated by the Result Status (and if failure the Result Reason) in the response header.

Table 245: Hash Request Payload
Request Payload
ObjectREQUIREDDescription
Cryptographic Parameters, see 3.6YesThe Cryptographic Parameters (Hashing Algorithm) corresponding to the particular hash method requested.
DataYes for single-part. No for multi-part.The data to be hashed (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the existing stream or by-parts cryptographic operation (as returned from a previous call to this operation).
Init Indicator, see 2.1.16NoInitial operation as Boolean
Final Indicator, see 2.1.17NoFinal operation as Boolean
Table 246: Hash Response Payload
Response Payload
ObjectREQUIREDDescription
DataYes for single-part. No for multi-part.The hashed data (as a Byte String).
Correlation Value, see 2.1.15NoSpecifies the stream or by-parts value to be provided in subsequent calls to this operation for performing cryptographic operations.

Create Split Key

This operation requests the server to generate a new split key and register all the splits as individual new Managed Cryptographic Objects.

The request contains attributes to be assigned to the objects (e.g., Split Key Parts, Split Key Threshold, Split Key Method, Cryptographic Algorithm, Cryptographic Length, etc.). The request MAY contain the Unique Identifier of an existing cryptographic object that the client requests be split by the server. If the attributes supplied in the request do not match those of the key supplied, the attributes of the key take precedence.

The response contains the Unique Identifiers of all created objects. The ID Placeholder value SHALL be set to the Unique Identifier of the split whose Key Part Identifier is 1.

Table 247: Create Split Key Request Payload
Request Payload
ObjectREQUIREDDescription
Object Type, see 3.3YesDetermines the type of object to be created.
Unique Identifier, see 3.1NoThe Unique Identifier of the key to be split (if applicable).
Split Key PartsYesThe total number of parts.
Split Key ThresholdYesThe minimum number of parts needed to reconstruct the entire key.
Split Key MethodYes
Prime Field SizeNo
Template-Attribute, see 2.1.8YesSpecifies desired object attributes using templates and/or individual attributes.
Table 248: Create Split Key Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1Yes, MAY be repeatedThe list of Unique Identifiers of the newly created objects.
Template-Attribute, see 2.1.8NoAn OPTIONAL list of object attributes with values that were not specified in the request, but have been implicitly set by the key management system.

Join Split Key

This operation requests the server to combine a list of Split Keys into a single Managed Cryptographic Object. The number of Unique Identifiers in the request SHALL be at least the value of the Split Key Threshold defined in the Split Keys.

The request contains the Object Type of the Managed Cryptographic Object that the client requests the Split Key Objects be combined to form. If the Object Type formed is Secret Data, the client MAY include the Secret Data Type in the request.

The response contains the Unique Identifier of the object obtained by combining the Split Keys. The server SHALL copy the Unique Identifier returned by this operation into the ID Placeholder variable.

Table 249: Join Split Key Request Payload
Request Payload
ObjectREQUIREDDescription
Object Type, see 3.3YesDetermines the type of object to be created.
Unique Identifier, see 3.1Yes, MAY be repeatedDetermines the Split Keys to be combined to form the object returned by the server. The minimum number of identifiers is specified by the Split Key Threshold field in each of the Split Keys.
Secret Data TypeNoDetermines which Secret Data type the Split Keys form.
Template-Attribute, see 2.1.8NoSpecifies desired object attributes using templates and/or individual attributes.
Table 250: Join Split Key Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object obtained by combining the Split Keys.
Template-Attribute, see 2.1.8NoAn OPTIONAL list of object attributes with values that were not specified in the request, but have been implicitly set by the key management system.

Export

This operation requests that the server returns a Managed Object specified by its Unique Identifier, together with its attributes.

The Key Format Type, Key Wrap Type, Key Compression Type and Key Wrapping Specification SHALL have the same semantics as for the Get operation. If the Managed Object has been Destroyed then the key material for the specified managed object SHALL not be returned in the response.

The server SHALL copy the Unique Identifier returned by this operations into the ID Placeholder variable. Special authentication and authorization SHOULD be enforced to perform this request (see [KMIP-UG]).

Only the object owner or an authorized security officer SHOULD be allowed to issue this request.

Table 251: Export Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1NoDetermines the object being requested. If omitted, then the IDPlaceholder value is used by the server as the Unique Identifier.
Key Format Type, see 9.1.3.2.3NoDetermines the key format type to be returned.
Key Wrap Type, see 9.1.3.2.3NoDetermines the Key Wrap Type of the returned key value.
Key Compression Type, see 9.1.3.2.2NoDetermines the compression method for elliptic curve public keys.
Key Wrapping Specification, see 2.1.6NoSpecifies keys and other information for wrapping the returned object..
Table 252: Export Response Payload
Response Payload
ObjectREQUIREDDescription
Object Type, see 3.3YesType of object
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Attribute, see 2.1.1Yes, is repeatedAll of the object’s Attributes.
Certificate, Symmetric Key, PGP Key, Private Key, Public Key, Split Key, Template, Secret Data, or Opaque Object, see 2.1.22YesThe object value being returned, in the same manner as the Get operation.

Import

This operation requests the server to Import a Managed Object specified by its Unique Identifier. The request specifies the object being imported and all the attributes to be assigned to the object. The attribute rules for each attribute for “Initially set by” and “When implicitly set” SHALL NOT be enforced as all attributes MUST be set to the supplied values rather than any server generated values.

Special authentication and authorization SHOULD be enforced to perform this request (see [KMIP-UG]). Only the object owner or an authorized security officer SHOULD be allowed to issue this request.

The response contains the Unique Identifier provided in the request or assigned by the server. The server SHALL copy the Unique Identifier returned by this operations into the ID Placeholder variable.

Table 253: Export Request Payload
Request Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object to be imported
Replace ExistingNoA Boolean. If specified and true then any existing object with the same Unique Identifier SHALL be replaced by this operation. If absent or false then the operation SHALL fail if there is an existing object with the same Unique Identifier.
Key Wrap Type, see 9.1.3.2.48NoIf Not Wrapped then the server SHALL unwrap the object before storing it, and return an error if the wrapping key is not available. Otherwise the server SHALL store the object as provided.
Attribute, see 2.1.1Yes, is repeatedAll of the object’s Attributes.
Certificate, Symmetric Key, PGP Key, Private Key, Public Key, Split Key, Template, Secret Data, or Opaque Object, see 2.1.22YesThe object value being imported, in the same manner as the Register operation.
Table 254: Export Response Payload
Response Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.

Server-to-Client Operations

Server-to-client operations are used by servers to send information or Managed Cryptographic Objects to clients via means outside of the normal client-server request-response mechanism. These operations are used to send Managed Cryptographic Objects directly to clients without a specific request from the client.

Notify

This operation is used to notify a client of events that resulted in changes to attributes of an object. This operation is only ever sent by a server to a client via means outside of the normal client request/response protocol, using information known to the server via unspecified configuration or administrative mechanisms. It contains the Unique Identifier of the object to which the notification applies, and a list of the attributes whose changed values have triggered the notification. The message uses the same format as a Request message (see 7.1, Table 280), except that the Maximum Response Size, Asynchronous Indicator, Batch Error Continuation Option, and Batch Order Option fields are not allowed. The client SHALL send a response in the form of a Response Message (see 7.1, Table 281) containing no payload, unless both the client and server have prior knowledge (obtained via out-of-band mechanisms) that the client is not able to respond.

Table 255: Notify Message Payload
Message Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Attribute, see 3Yes, MAY be repeatedThe attributes that have changed. This includes at least the Last Change Date attribute. In case an attribute was deleted, the Attribute structure (see 2.1.1) in question SHALL NOT contain the Attribute Value field.

Put

This operation is used to “push” Managed Cryptographic Objects to clients. This operation is only ever sent by a server to a client via means outside of the normal client request/response protocol, using information known to the server via unspecified configuration or administrative mechanisms. It contains the Unique Identifier of the object that is being sent, and the object itself. The message uses the same format as a Request message (see 7.1, Table 280), except that the Maximum Response Size, Asynchronous Indicator, Batch Error Continuation Option, and Batch Order Option fields are not allowed. The client SHALL send a response in the form of a Response Message (see 7.1, Table 281) containing no payload, unless both the client and server have prior knowledge (obtained via out-of-band mechanisms) that the client is not able to respond.

The Put Function field indicates whether the object being “pushed” is a new object, or is a replacement for an object already known to the client (e.g., when pushing a certificate to replace one that is about to expire, the Put Functionfield would be set to indicate replacement, and the Unique Identifier of the expiring certificate would be placed in the Replaced Unique Identifier field). The Put Function SHALL contain one of the following values:

The Attribute field contains one or more attributes that the server is sending along with the object. The server MAY include attributes with the object to specify how the object is to be used by the client. The server MAY include a Lease Time attribute that grants a lease to the client.

If the Managed Object is a wrapped key, then the key wrapping specification SHALL be exchanged prior to the transfer via out-of-band mechanisms.

Table 256: Put Message Payload
Message Payload
ObjectREQUIREDDescription
Unique Identifier, see 3.1YesThe Unique Identifier of the object.
Put Function, see 9.1.3.2.26YesIndicates function for Put message.
Replaced Unique Identifier, see 3.1NoUnique Identifier of the replaced object. SHALL be present if the Put Function is Replace.
Certificate, Symmetric Key, Private Key, Public Key, Split Key, Template, Secret Data, or Opaque Object, see 2.1.22YesThe object being sent to the client.
Attribute, see 3No, MAY be repeatedThe additional attributes that the server wishes to send with the object.

Query

This operation is used by the server to interrogate the client to determine its capabilities and/or protocol mechanisms. The Query operation SHOULD be invocable by unauthenticated servers to interrogate client features and functions. The Query Function field in the request SHALL contain one or more of the following items:

The Operation fields in the response contain Operation enumerated values, which SHALL list all the operations that the client supports. If the request contains a Query Operations value in the Query Function field, then these fields SHALL be returned in the response.

The Object Type fields in the response contain Object Type enumerated values, which SHALL list all the object types that the client supports. If the request contains a Query Objects value in the Query Function field, then these fields SHALL be returned in the response.

The Server Information field in the response is a structure containing vendor-specific fields and/or substructures. If the request contains a Query Server Information value in the Query Function field, then this field SHALL be returned in the response.

The Extension Information fields in the response contain the descriptions of Objects with Item Tag values in the Extensions range that are supported by the server (see Section 2.1.9). If the request contains a Query Extension List and/or Query Extension Map value in the Query Function field, then the Extensions Information fields SHALL be returned in the response. If the Query Function field contains the Query Extension Map value, then the Extension Tag and Extension Type fields SHALL be specified in the Extension Information values. If both Query Extension List and Query Extension Map are specified in the request, then only the response to Query Extension Map SHALL be returned and the Query Extension List SHALL be ignored.

The Attestation Type fields in the response contain Attestation Type enumerated values, which SHALL list all the attestation types that the client supports. If the request contains a Query Attestation Types value in the Query Function field, then this field SHALL be returned in the response if the server supports any Attestation Types.

The RNG Parameters fields in the response SHALL list all the Random Number Generators that the client supports. If the request contains a Query RNGs value in the Query Function field, then this field SHALL be returned in the response. If the server is unable to specify details of the RNG then it SHALL return an RNG Parameters with the RNG Algorithm enumeration of Unspecified.

The Validation Information field in the response is a structure containing details of each formal validation which the client asserts. If the request contains a Query Validations value, then zero or more Validation Information fields SHALL be returned in the response. A client MAY elect to return no validation information in the response.

A Profile Information field in the response is a structure containing details of the profiles that a client supports including potentially how it supports that profile. If the request contains a Query Profiles value in the Query Function field, then this field SHALL be returned in the response if the client supports any Profiles.

The Capability Information fields in the response contain details of the capability of the client.

The Client Registration Method fields in the response contain Client Registration Method enumerated values, which SHALL list all the client registration methods that the client supports. If the request contains a Query Client Registration Methods value in the Query Function field, then this field SHALL be returned in the response if the server supports any Client Registration Methods.

Note that the response payload is empty if there are no values to return.

Table 257: Query Request Payload
Request Payload
ObjectREQUIREDDescription
Query Function, see 9.1.3.2.24Yes, MAY be RepeatedDetermines the information being queried.
Table 258: Query Response Payload
Response Payload
ObjectREQUIREDDescription
Operation, see 9.1.3.2.27No, MAY be repeatedSpecifies an Operation that is supported by the client.
Object Type, see 3.3No, MAY be repeatedSpecifies a Managed Object Type that is supported by the client.
Vendor IdentificationNoSHALL be returned if Query Server Information is requested. The Vendor Identification SHALL be a text string that uniquely identifies the vendor.
Server InformationNoContains vendor-specific information in response to the Query.
Extension Information, see 2.1.9No, MAY be repeatedSHALL be returned if Query Extension List or Query Extension Map is requested and supported by the client.
Attestation Type, see 9.1.3.2.36No, MAY be repeatedSpecifies an Attestation Type that is supported by the client.
RNG Parameters, see 2.1.18No, MAY be repeatedSpecifies the RNG that is supported by the client.
Profile Information, see 2.1.19No, MAY be repeatedSpecifies the Profiles that are supported by the client.
Validation Information, see 2.1.20No, MAY be repeatedSpecifies the validations that are supported by the client.
Capability Information, see 2.1.21No, MAY be repeatedSpecifies the capabilities that are supported by the client.
Client Registration Method, see 9.1.3.2.47No, MAY be repeatedSpecifies a Client Registration Method that is supported by the client.

5.4 Discover Versions

This operation is used by the server to determine a list of protocol versions that is supported by the client. The request payload contains an OPTIONAL list of protocol versions that is supported by the server. The protocol versions SHALL be ranked in decreasing order of preference.

The response payload contains a list of protocol versions that are supported by the client. The protocol versions are ranked in decreasing order of preference. If the server provides the client with a list of supported protocol versions in the request payload, the client SHALL return only the protocol versions that are supported by both the client and server. The client SHOULD list all the protocol versions supported by both client and server. If the protocol version specified in the request header is not specified in the request payload and the client does not support any protocol version specified in the request payload, the client SHALL return an empty list in the response payload. If no protocol versions are specified in the request payload, the client SHOULD return all the protocol versions that are supported by the client.

Table 259: Discover Versions Request Payload
Request Payload
ObjectREQUIREDDescription
Protocol Version, see 6.1No, MAY be RepeatedThe list of protocol versions supported by the server ordered in decreasing order of preference.
Table 260: Discover Versions Response Payload
Response Payload
ObjectREQUIREDDescription
Protocol Version, see 6.1No, MAY be repeatedThe list of protocol versions supported by the client ordered in decreasing order of preference.

Message Contents

The messages in the protocol consist of a message header, one or more batch items (which contain OPTIONAL message payloads), and OPTIONAL message extensions. The message headers contain fields whose presence is determined by the protocol features used (e.g., asynchronous responses). The field contents are also determined by whether the message is a request or a response. The message payload is determined by the specific operation being requested or to which is being replied.

The message headers are structures that contain some of the following objects.

Protocol Version

This field contains the version number of the protocol, ensuring that the protocol is fully understood by both communicating parties. The version number SHALL be specified in two parts, major and minor. Servers and clients SHALL support backward compatibility with versions of the protocol with the same major version. Support for backward compatibility with different major versions is OPTIONAL.

Table 261: Protocol Version Structure in Message Header
ObjectEncoding
Protocol VersionStructure
Protocol Version MajorInteger
Protocol Version MinorInteger

Operation

This field indicates the operation being requested or the operation for which the response is being returned. The operations are defined in Sections 4 and 5.

Table 262: Operation in Batch Item
ObjectEncoding
OperationEnumeration, see 9.1.3.2.27

Maximum Response Size

This is an OPTIONAL field contained in a request message, and is used to indicate the maximum size of a response, in bytes, that the requester SHALL be able to handle. It SHOULD only be sent in requests that possibly return large replies.

Table 263: Maximum Response Size in Message Request Header
ObjectEncoding
Maximum Response SizeInteger

Unique Batch Item ID

This is an OPTIONAL field contained in a request, and is used for correlation between requests and responses. If a request has a Unique Batch Item ID, then responses to that request SHALL have the same Unique Batch Item ID.

Table 264: Unique Batch Item ID in Batch Item
ObjectEncoding
Unique Batch Item IDByte String

Time Stamp

This is an OPTIONAL field contained in a client request. It is REQUIRED in a server request and response. It is used for time stamping, and MAY be used to enforce reasonable time usage at a client (e.g., a server MAY choose to reject a request if a client's time stamp contains a value that is too far off the server’s time). Note that the time stamp MAY be used by a client that has no real-time clock, but has a countdown timer, to obtain useful “seconds from now” values from all of the Date attributes by performing a subtraction.

Table 265: Time Stamp in Message Header
ObjectEncoding
Time StampDate-Time

Authentication

This is used to authenticate the requester. It is an OPTIONAL information item, depending on the type of request being issued and on server policies. Servers MAY require authentication on no requests, a subset of the requests, or all requests, depending on policy. Queryoperations used to interrogate server features and functions SHOULD NOT require authentication. The Authentication structure SHALL contain one or more Credential structures.

The authentication mechanisms are described and discussed in Section 8.

Table 266: Authentication Structure in Message Header
ObjectEncoding
AuthenticationStructure
Credential, MAY be repeatedStructure, see 2.1.2

Asynchronous Indicator

This Boolean flag indicates whether the client is able to accept an asynchronous response. It SHALL have the Boolean value True if the client is able to handle asynchronous responses, and the value False otherwise. If not present in a request, then False is assumed. If a client indicates that it is not able to handle asynchronous responses, the server SHALL process the request synchronously.

Table 267: Asynchronous Indicator in Message Request Header
ObjectEncoding
Asynchronous IndicatorBoolean

Asynchronous Correlation Value

This is returned in the immediate response to an operation that is pending and that requires asynchronous polling. Note: the server decides which operations are performed synchronously or asynchronously (see 6.7). A server-generated correlation value SHALL be specified in any subsequent Poll or Cancel operations that pertain to the original operation.

Table 268: Asynchronous Correlation Value in Response Batch Item
ObjectEncoding
Asynchronous Correlation ValueByte String

Result Status

This is sent in a response message and indicates the success or failure of a request. The following values MAY be set in this field:

Table 269: Result Status in Response Batch Item
ObjectEncoding
Result StatusEnumeration, see 9.1.3.2.28

Result Reason

This field indicates a reason for failure or a modifier for a partially successful operation and SHALL be present in responses that return a Result Status of Failure. In such a case, the Result Reason SHALL be set as specified in Section 11. It is OPTIONAL in any response that returns a Result Status of Success.The following defined values are defined for this field:

Table 270: Result Reason in Response Batch Item
ObjectEncoding
Result ReasonEnumeration, see 9.1.3.2.29

Result Message

This field MAY be returned in a response. It contains a more descriptive error message, which MAY be provided to an end user or used for logging/auditing purposes.

Table 271: Result Message in Response Batch Item
ObjectEncoding
Result MessageText String

Batch Order Option

A Boolean value used in requests where the Batch Count is greater than 1. If True, then batched operations SHALL be executed in the order in which they appear within the request. If False, then the server MAY choose to execute the batched operations in any order. If not specified, then False is assumed (i.e., no implied ordering). Server support for this feature is OPTIONAL, but if the server does not support the feature, and a request is received with the batch order option set to True, then the entire request SHALL be rejected.

Table 272: Batch Order Option in Message Request Header
ObjectEncoding
Batch Order OptionBoolean

Batch Error Continuation Option

This option SHALL only be present if the Batch Count is greater than 1. This option SHALL have one of three values:

If not specified, then Stop is assumed.

Server support for this feature is OPTIONAL, but if the server does not support the feature, and a request is received containing the Batch Error Continuation Option with a value other than the default Stop, then the entire request SHALL be rejected.

Table 273: Batch Error Continuation Option in Message Request Header
ObjectEncoding
Batch Error Continuation OptionEnumeration, see 9.1.3.2.30

Batch Count

This field contains the number of Batch Items in a message and is REQUIRED. If only a single operation is being requested, then the batch count SHALL be set to 1. The Message Payload, which follows the Message Header, contains one or more batch items.

Table 274: Batch Count in Message Header
ObjectEncoding
Batch CountInteger

Batch Item

This field consists of a structure that holds the individual requests or responses in a batch, and is REQUIRED. The contents of the batch items are described in Section 7.2.

Table 275: Batch Item in Message
ObjectEncoding
Batch ItemStructure

Message Extension

The Message Extension is an OPTIONAL structure that MAY be appended to any Batch Item. It is used to extend protocol messages for the purpose of adding vendor-specified extensions. The Message Extension is a structure that SHALL contain the Vendor Identification, Criticality Indicator, and Vendor Extension fields. The Vendor Identification SHALL be a text string that uniquely identifies the vendor, allowing a client to determine if it is able to parse and understand the extension. If a client or server receives a protocol message containing a message extension that it does not understand, then its actions depend on the Criticality Indicator. If the indicator is True (i.e., Critical), and the receiver does not understand the extension, then the receiver SHALL reject the entire message. If the indicator is False (i.e., Non-Critical), and the receiver does not understand the extension, then the receiver MAY process the rest of the message as if the extension were not present. The Vendor Extension structure SHALL contain vendor-specific extensions.

Table 276: Message Extension Structure in Batch Item
ObjectEncoding
Message ExtensionStructure
Vendor IdentificationText String
Criticality IndicatorBoolean
Vendor ExtensionStructure

Attestation Capable Indicator

The Attestation Capable Indicator flag indicates whether the client is able to create an Attestation Credential object. It SHALL have Boolean value True if the client is able to create an Attestation Credential object, and the value False otherwise. If not present, the value False is assumed. If a client indicates that it is not able to create an Attestation Credential Object, and the client has issued an operation that requires attestation such as Get, then the server SHALL respond to the request with a failure.

Table 277: Attestation Capable Indicator in Message Request Header
ObjectEncoding
Attestation Capable IndicatorBoolean

Client Correlation Value

The Client Correlation Value is a string that MAY be added to messages by clients to provide additional information to the server. It need not be unique. The server SHOULD log this information. The Client Correlation Value is provided in the request for client to server operations. The Client Correlation Value is provided in the response for server to client operations.

Table 278: Client Correlation Value in Message Request Header
ObjectEncoding
Server Correlation ValueText String

Server Correlation Value

The Server Correlation Value SHOULD be provided by the server and SHOULD be globally unique, and SHOULD be logged by the server with each request.

The Server Correlation Value is provided in the response for client to server operations. The Server Correlation Value is provided in the request for server to client operations.

Table 279: Server Correlation Value in Message Request Header
ObjectEncoding
Server Correlation ValueText String

Message Format

Messages contain the following objects and fields. All fields SHALL appear in the order specified.

Message Structure

Table 280: Request Message Structure
ObjectEncodingREQUIRED
Request MessageStructure
Request HeaderStructure, see Table 282Yes
Batch ItemStructure, see Table 283Yes, MAY be repeated
Table 281: Response Message Structure
ObjectEncodingREQUIRED
Response MessageStructure
Response HeaderStructure, see Table 284Yes
Batch ItemStructure, see Table 285Yes, MAY be repeated

Operations

If the client is capable of accepting asynchronous responses, then it MAY set the Asynchronous Indicator in the header of a batched request. The batched responses MAY contain a mixture of synchronous and asynchronous responses.

Table 282: Request Header Structure
Request Header
ObjectREQUIRED in MessageComment
Request HeaderYesStructure
Protocol VersionYesSee 6.1
Maximum Response SizeNoSee 6.3
Client Correlation ValueNoSee 6.18
Server Correlation ValueNoSee 6.19
Asynchronous IndicatorNoSee 6.7
Attestation Capable IndicatorNoSee 6.17
Attestation TypeNo, MAY be repeatedSee 9.1.3.2.36
AuthenticationNoSee 6.6
Batch Error Continuation OptionNoIf omitted, then Stop is assumed, see 6.13
Batch Order OptionNoIf omitted, then False is assumed, see 6.12
Time StampNoSee 6.5
Batch CountYesSee 6.14
Table 283: Request Batch Item Structure
Request Batch Item
ObjectREQUIRED in MessageComment
Batch ItemYesStructure, see 6.15
OperationYesSee 6.2
Unique Batch Item IDNoREQUIRED if Batch Count > 1, see 6.4
Request PayloadYesStructure, contents depend on the Operation, see 4and 5
Message ExtensionNoSee 6.16
Table 284: Response Header Structure
Response Header
ObjectREQUIRED in MessageComment
Response HeaderYesStructure
Protocol VersionYesSee 6.1
Time StampYesSee 6.5
NonceNoSee 2.1.14
Attestation TypeNo, MAY be repeatedREQUIRED in Attestation Required error message if client set Attestation Capable Indicator to True in the request, see 9.1.3.2.36
Client Correlation ValueNoSee 6.18
Server Correlation ValueNoSee 6.19
Batch CountYesSee 6.14
Table 285: Response Batch Item Structure
Response Batch Item
ObjectREQUIRED in MessageComment
Batch ItemYesStructure, see 6.15
OperationYes, if specified in Request Batch ItemSee 6.2
Unique Batch Item IDNoREQUIRED if present in Request Batch Item, see 6.4
Result StatusYesSee 6.9
Result ReasonYes, if Result Status is FailureREQUIRED if Result Status is Failure, otherwise OPTIONAL, see 6.10
Result MessageNoOPTIONAL if Result Status is not Pending or Success, see 6.11
Asynchronous Correlation ValueNoREQUIRED if Result Status is Pending, see 6.8
Response PayloadYes, if not a failureStructure, contents depend on the Operation, see 4and 5
Message ExtensionNoSee 6.16

Authentication

The mechanisms used to authenticate the client to the server and the server to the client are not part of the message definitions, and are external to the protocol. The KMIP Server SHALL support authentication as defined in [KMIP-Prof].

Message Encoding

To support different transport protocols and different client capabilities, a number of message-encoding mechanisms are supported.

TTLV Encoding

In order to minimize the resource impact on potentially low-function clients, one encoding mechanism to be used for protocol messages is a simplified TTLV (Tag, Type, Length, Value) scheme.

The scheme is designed to minimize the CPU cycle and memory requirements of clients that need to encode or decode protocol messages, and to provide optimal alignment for both 32-bit and 64-bit processors. Minimizing bandwidth over the transport mechanism is considered to be of lesser importance.

TTLV Encoding Fields

Every Data object encoded by the TTLV scheme consists of four items, in order:

Item Tag

An Item Tag is a three-byte binary unsigned integer, transmitted big endian, which contains a number that designates the specific Protocol Field or Object that the TTLV object represents. To ease debugging, and to ensure that malformed messages are detected more easily, all tags SHALL contain either the value 42 in hex or the value 54 in hex as the high order (first) byte. Tags defined by this specification contain hex 42 in the first byte. Extensions, which are permitted, but are not defined in this specification, contain the value 54 hex in the first byte. A list of defined Item Tags is in Section 9.1.3.1

Item Type

An Item Type is a byte containing a coded value that indicates the data type of the data object. The allowed values are:

Table 286: Allowed Item Type Values
Data TypeCoded Value in Hex
Structure01
Integer02
Long Integer03
Big Integer04
Enumeration05
Boolean06
Text String07
Byte String08
Date-Time09
Interval0A

Item Length

An Item Length is a 32-bit binary integer, transmitted big-endian, containing the number of bytes in the Item Value. The allowed values are:

Table 287: Allowed Item Length Values
Data TypeLength
StructureVaries, multiple of 8
Integer4
Long Integer8
Big IntegerVaries, multiple of 8
Enumeration4
Boolean8
Text StringVaries
Byte StringVaries
Date-Time8
Interval4

If the Item Type is Structure, then the Item Length is the total length of all of the sub-items contained in the structure, including any padding. If the Item Type is Integer, Enumeration, Text String, Byte String, or Interval, then the Item Length is the number of bytes excluding the padding bytes. Text Strings and Byte Strings SHALL be padded with the minimal number of bytes following the Item Value to obtain a multiple of eight bytes. Integers, Enumerations, and Intervals SHALL be padded with four bytes following the Item Value.

Item Value

The item value is a sequence of bytes containing the value of the data item, depending on the type:

Date-Time values are POSIX Time values encoded as Long Integers. POSIX Time, as described in IEEE Standard 1003.1 [FIPS202] SHA-3 Standard: Permutation-Based Hash and Extendable-Output Functions, August 2015. http://nvlpubs.nist.gov/nistpubs/FIPS/NIST.FIPS.202.pdf

Examples

These examples are assumed to be encoding a Protocol Object whose tag is 420020. The examples are shown as a sequence of bytes in hexadecimal notation:

42 00 20 | 02 | 00 00 00 04 | 00 00 00 08 00 00 00 00

42 00 20 | 03 | 00 00 00 08 | 01 B6 9B 4B A5 74 92 00

42 00 20 | 04 | 00 00 00 10 | 00 00 00 00 03 FD 35 EB 6B C2 DF 46 18 08 00 00

42 00 20 | 05 | 00 00 00 04 | 00 00 00 FF 00 00 00 00

42 00 20 | 06 | 00 00 00 08 | 00 00 00 00 00 00 00 01

42 00 20 | 07 | 00 00 00 0B | 48 65 6C 6C 6F 20 57 6F 72 6C 64 00 00 00 00 00

42 00 20 | 08 | 00 00 00 03 | 01 02 03 00 00 00 00 00

42 00 20 | 09 | 00 00 00 08 | 00 00 00 00 47 DA 67 F8

42 00 20 | 0A | 00 00 00 04 | 00 0D 2F 00 00 00 00 00

42 00 20 | 01 | 00 00 00 20 | 42 00 04 | 05 | 00 00 00 04 | 00 00 00 FE 00 00 00 00 | 42 00 05 | 02 | 00 00 00 04 | 00 00 00 FF 00 00 00 00

Defined Values

This section specifies the values that are defined by this specification. In all cases where an extension mechanism is allowed, this extension mechanism is only able to be used for communication between parties that have pre-agreed understanding of the specific extensions.

Tags

The following table defines the tag values for the objects and primitive data values for the protocol messages.

Table 288: Tag Values
Tag
ObjectTag Value
(Unused)000000 - 420000
Activation Date420001
Application Data420002
Application Namespace420003
Application Specific Information420004
Archive Date420005
Asynchronous Correlation Value420006
Asynchronous Indicator420007
Attribute420008
Attribute Index420009
Attribute Name42000A
Attribute Value42000B
Authentication42000C
Batch Count42000D
Batch Error Continuation Option42000E
Batch Item42000F
Batch Order Option420010
Block Cipher Mode420011
Cancellation Result420012
Certificate420013
Certificate Identifier420014 (deprecated as of version 1.1)
Certificate Issuer420015 (deprecated as of version 1.1)
Certificate Issuer Alternative Name420016 (deprecated as of version 1.1)
Certificate Issuer Distinguished Name420017 (deprecated as of version 1.1)
Certificate Request420018
Certificate Request Type420019
Certificate Subject42001A (deprecated as of version 1.1)
Certificate Subject Alternative Name42001B (deprecated as of version 1.1)
Certificate Subject Distinguished Name42001C (deprecated as of version 1.1)
Certificate Type42001D
Certificate Value42001E
Common Template-Attribute42001F
Compromise Date420020
Compromise Occurrence Date420021
Contact Information420022
Credential420023
Credential Type420024
Credential Value420025
Criticality Indicator420026
CRT Coefficient420027
Cryptographic Algorithm420028
Cryptographic Domain Parameters420029
Cryptographic Length42002A
Cryptographic Parameters42002B
Cryptographic Usage Mask42002C
Custom Attribute42002D
D42002E
Deactivation Date42002F
Derivation Data420030
Derivation Method420031
Derivation Parameters420032
Destroy Date420033
Digest420034
Digest Value420035
Encryption Key Information420036
G420037
Hashing Algorithm420038
Initial Date420039
Initialization Vector42003A
Issuer42003B (deprecated as of version 1.1)
Iteration Count42003C
IV/Counter/Nonce42003D
J42003E
Key42003F
Key Block420040
Key Compression Type420041
Key Format Type420042
Key Material420043
Key Part Identifier420044
Key Value420045
Key Wrapping Data420046
Key Wrapping Specification420047
Last Change Date420048
Lease Time420049
Link42004A
Link Type42004B
Linked Object Identifier42004C
MAC/Signature42004D
MAC/Signature Key Information42004E
Maximum Items42004F
Maximum Response Size420050
Message Extension420051
Modulus420052
Name420053
Name Type420054
Name Value420055
Object Group420056
Object Type420057
Offset420058
Opaque Data Type420059
Opaque Data Value42005A
Opaque Object42005B
Operation42005C
Operation Policy Name42005D (deprecated)
P42005E
Padding Method42005F
Prime Exponent P420060
Prime Exponent Q420061
Prime Field Size420062
Private Exponent420063
Private Key420064
Private Key Template-Attribute420065
Private Key Unique Identifier420066
Process Start Date420067
Protect Stop Date420068
Protocol Version420069
Protocol Version Major42006A
Protocol Version Minor42006B
Public Exponent42006C
Public Key42006D
Public Key Template-Attribute42006E
Public Key Unique Identifier42006F
Put Function420070
Q420071
Q String420072
Qlength420073
Query Function420074
Recommended Curve420075
Replaced Unique Identifier420076
Request Header420077
Request Message420078
Request Payload420079
Response Header42007A
Response Message42007B
Response Payload42007C
Result Message42007D
Result Reason42007E
Result Status42007F
Revocation Message420080
Revocation Reason420081
Revocation Reason Code420082
Key Role Type420083
Salt420084
Secret Data420085
Secret Data Type420086
Serial Number420087 (deprecated as of version 1.1)
Server Information420088
Split Key420089
Split Key Method42008A
Split Key Parts42008B
Split Key Threshold42008C
State42008D
Storage Status Mask42008E
Symmetric Key42008F
Template420090
Template-Attribute420091
Time Stamp420092
Unique Batch Item ID420093
Unique Identifier420094
Usage Limits420095
Usage Limits Count420096
Usage Limits Total420097
Usage Limits Unit420098
Username420099
Validity Date42009A
Validity Indicator42009B
Vendor Extension42009C
Vendor Identification42009D
Wrapping Method42009E
X42009F
Y4200A0
Password4200A1
Device Identifier4200A2
Encoding Option4200A3
Extension Information4200A4
Extension Name4200A5
Extension Tag4200A6
Extension Type4200A7
Fresh4200A8
Machine Identifier4200A9
Media Identifier4200AA
Network Identifier4200AB
Object Group Member4200AC
Certificate Length4200AD
Digital Signature Algorithm4200AE
Certificate Serial Number4200AF
Device Serial Number4200B0
Issuer Alternative Name4200B1
Issuer Distinguished Name4200B2
Subject Alternative Name4200B3
Subject Distinguished Name4200B4
X.509 Certificate Identifier4200B5
X.509 Certificate Issuer4200B6
X.509 Certificate Subject4200B7
Key Value Location4200B8
Key Value Location Value4200B9
Key Value Location Type4200BA
Key Value Present4200BB
Original Creation Date4200BC
PGP Key4200BD
PGP Key Version4200BE
Alternative Name4200BF
Alternative Name Value4200C0
Alternative Name Type4200C1
Data4200C2
Signature Data4200C3
Data Length4200C4
Random IV4200C5
MAC Data4200C6
Attestation Type4200C7
Nonce4200C8
Nonce ID4200C9
Nonce Value4200CA
Attestation Measurement4200CB
Attestation Assertion4200CC
IV Length4200CD
Tag Length4200CE
Fixed Field Length4200CF
Counter Length4200D0
Initial Counter Value4200D1
Invocation Field Length4200D2
Attestation Capable Indicator4200D3
Offset Items4200D4
Located Items4200D5
Correlation Value4200D6
Init Indicator4200D7
Final Indicator4200D8
RNG Parameters4200D9
RNG Algorithm4200DA
DRBG Algorithm4200DB
FIPS186 Variation4200DC
Prediction Resistance4200DD
Random Number Generator4200DE
Validation Information4200DF
Validation Authority Type4200E0
Validation Authority Country4200E1
Validation Authority URI4200E2
Validation Version Major4200E3
Validation Version Minor4200E4
Validation Type4200E5
Validation Level4200E6
Validation Certificate Identifier4200E7
Validation Certificate URI4200E8
Validation Vendor URI4200E9
Validation Profile4200EA
Profile Information4200EB
Profile Name4200EC
Server URI4200ED
Server Port4200EE
Streaming Capability4200EF
Asynchronous Capability4200F0
Attestation Capability4200F1
Unwrap Mode4200F2
Destroy Action4200F3
Shredding Algorithm4200F4
RNG Mode4200F5
Client Registration Method4200F6
Capability Information4200F7
Key Wrap Type4200F8
Batch Undo Capability4200F9
Batch Continue Capability4200FA
PKCS#12 Friendly Name4200FB
Description4200FC
Comment4200FD

Authenticated

Encryption Additional Data

4200FE
Authenticated Encryption Tag4200FF
Salt Length420100
Mask Generator420101
Mask Generator Hashing Algorithm420102
P Source420103
Trailer Field420104
Client Correlation Value420105
Server Correlation Value420106
Digested Data420107
Certificate Subject CN420108
Certificate Subject O420109
Certificate Subject OU42010A
Certificate Subject Email42010B
Certificate Subject C42010C
Certificate Subject ST42010D
Certificate Subject L42010E
Certificate Subject UID42010F
Certificate Subject Serial Number420110
Certificate Subject Title420111
Certificate Subject DC420112
Certificate Subject DN Qualifier420113
Certificate Issuer CN420114
Certificate Issuer O420115
Certificate Issuer OU420116
Certificate Issuer Email420117
Certificate Issuer C420118
Certificate Issuer ST420119
Certificate Issuer L42011A
Certificate Issuer UID42011B
Certificate Issuer Serial Number42011C
Certificate Issuer Title42011D
Certificate Issuer DC42011E
Certificate Issuer DN Qualifier42011F
Sensitive420120
Always Sensitive420121
Extractable420122
Never Extractable420123
Replace Existing420124
(Reserved)420120 – 42FFFF
(Unused)430000 – 53FFFF
Extensions540000 – 54FFFF
(Unused)550000 - FFFFFF

Enumerations

The following tables define the values for enumerated lists. Values not listed (outside the range 80000000 to 8FFFFFFF) are reserved for future KMIP versions.

Credential Type Enumeration
Table 289: Credential Type Enumeration
Credential Type
NameValue
Username and Password00000001
Device00000002
Attestation00000003
Extensions8XXXXXXX
Key Compression Type Enumeration
Table 290: Key Compression Type Enumeration
Key Compression Type
NameValue
EC Public Key Type Uncompressed00000001
EC Public Key Type X9.62 Compressed Prime00000002
EC Public Key Type X9.62 Compressed Char200000003
EC Public Key Type X9.62 Hybrid00000004
Extensions8XXXXXXX
Key Format Type Enumeration
Table 291: Key Format Type Enumeration
Key Format Type
NameValue
Raw00000001
Opaque00000002
PKCS#100000003
PKCS#800000004
X.50900000005
ECPrivateKey00000006
Transparent Symmetric Key00000007
Transparent DSA Private Key00000008
Transparent DSA Public Key00000009
Transparent RSA Private Key0000000A
Transparent RSA Public Key0000000B
Transparent DH Private Key0000000C
Transparent DH Public Key0000000D
Transparent ECDSA Private Key0000000E (deprecated)
Transparent ECDSA Public Key0000000F (deprecated)
Transparent ECDH Private Key00000010 (deprecated)
Transparent ECDH Public Key00000011 (deprecated)
Transparent ECMQV Private Key00000012 (deprecated)
Transparent ECMQV Public Key00000013 (deprecated)
Transparent EC Private Key00000014
Transparent EC Public Key00000015
PKCS#1200000016
Extensions8XXXXXXX
Wrapping Method Enumeration
Table 292: Wrapping Method Enumeration
Wrapping Method
NameValue
Encrypt00000001
MAC/sign00000002
Encrypt then MAC/sign00000003
MAC/sign then encrypt00000004
TR-3100000005
Extensions8XXXXXXX

Recommended curves are defined in [FIPS186-4] [SEC2] [X9.62] [CHACHA] D. J. Bernstein. ChaCha, a variant of Salsa20. https://cr.yp.to/chacha/chacha-20080128.pdf

[ECC-Brainpool][RFC5639],

Table 293: Recommended Curve Enumeration for ECDSA, ECDH, and ECMQV
Recommended Curve Enumeration
NameValue
P-19200000001
K-16300000002
B-16300000003
P-22400000004
K-23300000005
B-23300000006
P-25600000007
K-28300000008
B-28300000009
P-3840000000A
K-4090000000B
B-4090000000C
P-5210000000D
K-5710000000E
B-5710000000F
SECP112R100000010
SECP112R200000011
SECP128R100000012
SECP128R200000013
SECP160K100000014
SECP160R100000015
SECP160R200000016
SECP192K100000017
SECP224K100000018
SECP256K100000019
SECT113R10000001A
SECT113R20000001B
SECT131R10000001C
SECT131R20000001D
SECT163R10000001E
SECT193R10000001F
SECT193R200000020
SECT239K100000021
ANSIX9P192V200000022
ANSIX9P192V300000023
ANSIX9P239V100000024
ANSIX9P239V200000025
ANSIX9P239V300000026
ANSIX9C2PNB163V100000027
ANSIX9C2PNB163V200000028
ANSIX9C2PNB163V300000029
ANSIX9C2PNB176V10000002A
ANSIX9C2TNB191V10000002B
ANSIX9C2TNB191V20000002C
ANSIX9C2TNB191V30000002D
ANSIX9C2PNB208W10000002E
ANSIX9C2TNB239V10000002F
ANSIX9C2TNB239V200000030
ANSIX9C2TNB239V300000031
ANSIX9C2PNB272W100000032
ANSIX9C2PNB304W100000033
ANSIX9C2TNB359V100000034
ANSIX9C2PNB368W100000035
ANSIX9C2TNB431R100000036
BRAINPOOLP160R100000037
BRAINPOOLP160T100000038
BRAINPOOLP192R100000039
BRAINPOOLP192T10000003A
BRAINPOOLP224R10000003B
BRAINPOOLP224T10000003C
BRAINPOOLP256R10000003D
BRAINPOOLP256T10000003E
BRAINPOOLP320R10000003F
BRAINPOOLP320T100000040
BRAINPOOLP384R100000041
BRAINPOOLP384T100000042
BRAINPOOLP512R100000043
BRAINPOOLP512T100000044
Extensions8XXXXXXX
Certificate Type Enumeration

The PGP certificate type is deprecated as of version 1.2 of this specification and MAY be removed from subsequent versions of the specification.

Table 294: Certificate Type Enumeration
Certificate Type
NameValue
X.50900000001
PGP00000002 (deprecated)
Extensions8XXXXXXX
Digital Signature Algorithm Enumeration
Table 295: Digital Signature Algorithm Enumeration
Digital Signature Algorithm
NameValue

MD2 with RSA Encryption

(PKCS#1 v1.5)

00000001
MD5 with RSA Encryption (PKCS#1 v1.5)00000002
SHA-1 with RSA Encryption (PKCS#1 v1.5)00000003
SHA-224 with RSA Encryption (PKCS#1 v1.5)00000004
SHA-256 with RSA Encryption (PKCS#1 v1.5)00000005
SHA-384 with RSA Encryption (PKCS#1 v1.5)00000006
SHA-512 with RSA Encryption (PKCS#1 v1.5)00000007

RSASSA-PSS

(PKCS#1 v2.1)

00000008
DSA with SHA-100000009
DSA with SHA2240000000A
DSA with SHA2560000000B
ECDSA with SHA-10000000C
ECDSA with SHA2240000000D
ECDSA with SHA2560000000E
ECDSA with SHA3840000000F
ECDSA with SHA51200000010
SHA3-256 with RSA Encryption00000011
SHA3-384 with RSA Encryption00000012
SHA3-512 with RSA Encryption00000013
Extensions8XXXXXXX
Split Key Method Enumeration
Table 296: Split Key Method Enumeration
Split Key Method
NameValue
XOR00000001
Polynomial Sharing GF (216)00000002
Polynomial Sharing Prime Field00000003
Polynomial Sharing GF (28)00000004
Extensions8XXXXXXX
Secret Data Type Enumeration
Table 297: Secret Data Type Enumeration
Secret Data Type
NameValue
Password00000001
Seed00000002
Extensions8XXXXXXX
Opaque Data Type Enumeration
Table 298: Opaque Data Type Enumeration
Opaque Data Type
NameValue
Extensions8XXXXXXX
Name Type Enumeration
Table 299: Name Type Enumeration
Name Type
NameValue
Uninterpreted Text String00000001
URI00000002
Extensions8XXXXXXX
Object Type Enumeration
Table 300: Object Type Enumeration
Object Type
NameValue
Certificate00000001
Symmetric Key00000002
Public Key00000003
Private Key00000004
Split Key00000005
Template00000006 (deprecated)
Secret Data00000007
Opaque Object00000008
PGP Key00000009
Extensions8XXXXXXX
Cryptographic Algorithm Enumeration
Table 301: Cryptographic Algorithm Enumeration
Cryptographic Algorithm
NameValue
DES00000001
3DES00000002
AES00000003
RSA00000004
DSA00000005
ECDSA00000006
HMAC-SHA100000007
HMAC-SHA22400000008
HMAC-SHA25600000009
HMAC-SHA3840000000A
HMAC-SHA5120000000B
HMAC-MD50000000C
DH0000000D
ECDH0000000E
ECMQV0000000F
Blowfish00000010
Camellia00000011
CAST500000012
IDEA00000013
MARS00000014
RC200000015
RC400000016
RC500000017
SKIPJACK00000018
Twofish00000019
EC0000001A
One Time Pad0000001B
ChaCha200000001C
Poly13050000001D
ChaCha20Poly13050000001E
SHA3-2240000001F
SHA3-25600000020
SHA3-38400000021
SHA3-51200000022
HMAC-SHA3-22400000023
HMAC-SHA3-25600000024
HMAC-SHA3-38400000025
HMAC-SHA3-51200000026
SHAKE-12800000027
SHAKE-25600000028
Extensions8XXXXXXX
Block Cipher Mode Enumeration
Table 302: Block Cipher Mode Enumeration
Block Cipher Mode
NameValue
CBC00000001
ECB00000002
PCBC00000003
CFB00000004
OFB00000005
CTR00000006
CMAC00000007
CCM00000008
GCM00000009
CBC-MAC0000000A
XTS0000000B
AESKeyWrapPadding0000000C
NISTKeyWrap0000000D
X9.102 AESKW0000000E
X9.102 TDKW0000000F
X9.102 AKW100000010
X9.102 AKW200000011
AEAD00000012
Extensions8XXXXXXX
Padding Method Enumeration
Table 303: Padding Method Enumeration
Padding Method
NameValue
None00000001
OAEP00000002
PKCS500000003
SSL300000004
Zeros00000005
ANSI X9.2300000006
ISO 1012600000007
PKCS1 v1.500000008
X9.3100000009
PSS0000000A
Extensions8XXXXXXX
Hashing Algorithm Enumeration
Table 304: Hashing Algorithm Enumeration
Hashing Algorithm
NameValue
MD200000001
MD400000002
MD500000003
SHA-100000004
SHA-22400000005
SHA-25600000006
SHA-38400000007
SHA-51200000008
RIPEMD-16000000009
Tiger0000000A
Whirlpool0000000B
SHA-512/2240000000C
SHA-512/2560000000D
SHA-3-2240000000E
SHA-3-2560000000F
SHA-3-38400000010
SHA-3-51200000011
Extensions8XXXXXXX
Key Role Type Enumeration
Table 305: Key Role Type Enumeration
Key Role Type
NameValue
BDK00000001
CVK00000002
DEK00000003
MKAC00000004
MKSMC00000005
MKSMI00000006
MKDAC00000007
MKDN00000008
MKCP00000009
MKOTH0000000A
KEK0000000B
MAC166090000000C
MAC979710000000D
MAC979720000000E
MAC979730000000F
MAC9797400000010
MAC9797500000011
ZPK00000012
PVKIBM00000013
PVKPVV00000014
PVKOTH00000015
DUKPT00000016
IV00000017
TRKBK00000018
Extensions8XXXXXXX

Note that while the set and definitions of key role types are chosen to match [X9 TR-31] there is no necessity to match binary representations.

State Enumeration
Table 306: State Enumeration
State
NameValue
Pre-Active00000001
Active00000002
Deactivated00000003
Compromised00000004
Destroyed00000005
Destroyed Compromised00000006
Extensions8XXXXXXX
Revocation Reason Code Enumeration
Table 307: Revocation Reason Code Enumeration
Revocation Reason Code
NameValue
Unspecified00000001
Key Compromise00000002
CA Compromise00000003
Affiliation Changed00000004
Superseded00000005
Cessation of Operation00000006
Privilege Withdrawn00000007
Extensions8XXXXXXX
Table 308: Link Type Enumeration
Link Type
NameValue
Certificate Link00000101
Public Key Link00000102
Private Key Link00000103
Derivation Base Object Link00000104
Derived Key Link00000105
Replacement Object Link00000106
Replaced Object Link00000107
Parent Link00000108
Child Link00000109
Previous Link0000010A
Next Link0000010B
PKCS#12 Certificate Link0000010C
PKCS#12 Password Link0000010D
Extensions8XXXXXXX
Derivation Method Enumeration
Table 309: Derivation Method Enumeration
Derivation Method
NameValue
PBKDF200000001
HASH00000002
HMAC00000003
ENCRYPT00000004
NIST800-108-C00000005
NIST800-108-F00000006
NIST800-108-DPI00000007
Asymmetric Key00000008
Extensions8XXXXXXX
Certificate Request Type Enumeration

The PGP certificate request type is deprecated as of version 1.1 of this specification and MAY be removed from subsequent versions of the specification.

Table 310: Certificate Request Type Enumeration
Certificate Request Type
NameValue
CRMF00000001
PKCS#1000000002
PEM00000003
PGP00000004 (deprecated)
Extensions8XXXXXXX
Validity Indicator Enumeration
Table 311: Validity Indicator Enumeration
Validity Indicator
NameValue
Valid00000001
Invalid00000002
Unknown00000003
Extensions8XXXXXXX
Query Function Enumeration
Table 312: Query Function Enumeration
Query Function
NameValue
Query Operations00000001
Query Objects00000002
Query Server Information00000003
Query Application Namespaces00000004
Query Extension List00000005
Query Extension Map00000006
Query Attestation Types00000007
Query RNGs00000008
Query Validations00000009
Query Profiles0000000A
Query Capabilities0000000B
Query Client Registration Methods0000000C
Extensions8XXXXXXX
Cancellation Result Enumeration
Table 313: Cancellation Result Enumeration
Cancellation Result
NameValue
Canceled00000001
Unable to Cancel00000002
Completed00000003
Failed00000004
Unavailable00000005
Extensions8XXXXXXX
Put Function Enumeration
Table 314: Put Function Enumeration
Put Function
NameValue
New00000001
Replace00000002
Extensions8XXXXXXX
Operation Enumeration
Table 315: Operation Enumeration
Operation
NameValue
Create00000001
Create Key Pair00000002
Register00000003
Re-key00000004
Derive Key00000005
Certify00000006
Re-certify00000007
Locate00000008
Check00000009
Get0000000A
Get Attributes0000000B
Get Attribute List0000000C
Add Attribute0000000D
Modify Attribute0000000E
Delete Attribute0000000F
Obtain Lease00000010
Get Usage Allocation00000011
Activate00000012
Revoke00000013
Destroy00000014
Archive00000015
Recover00000016
Validate00000017
Query00000018
Cancel00000019
Poll0000001A
Notify0000001B
Put0000001C
Re-key Key Pair0000001D
Discover Versions0000001E
Encrypt0000001F
Decrypt00000020
Sign00000021
Signature Verify00000022
MAC00000023
MAC Verify00000024
RNG Retrieve00000025
RNG Seed00000026
Hash00000027
Create Split Key00000028
Join Split Key00000029
Import0000002A
Export0000002B
Extensions8XXXXXXX
Result Status Enumeration
Table 316: Result Status Enumeration
Result Status
NameValue
Success00000000
Operation Failed00000001
Operation Pending00000002
Operation Undone00000003
Extensions8XXXXXXX
Result Reason Enumeration
Table 317: Result Reason Enumeration
Result Reason
NameValue
Item Not Found00000001
Response Too Large00000002
Authentication Not Successful00000003
Invalid Message00000004
Operation Not Supported00000005
Missing Data00000006
Invalid Field00000007
Feature Not Supported00000008
Operation Canceled By Requester00000009
Cryptographic Failure0000000A
Illegal Operation0000000B
Permission Denied0000000C
Object archived0000000D
Index Out of Bounds0000000E
Application Namespace Not Supported0000000F
Key Format Type Not Supported00000010
Key Compression Type Not Supported00000011
Encoding Option Error00000012
Key Value Not Present00000013
Attestation Required00000014
Attestation Failed00000015
Sensitive00000016
Not Extractable00000017
Object Already Exists00000018
General Failure00000100
Extensions8XXXXXXX
Batch Error Continuation Option Enumeration
Table 318: Batch Error Continuation Option Enumeration
Batch Error Continuation
NameValue
Continue00000001
Stop00000002
Undo00000003
Extensions8XXXXXXX
Usage Limits Unit Enumeration
Table 319: Usage Limits Unit Enumeration
Usage Limits Unit
NameValue
Byte00000001
Object00000002
Extensions8XXXXXXX
Encoding Option Enumeration
Table 320: Encoding Option Enumeration
Encoding Option
NameValue
No Encoding00000001
TTLV Encoding00000002
Extensions8XXXXXXX
Object Group Member Enumeration
Table 321: Object Group Member Enumeration
Object Group Member Option
NameValue
Group Member Fresh00000001
Group Member Default00000002
Extensions8XXXXXXX
Alternative Name Type Enumeration
Table 322: Alternative Name Type Enumeration
Alternative Name Type
NameValue
Uninterpreted Text String00000001
URI00000002
Object Serial Number00000003
Email Address00000004
DNS Name00000005
X.500 Distinguished Name00000006
IP Address00000007
Extensions8XXXXXXX
Key Value Location Type Enumeration
Table 323: Key Value Location Type Enumeration
Key Value Location Type
NameValue
Uninterpreted Text String00000001
URI00000002
Extensions8XXXXXXX
Attestation Type Enumeration
Table 324: Attestation Type Enumeration
Attestation Type
NameValue
TPM Quote00000001
TCG Integrity Report00000002
SAML Assertion00000003
Extensions8XXXXXXX
RNG Algorithm Enumeration
RNG Algorithm
NameValue
Unspecified00000001
FIPS 186-200000002
DRBG00000003
NRBG00000004
ANSI X9.3100000005
ANSI X9.6200000006
Extensions8XXXXXXX

Note: the user should be aware that a number of these algorithms are no longer recommended for general use and/or are deprecated. They are included for completeness.

DRBG Algorithm Enumeration
DRBG Algorithm
NameValue
Unspecified00000001
Dual-EC00000002
Hash00000003
HMAC00000004
CTR00000005
Extensions8XXXXXXX
FIPS186 Variation Enumeration
FIPS186 Variation
NameValue
Unspecified00000001
GP x-Original00000002
GP x-Change Notice00000003
x-Original00000004
x-Change Notice00000005
k-Original00000006
k-Change Notice00000007
Extensions8XXXXXXX

Note: the user should be aware that a number of these algorithms are no longer recommended for general use and/or are deprecated. They are included for completeness.

Validation Authority Type Enumeration
Validation Authority Type
NameValue
Unspecified00000001
NIST CMVP00000002
Common Criteria00000003
Extensions8XXXXXXX

Validation Type Enumeration
Validation Type
NameValue
Unspecified00000001
Hardware00000002
Software00000003
Firmware00000004
Hybrid00000005
Extensions8XXXXXXX

<w:bookmarkStart w:id="3956" w:name="_Toc240610035"/>

Profile Name Enumeration
Profile Name Type
NameValue
Baseline Server Basic KMIP v1.200000001
Baseline Server TLS v1.2 KMIP v1.200000002
Baseline Client Basic KMIP v1.200000003
Baseline Client TLS v1.2 KMIP v1.200000004
Complete Server Basic KMIP v1.200000005
Complete Server TLS v1.2 KMIP v1.200000006
Tape Library Client KMIP v1.000000007
Tape Library Client KMIP v1.100000008
Tape Library Client KMIP v1.200000009
Tape Library Server KMIP v1.00000000A
Tape Library Server KMIP v1.10000000B
Tape Library Server KMIP v1.20000000C
Symmetric Key Lifecycle Client KMIP v1.00000000D
Symmetric Key Lifecycle Client KMIP v1.10000000E
Symmetric Key Lifecycle Client KMIP v1.20000000F
Symmetric Key Lifecycle Server KMIP v1.000000010
Symmetric Key Lifecycle Server KMIP v1.100000011
Symmetric Key Lifecycle Server KMIP v1.200000012
Asymmetric Key Lifecycle Client KMIP v1.000000013
Asymmetric Key Lifecycle Client KMIP v1.100000014
Asymmetric Key Lifecycle Client KMIP v1.200000015
Asymmetric Key Lifecycle Server KMIP v1.000000016
Asymmetric Key Lifecycle Server KMIP v1.100000017
Asymmetric Key Lifecycle Server KMIP v1.200000018
Basic Cryptographic Client KMIP v1.200000019
Basic Cryptographic Server KMIP v1.20000001A
Advanced Cryptographic Client KMIP v1.20000001B
Advanced Cryptographic Server KMIP v1.20000001C
RNG Cryptographic Client KMIP v1.20000001D
RNG Cryptographic Server KMIP v1.20000001E
Basic Symmetric Key Foundry Client KMIP v1.00000001F
Intermediate Symmetric Key Foundry Client KMIP v1.000000020
Advanced Symmetric Key Foundry Client KMIP v1.000000021
Basic Symmetric Key Foundry Client KMIP v1.100000022
Intermediate Symmetric Key Foundry Client KMIP v1.100000023
Advanced Symmetric Key Foundry Client KMIP v1.100000024
Basic Symmetric Key Foundry Client KMIP v1.200000025
Intermediate Symmetric Key Foundry Client KMIP v1.200000026
Advanced Symmetric Key Foundry Client KMIP v1.200000027
Symmetric Key Foundry Server KMIP v1.000000028
Symmetric Key Foundry Server KMIP v1.100000029
Symmetric Key Foundry Server KMIP v1.20000002A
Opaque Managed Object Store Client KMIP v1.00000002B
Opaque Managed Object Store Client KMIP v1.10000002C
Opaque Managed Object Store Client KMIP v1.20000002D
Opaque Managed Object Store Server KMIP v1.00000002E
Opaque Managed Object Store Server KMIP v1.10000002F
Opaque Managed Object Store Server KMIP v1.200000030
Suite B minLOS_128 Client KMIP v1.000000031
Suite B minLOS_128 Client KMIP v1.100000032
Suite B minLOS_128 Client KMIP v1.200000033
Suite B minLOS_128 Server KMIP v1.000000034
Suite B minLOS_128 Server KMIP v1.100000035
Suite B minLOS_128 Server KMIP v1.200000036
Suite B minLOS_192 Client KMIP v1.000000037
Suite B minLOS_192 Client KMIP v1.100000038
Suite B minLOS_192 Client KMIP v1.200000039
Suite B minLOS_192 Server KMIP v1.00000003A
Suite B minLOS_192 Server KMIP v1.10000003B
Suite B minLOS_192 Server KMIP v1.20000003C
Storage Array with Self Encrypting Drive Client KMIP v1.00000003D
Storage Array with Self Encrypting Drive Client KMIP v1.10000003E
Storage Array with Self Encrypting Drive Client KMIP v1.20000003F
Storage Array with Self Encrypting Drive Server KMIP v1.000000040
Storage Array with Self Encrypting Drive Server KMIP v1.100000041
Storage Array with Self Encrypting Drive Server KMIP v1.200000042
HTTPS Client KMIP v1.000000043
HTTPS Client KMIP v1.100000044
HTTPS Client KMIP v1.200000045
HTTPS Server KMIP v1.000000046
HTTPS Server KMIP v1.100000047
HTTPS Server KMIP v1.200000048
JSON Client KMIP v1.000000049
JSON Client KMIP v1.10000004A
JSON Client KMIP v1.20000004B
JSON Server KMIP v1.00000004C
JSON Server KMIP v1.10000004D
JSON Server KMIP v1.20000004E
XML Client KMIP v1.00000004F
XML Client KMIP v1.100000050
XML Client KMIP v1.200000051
XML Server KMIP v1.000000052
XML Server KMIP v1.100000053
XML Server KMIP v1.200000054
Baseline Server Basic KMIP v1.300000055
Baseline Server TLS v1.2 KMIP v1.300000056
Baseline Client Basic KMIP v1.300000057
Baseline Client TLS v1.2 KMIP v1.300000058
Complete Server Basic KMIP v1.300000059
Complete Server TLS v1.2 KMIP v1.30000005A
Tape Library Client KMIP v1.30000005B
Tape Library Server KMIP v1.30000005C
Symmetric Key Lifecycle Client KMIP v1.30000005D
Symmetric Key Lifecycle Server KMIP v1.30000005E
Asymmetric Key Lifecycle Client KMIP v1.30000005F
Asymmetric Key Lifecycle Server KMIP v1.300000060
Basic Cryptographic Client KMIP v1.300000061
Basic Cryptographic Server KMIP v1.300000062
Advanced Cryptographic Client KMIP v1.300000063
Advanced Cryptographic Server KMIP v1.300000064
RNG Cryptographic Client KMIP v1.300000065
RNG Cryptographic Server KMIP v1.300000066
Basic Symmetric Key Foundry Client KMIP v1.300000067
Intermediate Symmetric Key Foundry Client KMIP v1.300000068
Advanced Symmetric Key Foundry Client KMIP v1.300000069
Symmetric Key Foundry Server KMIP v1.30000006A
Opaque Managed Object Store Client KMIP v1.30000006B
Opaque Managed Object Store Server KMIP v1.30000006C
Suite B minLOS_128 Client KMIP v1.30000006D
Suite B minLOS_128 Server KMIP v1.30000006E
Suite B minLOS_192 Client KMIP v1.30000006F
Suite B minLOS_192 Server KMIP v1.300000070
Storage Array with Self Encrypting Drive Client KMIP v1.300000071
Storage Array with Self Encrypting Drive Server KMIP v1.300000072
HTTPS Client KMIP v1.300000073
HTTPS Server KMIP v1.300000074
JSON Client KMIP v1.300000075
JSON Server KMIP v1.300000076
XML Client KMIP v1.300000077
XML Server KMIP v1.300000078
Baseline Server Basic KMIP v1.400000079
Baseline Server TLS v1.2 KMIP v1.40000007A
Baseline Client Basic KMIP v1.40000007B
Baseline Client TLS v1.2 KMIP v1.40000007C
Complete Server Basic KMIP v1.40000007D
Complete Server TLS v1.2 KMIP v1.40000007E
Tape Library Client KMIP v1.40000007F
Tape Library Server KMIP v1.400000080
Symmetric Key Lifecycle Client KMIP v1.400000081
Symmetric Key Lifecycle Server KMIP v1.400000082
Asymmetric Key Lifecycle Client KMIP v1.400000083
Asymmetric Key Lifecycle Server KMIP v1.400000084
Basic Cryptographic Client KMIP v1.400000085
Basic Cryptographic Server KMIP v1.400000086
Advanced Cryptographic Client KMIP v1.400000087
Advanced Cryptographic Server KMIP v1.400000088
RNG Cryptographic Client KMIP v1.400000089
RNG Cryptographic Server KMIP v1.40000008A
Basic Symmetric Key Foundry Client KMIP v1.40000008B
Intermediate Symmetric Key Foundry Client KMIP v1.40000008C
Advanced Symmetric Key Foundry Client KMIP v1.40000008D
Symmetric Key Foundry Server KMIP v1.40000008E
Opaque Managed Object Store Client KMIP v1.40000008F
Opaque Managed Object Store Server KMIP v1.400000090
Suite B minLOS_128 Client KMIP v1.400000091
Suite B minLOS_128 Server KMIP v1.400000092
Suite B minLOS_192 Client KMIP v1.400000093
Suite B minLOS_192 Server KMIP v1.400000094
Storage Array with Self Encrypting Drive Client KMIP v1.400000095
Storage Array with Self Encrypting Drive Server KMIP v1.400000096
HTTPS Client KMIP v1.400000097
HTTPS Server KMIP v1.400000098
JSON Client KMIP v1.400000099
JSON Server KMIP v1.40000009A
XML Client KMIP v1.40000009B
XML Server KMIP v1.40000009C
Extensions8XXXXXXX
Unwrap Mode Enumeration
Unwrap Mode
NameValue
Unspecified00000001
Processed00000002
Not Processed00000003
Extensions8XXXXXXX
Destroy Action Enumeration
Destroy Action Type
NameValue
Unspecified00000001
Key Material Deleted00000002
Key Material Shredded00000003
Meta Data Deleted00000004
Meta Data Shredded00000005
Deleted00000006
Shredded00000007
Extensions8XXXXXXX
Shredding Algorithm Enumeration
Shredding Algorithm
NameValue
Unspecified00000001
Cryptographic00000002
Unsupported00000003
Extensions8XXXXXXX
RNG Mode Enumeration
RNG Mode
NameValue
Unspecified00000001
Shared Instantiation00000002
Non-Shared Instantiation00000003
Extensions8XXXXXXX
Client Registration Method Enumeration
Client Registration Method
NameValue
Unspecified00000001
Server Pre-Generated00000002
Server On-Demand00000003
Client Generated00000004
Client Registered00000005
Extensions8XXXXXXX
Key Wrap Type Enumeration
Key Wrap Type
NameValue
Not Wrapped00000001
As Registered00000002
Extensions8XXXXXXX
Mask Generator Enumeration
Mask Generator
NameValue
MGF100000001
Extensions8XXXXXXX

Bit Masks

Cryptographic Usage Mask
Table 325: Cryptographic Usage Mask
Cryptographic Usage Mask
NameValue
Sign00000001
Verify00000002
Encrypt00000004
Decrypt00000008
Wrap Key00000010
Unwrap Key00000020
Export00000040
MAC Generate00000080
MAC Verify00000100
Derive Key00000200

Content Commitment

(Non Repudiation)

00000400
Key Agreement00000800
Certificate Sign00001000
CRL Sign00002000
Generate Cryptogram00004000
Validate Cryptogram00008000
Translate Encrypt00010000
Translate Decrypt00020000
Translate Wrap00040000
Translate Unwrap00080000
ExtensionsXXX00000

This list takes into consideration values which MAY appear in the Key Usage extension in an X.509 certificate.

Storage Status Mask
Table 326: Storage Status Mask
Storage Status Mask
NameValue
On-line storage00000001
Archival storage00000002
ExtensionsXXXXXXX0

Transport

<w:bookmarkStart w:id="4029" w:name="_toc11613"/><w:bookmarkEnd w:id="4029"/>KMIP Servers and Clients SHALL establish and maintain channel confidentiality and integrity, and provide assurance of authenticity for KMIP messaging as specified in [KMIP-Prof]. <w:bookmarkStart w:id="4030" w:name="_Toc241997169"/><w:bookmarkStart w:id="4031" w:name="_Toc241997170"/><w:bookmarkStart w:id="4032" w:name="_Toc241997172"/><w:bookmarkStart w:id="4033" w:name="_Toc241997173"/><w:bookmarkStart w:id="4034" w:name="_Toc241997174"/><w:bookmarkStart w:id="4035" w:name="_Toc241997175"/><w:bookmarkStart w:id="4036" w:name="_Toc241997176"/><w:bookmarkStart w:id="4037" w:name="_Toc241997177"/><w:bookmarkStart w:id="4038" w:name="_Toc241997179"/><w:bookmarkStart w:id="4039" w:name="_Toc241997180"/><w:bookmarkStart w:id="4040" w:name="_Toc241997181"/><w:bookmarkStart w:id="4041" w:name="_Toc241997182"/><w:bookmarkStart w:id="4042" w:name="_Toc241997184"/><w:bookmarkStart w:id="4043" w:name="_Toc241997185"/><w:bookmarkStart w:id="4044" w:name="_Toc241997187"/><w:bookmarkStart w:id="4045" w:name="_Toc241997188"/><w:bookmarkStart w:id="4046" w:name="_Toc241997189"/><w:bookmarkStart w:id="4047" w:name="_Toc241997194"/><w:bookmarkStart w:id="4048" w:name="_Toc241997196"/><w:bookmarkStart w:id="4049" w:name="_Toc241997207"/><w:bookmarkEnd w:id="4030"/><w:bookmarkEnd w:id="4031"/><w:bookmarkEnd w:id="4032"/><w:bookmarkEnd w:id="4033"/><w:bookmarkEnd w:id="4034"/><w:bookmarkEnd w:id="4035"/><w:bookmarkEnd w:id="4036"/><w:bookmarkEnd w:id="4037"/><w:bookmarkEnd w:id="4038"/><w:bookmarkEnd w:id="4039"/><w:bookmarkEnd w:id="4040"/><w:bookmarkEnd w:id="4041"/><w:bookmarkEnd w:id="4042"/><w:bookmarkEnd w:id="4043"/><w:bookmarkEnd w:id="4044"/><w:bookmarkEnd w:id="4045"/><w:bookmarkEnd w:id="4046"/><w:bookmarkEnd w:id="4047"/><w:bookmarkEnd w:id="4048"/><w:bookmarkEnd w:id="4049"/>

Error Handling

This section details the specific Result Reasons that SHALL be returned for errors detected.

General

<w:bookmarkStart w:id="4078" w:name="_Ref202252496"/>These errors <w:bookmarkEnd w:id="4078"/>MAY occur when any protocol message is received by the server or client (in response to server-to-client operations).

Table 327: General Errors
Error DefinitionActionResult Reason
Protocol major version mismatchResponse message containing a header and a Batch Item without Operation, but with the Result Status field set to Operation FailedInvalid Message
Error parsing batch item or payload within batch itemBatch item fails; Result Status is Operation FailedInvalid Message
The same field is contained in a header/batch item/payload more than onceResult Status is Operation FailedInvalid Message
Same major version, different minor versions; unknown fields/fields the server does not understandIgnore unknown fields, process rest normallyN/A
Same major & minor version, unknown fieldResult Status is Operation FailedInvalid Field
Client is not allowed to perform the specified operationResult Status is Operation FailedPermission Denied
Maximum Response Size has been exceededResult Status is Operation FailedResponse Too Large
Server does not support operationResult Status is Operation FailedOperation Not Supported
The Criticality Indicator in a Message Extension structure is set to True, but the server does not understand the extensionResult Status is Operation FailedFeature Not Supported
Message cannot be parsedResponse message containing a header and a Batch Item without Operation, but with the Result Status field set to Operation FailedInvalid Message
Operation requires attestation data which was not provided by the client, and the client has set the Attestation Capable indicator to TrueResult Status is Operation FailedAttestation Required
Operation requires attestation data which was not provided by the client, and the client has set the Attestation Capable indicator to FalseResult Status is Operation FailedPermission Denied
Operation requires attestation data and the attestation data provided by the client does not validateResult Status is Operation FailedAttestation Failed

Create

Table 328: Create Errors
Error DefinitionResult StatusResult Reason
Object Type is not recognizedOperation FailedInvalid Field
Templates that do not exist are given in requestOperation FailedItem Not Found
Incorrect attribute value(s) specifiedOperation FailedInvalid Field
Error creating cryptographic objectOperation FailedCryptographic Failure
Trying to set more instances than the server supports of an attribute that MAY have multiple instancesOperation FailedIndex Out of Bounds
Trying to create a new object with the same Name attribute value as an existing objectOperation FailedInvalid Field
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Template object is archivedOperation FailedObject Archived

Create Key Pair

Table 329: Create Key Pair Errors
Error DefinitionResult StatusResult Reason
Templates that do not exist are given in requestOperation FailedItem Not Found
Incorrect attribute value(s) specifiedOperation FailedInvalid Field
Error creating cryptographic objectOperation FailedCryptographic Failure
Trying to create a new object with the same Name attribute value as an existing objectOperation FailedInvalid Field
Trying to set more instances than the server supports of an attribute that MAY have multiple instancesOperation FailedIndex Out of Bounds
REQUIRED field(s) missingOperation FailedInvalid Message
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Template object is archivedOperation FailedObject Archived

Register

Table 330: Register Errors
Error DefinitionResult StatusResult Reason
Object Type is not recognizedOperation FailedInvalid Field
Object Type does not match type of cryptographic object providedOperation FailedInvalid Field
Templates that do not exist are given in requestOperation FailedItem Not Found
Incorrect attribute value(s) specifiedOperation FailedInvalid Field
Trying to register a new Template object containing a Name attribute with the Template structureOperation FailedInvalid Field
Trying to register a new object with the same Name attribute value as an existing objectOperation FailedInvalid Field
Trying to set more instances than the server supports of an attribute that MAY have multiple instancesOperation FailedIndex Out of Bounds
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Template object is archivedOperation FailedObject Archived
Encoding Option not permitted when Key Wrapping Specification contains attribute namesOperation FailedEncoding Option Error
Key Format Type is PKCS#12, but missing or multiple PKCS#12 Password LinksOperation FailedInvalid Field

Key Format Type is PKCS#12, but

PKCS#12 Password Link does not

contain the Unique Identifier of a

Secret Data object or the Secret Data Type is not Password.

Operation FailedInvalid Field

Re-key

Table 331: Re-key Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be re-keyedOperation FailedPermission Denied
Offset field is not permitted to be specified at the same time as any of the Activation Date, Process Start Date, Protect Stop Date, or Deactivation Date attributesOperation FailedInvalid Message
Cryptographic error during re-keyOperation FailedCryptographic Failure
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Object is archivedOperation FailedObject Archived
An offset cannot be used to specify new Process Start, Protect Stop and/or Deactivation Date attribute values since no Activation Date has been specified for the existing keyOperation FailedIllegal Operation
The Key Value is not present on the serverOperation FailedKey Value Not Present

Re-key Key Pair

Table 332: Re-key Key Pair Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be re-keyedOperation FailedPermission Denied
Offset field is not permitted to be specified at the same time as any of the Activation Date or Deactivation Date attributesOperation FailedInvalid Message
Cryptographic error during re-keyOperation FailedCryptographic Failure
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Object is archivedOperation FailedObject Archived
An offset cannot be used to specify new Process Start, Protect Stop and/or Deactivation Date attribute values since no Activation Date has been specified for the existing keyOperation FailedIllegal Operation
The Key Value is not present on the serverOperation FailedKey Value Not Present

Derive Key

Table 333: Derive Key Errors-
Error DefinitionResult StatusResult Reason
One or more of the objects specified do not existOperation FailedItem Not Found
One or more of the objects specified are not of the correct typeOperation FailedInvalid Field
Templates that do not exist are given in requestOperation FailedItem Not Found
Invalid Derivation MethodOperation FailedInvalid Field
Invalid Derivation ParametersOperation FailedInvalid Field
Ambiguous derivation data provided both with Derivation Data and Secret Data object.Operation FailedInvalid Message
Incorrect attribute value(s) specifiedOperation FailedInvalid Field
One or more of the specified objects are not able to be used to derive a new keyOperation FailedInvalid Field
Trying to derive a new key with the same Name attribute value as an existing objectOperation FailedInvalid Field
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
One or more of the objects is archivedOperation FailedObject Archived
The specified length exceeds the output of the derivation method or other cryptographic error during derivation.Operation FailedCryptographic Failure
The Key Value is not present on the serverOperation FailedKey Value Not Present

Certify

Table 334: Certify Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be certifiedOperation FailedPermission Denied
The Certificate Request does not contain a signed certificate request of the specified Certificate Request TypeOperation FailedInvalid Field
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Object is archivedOperation FailedObject Archived

Re-certify

Table 335: Re-certify Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be certifiedOperation FailedPermission Denied
The Certificate Request does not contain a signed certificate request of the specified Certificate Request TypeOperation FailedInvalid Field
Offset field is not permitted to be specified at the same time as any of the Activation Date or Deactivation Date attributesOperation FailedInvalid Message
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Object is archivedOperation FailedObject Archived

Locate

Table 336: Locate Errors
Error DefinitionResult StatusResult Reason
Non-existing attributes, attributes that the server does not understand or templates that do not exist are given in the requestOperation FailedInvalid Field

Check

Table 337: Check Errors
Error DefinitionResult StatusResult Reason
Object does not existOperation FailedItem Not Found
Object is archivedOperation FailedObject Archived
Check cannot be performed on this objectOperation FailedIllegal Operation
The client is not allowed to use the object according to the specified attributesOperation FailedPermission Denied

Get

Table 338: Get Errors
Error DefinitionResult StatusResult Reason
Object does not existOperation FailedItem Not Found
Wrapping key does not existOperation FailedItem Not Found
Object with Encryption Key Information exists, but it is not a keyOperation FailedIllegal Operation
Object with Encryption Key Information exists, but it is not able to be used for wrappingOperation FailedPermission Denied
Object with MAC/Signature Key Information exists, but it is not a keyOperation FailedIllegal Operation
Object with MAC/Signature Key Information exists, but it is not able to be used for MACing/signingOperation FailedPermission Denied
Object exists but cannot be provided in the desired Key Format Type and/or Key Compression TypeOperation FailedKey Format Type and/or Key Compression Type Not Supported
Object exists and is not a Template, but the server only has attributes for this objectOperation FailedIllegal Operation
Cryptographic Parameters associated with the object do not exist or do not match those provided in the Encryption Key Information and/or Signature Key InformationOperation FailedItem Not Found
Object is archivedOperation FailedObject Archived
Object exists but cannot be provided in the desired Encoding OptionOperation FailedEncoding Option Error
Encoding Option not permitted when Key Wrapping Specification contains attribute namesOperation FailedEncoding Option Error
Key Wrap Type is not supported by the server.Operation FailedNot Supported.
Object is SensitiveOperation FailedSensitive
Object is not ExtractableOperation FailedNot Extractble

Get Attributes

Table 339: Get Attributes Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
The same Attribute Name is present more than onceOperation FailedInvalid Message
Object is archivedOperation FailedObject Archived

Get Attribute List

Table 340: Get Attribute List Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object is archivedOperation FailedObject Archived

Add Attribute

Table 341: Add Attribute Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Attempt to add a read-only attributeOperation FailedPermission Denied
Attempt to add an attribute that is not supported for this objectOperation FailedPermission Denied
The specified attribute already existsOperation FailedIllegal Operation
New attribute contains Attribute IndexOperation FailedInvalid Field
Trying to add a Name attribute with the same value that another object already hasOperation FailedIllegal Operation
Trying to add a new instance to an attribute with multiple instances but the server limit on instances has been reachedOperation FailedIndex Out of Bounds
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Object is archivedOperation FailedObject Archived

Modify Attribute

Table 342: Modify Attribute Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
A specified attribute does not exist (i.e., it needs to first be added)Operation FailedInvalid Field
No matching attribute instance existsOperation FailedItem Not Found
The specified attribute is read-onlyOperation FailedPermission Denied
Trying to set the Name attribute value to a value already used by another objectOperation FailedIllegal Operation
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Object is archivedOperation FailedObject Archived

Delete Attribute

Table 343: Delete Attribute Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Attempt to delete a read-only/REQUIRED attributeOperation FailedPermission Denied
No matching attribute instance existsOperation FailedItem Not Found
No attribute with the specified name existsOperation FailedItem Not Found
Object is archivedOperation FailedObject Archived

Obtain Lease

Table 344: Obtain Lease Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
The server determines that a new lease is not permitted to be issued for the specified cryptographic objectOperation FailedPermission Denied
Object is archivedOperation FailedObject Archived

Get Usage Allocation

Table 345: Get Usage Allocation Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object has no Usage Limits attribute, or the object is not able to be used for applying cryptographic protectionOperation FailedIllegal Operation
No Usage Limits Count is specifiedOperation FailedInvalid Message
Object is archivedOperation FailedObject Archived
The server was not able to grant the requested amount of usage allocationOperation FailedPermission Denied

Activate

Table 346: Activate Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Unique Identifier specifies a template or other object that is not able to be activatedOperation FailedIllegal Operation
Object is not in Pre-Active stateOperation FailedPermission Denied
Object is archivedOperation FailedObject Archived

Revoke

Table 347: Revoke Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Revocation Reason is not recognizedOperation FailedInvalid Field
Unique Identifier specifies a template or other object that is not able to be revokedOperation FailedIllegal Operation
Object is archivedOperation FailedObject Archived

Destroy

Table 348: Destroy Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object exists, but has already been destroyedOperation FailedPermission Denied
Object is not in Pre-Active, Deactivated or Compromised stateOperation FailedPermission Denied
Object is archivedOperation FailedObject Archived

Archive

Table 349: Archive Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object is already archivedOperation FailedObject Archived

Recover

Table 350: Recover Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found

Validate

Table 351: Validate Errors
Error DefinitionResult StatusResult Reason
The combination of Certificate Objects and Unique Identifiers does not specify a certificate listOperation FailedInvalid Message
One or more of the objects is archivedOperation FailedObject Archived

Query

N/A

Discover Versions

N/A

Cancel

N/A

Poll

Table 352: Poll Errors
Error DefinitionResult StatusResult Reason
No outstanding operation with the specified Asynchronous Correlation Value existsOperation FailedItem Not Found

Encrypt

Table 353: Encrypt Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be used for encryptionOperation FailedPermission Denied
Cryptographic error during encryptionOperation FailedCryptographic Failure
Object is archivedOperation FailedObject Archived
The Key Value is not present on the serverOperation FailedKey Value Not Present
No outstanding operation with the specified Correlation Value existsOperation FailedItem Not Found

Decrypt

Table 354: Decrypt Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be used for decryptionOperation FailedPermission Denied
Cryptographic error during decryptionOperation FailedCryptographic Failure
Object is archivedOperation FailedObject Archived
The Key Value is not present on the serverOperation FailedKey Value Not Present
No outstanding operation with the specified Correlation Value existsOperation FailedItem Not Found

Sign

Table 355: Sign Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be used for signingOperation FailedPermission Denied
Cryptographic error during signingOperation FailedCryptographic Failure
Object is archivedOperation FailedObject Archived
The Key Value is not present on the serverOperation FailedKey Value Not Present
No outstanding operation with the specified Correlation Value existsOperation FailedItem Not Found

Signature Verify

Table 356: Signature Verify Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be used for signature verificationOperation FailedPermission Denied
Cryptographic error during signature verificationOperation FailedCryptographic Failure
Object is archivedOperation FailedObject Archived
The Key Value is not present on the serverOperation FailedKey Value Not Present
No outstanding operation with the specified Correlation Value existsOperation FailedItem Not Found

MAC

Table 357: MAC Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be used for MACingOperation FailedPermission Denied
Cryptographic error during MACingOperation FailedCryptographic Failure
Object is archivedOperation FailedObject Archived
The Key Value is not present on the serverOperation FailedKey Value Not Present
No outstanding operation with the specified Correlation Value existsOperation FailedItem Not Found

MAC Verify

Table 358: MAC Verify Errors
Error DefinitionResult StatusResult Reason
No object with the specified Unique Identifier existsOperation FailedItem Not Found
Object specified is not able to be used for MAC verificationOperation FailedPermission Denied
Cryptographic error during MAC verificationOperation FailedCryptographic Failure
Object is archivedOperation FailedObject Archived
The Key Value is not present on the serverOperation FailedKey Value Not Present
No outstanding operation with the specified Correlation Value existsOperation FailedItem Not Found

RNG Retrieve

Table 359: RNG Retrieve Errors
Error DefinitionResult StatusResult Reason
Cryptographic error during RNG RetrieveOperation FailedCryptographic Failure

RNG Seed

Table 360: RNG Seed Errors
Error DefinitionResult StatusResult Reason
Cryptographic error during RNG SeedOperation FailedCryptographic Failure

HASH

Table 361: HASH Errors
Error DefinitionResult StatusResult Reason
Cryptographic error during HASHOperation FailedCryptographic Failure
No outstanding operation with the specified Correlation Value existsOperation FailedItem Not Found

Create Split Key

Table 362: Create Split Key Errors
Error DefinitionResult StatusResult Reason
Object Type is not recognizedOperation FailedInvalid Field
Templates that do not exist are given in requestOperation FailedItem Not Found
Incorrect attribute value(s) specifiedOperation FailedInvalid Field
Error creating cryptographic objectOperation FailedCryptographic Failure
Trying to set more instances than the server supports of an attribute that MAY have multiple instancesOperation FailedIndex Out of Bounds
Trying to create a new object with the same Name attribute value as an existing objectOperation FailedInvalid Field
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Template object is archivedOperation FailedObject Archived
Split Key Method not supportedOperation FailedInvalid Field
No object with the specified Unique Identifier existsOperation FailedItem Not Found

Join Split Key

Table 363: Join Split Key Errors
Error DefinitionResult StatusResult Reason
Object Type is not recognizedOperation FailedInvalid Field
Templates that do not exist are given in requestOperation FailedItem Not Found
Incorrect attribute value(s) specifiedOperation FailedInvalid Field
Error creating cryptographic objectOperation FailedCryptographic Failure
Trying to set more instances than the server supports of an attribute that MAY have multiple instancesOperation FailedIndex Out of Bounds
Trying to create a new object with the same Name attribute value as an existing objectOperation FailedInvalid Field
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Template object is archivedOperation FailedObject Archived
Number of Unique Identifiers given in request is less than Split Key ThresholdOperation FailedCryptographic Failure?
Split Key Method not supportedOperation FailedInvalid Field
No object with the specified Unique Identifier existsOperation FailedItem Not Found
One or more of the objects is archivedOperation FailedObject Archived

Export

Error DefinitionActionResult Reason
Object does not existOperation FailedItem Not Found
Wrapping key does not existOperation FailedItem Not Found

Object with Encryption Key Information

exists, but it is not a key

Illegal Operation
Object with Encryption Key Information exists, but it is not able to be used for wrappingOperation FailedPermission Denied
Object with MAC/Signature Key Information exists, but it is not a keyOperation FailedIllegal Operation

Object with MAC/Signature Key Information exists, but it is not able to

be used for MACing/signing

Operation FailedPermission Denied
Object exists but cannot be provided in the desired Key Format Type and/or Key Compression TypeOperation FailedKey Format Type and/or Key Compression Type Not Supported
Cryptographic Parameters associated with the object do not exist or do not match those provided in the Encryption Key Information and/or Signature Key InformationOperation FailedItem Not Found
Object exists but cannot be provided in the desired Encoding OptionOperation FailedEncoding Option Error
Encoding Option not permitted when Key Wrapping Specification contains attribute namesOperation FailedEncoding Option Error
Key Wrap Type is not supported by the serverOperation FailedNot Supported

Table 364: Export Errors

Import

Table 365: Import Errors
Error DefinitionResult StatusResult Reason
Unique identifier already exists on the server and Replace Existing is false or not specified.Operation FailedObject Already Exists
Object Type is not recognizedOperation FailedInvalid Field
Object Type does not match type of cryptographic object providedOperation FailedInvalid Field
Incorrect attribute value(s) specifiedOperation FailedInvalid Field
Trying to register a new object with the same Name attribute value as an existing objectOperation FailedInvalid Field
Trying to set more instances than the server supports of an attribute that MAY have multiple instancesOperation FailedIndex Out of Bounds
The particular Application Namespace is not supported, and Application Data cannot be generated if it was omitted from the client requestOperation FailedApplication Namespace Not Supported
Encoding Option not permitted when Key Wrapping Specification contains attribute namesOperation FailedEncoding Option Error
Field is not supported by serverOperation FailedInvalid Field

Batch Items

These errors MAY occur when a protocol message with one or more batch items is processed by the server. If a message with one or more batch items was parsed correctly, then the response message SHOULD include response(s) to the batch item(s) in the request according to the table below.

Table 366: Batch Items Errors
Error DefinitionActionResult Reason
Processing of batch item fails with Batch Error Continuation Option set to StopBatch item fails and Result Status is set to Operation Failed. Responses to batch items that have already been processed are returned normally. Responses to batch items that have not been processed are not returned.See tables above, referring to the operation being performed in the batch item that failed
Processing of batch item fails with Batch Error Continuation Option set to ContinueBatch item fails and Result Status is set to Operation Failed. Responses to other batch items are returned normally.See tables above, referring to the operation being performed in the batch item that failed
Processing of batch item fails with Batch Error Continuation Option set to UndoBatch item fails and Result Status is set to Operation Failed. Batch items that had been processed have been undone and their responses are returned with Undone result status.See tables above, referring to the operation being performed in the batch item that failed

KMIP Server and Client Implementation Conformance

KMIP Server Implementation Conformance

An implementation is a conforming KMIP Server if the implementation meets the conditions specified in one or more server profiles specified in [KMIP-Prof].

A KMIP server implementation SHALL be a conforming KMIP Server.

If a KMIP server implementation claims support for a particular server profile, then the implementation SHALL conform to all normative statements within the clauses specified for that profile and for any subclauses to each of those clauses.

KMIP Client Implementation Conformance

An implementation is a conforming KMIP Client if the implementation meets the conditions specified in one or more client profiles specified in [KMIP-Prof].

A KMIP client implementation SHALL be a conforming KMIP Client.

If a KMIP client implementation claims support for a particular client profile, then the implementation SHALL conform to all normative statements within the clauses specified for that profile and for any subclauses to each of those clauses.

Acknowledgments

The following individuals have participated in the creation of this specification and are gratefully acknowledged:

Participants:

Anthony Berglas, Cryptsoft

Justin Corlett, Cryptsoft

Tony Cox, Cryptsoft

Tim Hudson, Cryptsoft

Bruce Rich, Cryptsoft

Greg Scott, Cryptsoft

Magda Zdunkiewicz, Cryptsoft

Judith Furlong, Dell

Michael Phillips, Dell

Lina Baquero, Fornetix

Jeff Bartell, Fornetix

Stephen Edwards, Fornetix

Gary Gardner, Fornetix

Heather Stevens, Fornetix

Gerald Stueve, Fornetix

Charles White, Fornetix

Alex Downey, Futurex

Hannah Lee, Hancom Secure, Inc.

Indra Fitzgerald, Hewlett Packard Enterprise (HPE)

Christopher Hillier, Hewlett Packard Enterprise (HPE)

Matt Suh, Hewlett Packard Enterprise (HPE)

Nathan Turajski, Hewlett Packard Enterprise (HPE)

Steve Wierenga, Hewlett Packard Enterprise (HPE)

Rinkesh Bansal, IBM

Mathias Bjorkqvist, IBM

Kevin Driver, IBM

Prashant Mestri, IBM

Krishna Yellepeddy, IBM

Andre Bereza, KRYPTUS

Tim Chevalier, NetApp

Hai-May Chao, Oracle

Valerie Fenwick, Oracle

Susan Gleeson, Oracle

Hal Lockhart, Oracle

Saikat Saha, Oracle

Radhika Siravara, Oracle

Mark Joseph, P6R, Inc

Jim Susoy, P6R, Inc

John Leiseboer, QuintessenceLabs Pty Ltd.

David Featherstone, SafeNet, Inc.

Joseph Brand, Semper Fortis Solutions

Chris Skiscim, Semper Fortis Solutions

Kathy Kriese, Symantec Corp.

Robert Lockhart, Thales e-Security

Steve He, Vormetric, Inc.

Peter Tsai, Vormetric, Inc.

Joshua Zhu, Vormetric, Inc.

Attribute Cross-Reference

The following table of Attribute names indicates the Managed Object(s) for which each attribute applies. This table is not normative.

Table 367: Attribute Cross-reference
Attribute NameManaged Object
CertificateSymmetric KeyPublic KeyPrivate KeySplit KeyTemplateSecret DataOpaque ObjectPGP Key
Unique Identifierxxxxxxxxx
Namexxxxxxxxx
Object Typexxxxxxxxx
Cryptographic Algorithmxxxxxxx
Cryptographic Domain Parametersxxx
Cryptographic Lengthxxxxxxx
Cryptographic Parametersxxxxxxx
Certificate Typexx
Certificate Identifierxx
Certificate Issuerxx
Certificate Lengthxx
Certificate Subjectxx
Digital Signature Algorithmxx
Digestxxxxxxx
Operation Policy Namexxxxxxxxx
Cryptographic Usage Maskxxxxxxxx
Lease Timexxxxxxxx
Usage Limitsxxxxx
Statexxxxxxx
Initial Datexxxxxxxxx
Activation Datexxxxxxxx
Process Start Datexxx
Protect Stop Datexxx
Deactivation Datexxxxxxxxx
Destroy Datexxxxxxxx
Compromise Occurrence Datexxxxxxxx
Compromise Datexxxxxxxx
Revocation Reasonxxxxxxxx
Archive Datexxxxxxxxx
Object Groupxxxxxxxxx
Freshxxxxxx
Linkxxxxxxx
Application Specific Informationxxxxxxxxx
Contact Informationxxxxxxxxx
Last Change Datexxxxxxxxx
Custom Attributexxxxxxxxx
Alternative Namexxxxxxxxx
Key Value Presentxxxx
Key Value Locationxxxx
Original Creation Datexxxxxxxxx

Tag Cross-Reference

This table is not normative.

Table 368: Tag Cross-reference
ObjectDefinedTypeNotes
Activation Date3.24Date-Time
Application Data3.36Text String
Application Namespace3.36Text String
Application Specific Information3.36Structure
Archive Date3.32Date-Time
Asynchronous Correlation Value6.8Byte String
Asynchronous Indicator6.7Boolean
Attribute2.1.1Structure
Attribute Index2.1.1Integer
Attribute Name2.1.1Text String
Attribute Value2.1.1*type varies
Authentication6.6Structure
Batch Count6.14Integer
Batch Error Continuation Option6.13, 9.1.3.2.30Enumeration
Batch Item6.15Structure
Batch Order Option6.12Boolean
Block Cipher Mode3.6, 9.1.3.2.14Enumeration
Cancellation Result4.27, 9.1.3.2.25Enumeration
Certificate2.2.1Structure
Certificate Identifier3.13Structuredeprecated as of version 1.1
Certificate Issuer3.13Structuredeprecated as of version 1.1
Certificate Issuer Alternative Name3.15Text Stringdeprecated as of version 1.1
Certificate Issuer Distinguished Name3.15Text Stringdeprecated as of version 1.1
Certificate Length3.9Integer
Certificate Request4.7, 4.8Byte String
Certificate Request Type4.7, 4.8, 9.1.3.2.22Enumeration
Certificate Serial Number3.9Byte String
Certificate Subject3.14Structuredeprecated as of version 1.1
Certificate Subject Alternative Name3.14Text Stringdeprecated as of version 1.1
Certificate Subject Distinguished Name3.14Text Stringdeprecated as of version 1.1
Certificate Type2.2.1, 3.8 , 9.1.3.2.6Enumeration
Certificate Value2.2.1Byte String
Common Template-Attribute2.1.8Structure
Compromise Occurrence Date3.29Date-Time
Compromise Date3.30Date-Time
Contact Information3.37Text String
Credential2.1.2Structure
Credential Type2.1.2, 9.1.3.2.1Enumeration
Credential Value2.1.2*type varies
Criticality Indicator6.16Boolean
CRT Coefficient2.1.7Big Integer
Cryptographic Algorithm3.4, 9.1.3.2.13Enumeration
Cryptographic Length3.5Integer
Cryptographic Parameters3.6Structure
Cryptographic Usage Mask3.19, 9.1.3.3.1IntegerBit mask
Custom Attribute3.39*type varies
D2.1.7Big Integer
Deactivation Date3.27Date-Time
Derivation Data4.6Byte String
Derivation Method4.6, 9.1.3.2.21Enumeration
Derivation Parameters4.6Structure
Destroy Date3.28Date-Time
Device Identifier2.1.2Text String
Device Serial Number2.1.2Text String
Digest3.17Structure
Digest Value3.17Byte String
Digital Signature Algorithm3.16Enumeration
Encoding Option2.1.5, 2.1.6, 9.1.3.2.32Enumeration
Encryption Key Information2.1.5Structure
Extension Information2.1.9Structure
Extension Name2.1.9Text String
Extension Tag2.1.9Integer
Extension Type2.1.9Integer
Extensions9.1.3
Fresh3.34Boolean
G2.1.7Big Integer
Hashing Algorithm3.6, 3.17, 9.1.3.2.16Enumeration
Initial Date3.23Date-Time
Initialization Vector4.6Byte String
Issuer3.13Text Stringdeprecated as of version 1.1
Issuer Alternative Name3.12Byte String
Issuer Distinguished Name3.12Byte String
Iteration Count4.6Integer
IV/Counter/Nonce2.1.5Byte String
J2.1.7Big Integer
Key2.1.7Byte String
Key Block2.1.3Structure
Key Compression Type9.1.3.2.2Enumeration
Key Format Type2.1.4, 9.1.3.2.3Enumeration
Key Material2.1.4, 2.1.7Byte String / Structure
Key Part Identifier2.2.5Integer
Key Role Type3.6, 9.1.3.2.17Enumeration
Key Value2.1.4Byte String / Structure
Key Wrapping Data2.1.5Structure
Key Wrapping Specification2.1.6Structure
Last Change Date3.38Date-Time
Lease Time3.20Interval
Link3.35Structure
Link Type3.35, 9.1.3.2.20Enumeration
Linked Object Identifier3.35Text String
MAC/Signature2.1.5Byte String
MAC/Signature Key Information2.1.5Text String
Machine Identifier2.1.2Text String
Maximum Items4.9Integer
Maximum Response Size6.3Integer
Media Identifier2.1.2Text String
Message Extension6.16Structure
Modulus2.1.7Big Integer
Name3.2Structure
Name Type3.2, 9.1.3.2.11Enumeration
Name Value3.2Text String
Network Identifier2.1.2Text String
Object Group3.33Text String
Object Group Member4.9Enumeration
Object Type3.3, 9.1.3.2.12Enumeration
Offset4.4, 4.8Interval
Opaque Data Type2.2.8, 9.1.3.2.10Enumeration
Opaque Data Value2.2.8Byte String
Opaque Object2.2.8Structure
Operation6.2, 9.1.3.2.27Enumeration
Operation Policy Name3.18Text String
P2.1.7Big Integer
Password2.1.2Text String
Padding Method3.6, 9.1.3.2.15Enumeration
Prime Exponent P2.1.7Big Integer
Prime Exponent Q2.1.7Big Integer
Prime Field Size2.2.5Big Integer
Private Exponent2.1.7Big Integer
Private Key2.2.4Structure
Private Key Template-Attribute2.1.8Structure
Private Key Unique Identifier4.2Text String
Process Start Date3.25Date-Time
Protect Stop Date3.26Date-Time
Protocol Version6.1Structure
Protocol Version Major6.1Integer
Protocol Version Minor6.1Integer
Public Exponent2.1.7Big Integer
Public Key2.2.3Structure
Public Key Template-Attribute2.1.8Structure
Public Key Unique Identifier4.2Text String
Put Function5.2, 9.1.3.2.26Enumeration
Q2.1.7Big Integer
Q String2.1.7Byte String
Qlength3.7Integer
Query Function4.25, 9.1.3.2.24Enumeration
Recommended Curve2.1.7, 3.7, 9.1.3.2.5Enumeration
Replaced Unique Identifier5.2Text String
Request Header7.2Structure
Request Message7.1Structure
Request Payload4, 5, 7.2Structure
Response Header7.2Structure
Response Message7.1Structure
Response Payload4, 7.2Structure
Result Message6.11Text String
Result Reason6.10, 9.1.3.2.29Enumeration
Result Status6.9, 9.1.3.2.28Enumeration
Revocation Message3.31Text String
Revocation Reason3.31Structure
Revocation Reason Code3.31, 9.1.3.2.19Enumeration
Salt4.6Byte String
Secret Data2.2.7Structure
Secret Data Type2.2.7, 9.1.3.2.9Enumeration
Serial Number3.13Text Stringdeprecated as of version 1.1
Server Information4.25Structurecontents vendor-specific
Split Key2.2.5Structure
Split Key Method2.2.5, 9.1.3.2.8Enumeration
Split Key Parts2.2.5Integer
Split Key Threshold2.2.5Integer
State3.22, 9.1.3.2.18Enumeration
Storage Status Mask4.9, 9.1.3.3.2IntegerBit mask
Subject Alternative Name3.11Byte String
Subject Distinguished Name3.11Byte String
Symmetric Key2.2.2Structure
Template2.2.6Structure
Template-Attribute2.1.8Structure
Time Stamp6.5Date-Time
Transparent*2.1.7Structure
Unique Identifier3.1Text String
Unique Batch Item ID6.4Byte String
Username2.1.2Text String
Usage Limits3.21Structure
Usage Limits Count3.21Long Integer
Usage Limits Total3.21Long Integer
Usage Limits Unit3.21Enumeration
Validity Date4.24Date-Time
Validity Indicator4.24, 9.1.3.2.23Enumeration
Vendor Extension6.16Structurecontents vendor-specific
Vendor Identification4.25, 6.16Text String
Wrapping Method2.1.5, 9.1.3.2.4Enumeration
X2.1.7Big Integer
X.509 Certificate Identifier3.9Structure
X.509 Certificate Issuer3.12Structure
X.509 Certificate Subject3.11Structure
Y2.1.7Big Integer

Operations and Object Cross-Reference

The following table indicates the types of Managed Object(s) that each Operation accepts as input or provides as output. This table is not normative.

Table 369: Operation and Object Cross-reference
OperationManaged Objects
CertificateSymmetric KeyPublic KeyPrivate KeySplit KeyTemplateSecret DataOpaque ObjectPGP Key
CreateN/AYN/AN/AN/AYN/AN/AN/A
Create Key PairN/AN/AYYN/AYN/AN/AN/A
RegisterYYYYYYYYY
Re-keyN/AYN/AN/AN/AYN/AN/AN/A
Re-key Key PairN/AN/AYYN/AYN/AN/AN/A
Derive KeyN/AYN/AN/AN/AYYN/AN/A
CertifyYN/AYN/AN/AYN/AN/AY
Re-certifyYN/AN/AN/AN/AYN/AN/AY
LocateYYYYYYYYY
CheckYYYYYN/AYYY
GetYYYYYYYYY
Get AttributesYYYYYYYYY
Get Attribute ListYYYYYYYYY
Add AttributeYYYYYYYYY
Modify AttributeYYYYYYYYY
Delete AttributeYYYYYYYYY
Obtain LeaseYYYYYN/AYN/AY
Get Usage AllocationN/AYYYN/AN/AN/AN/AN/A
ActivateYYYYYN/AYN/AY
RevokeYYN/AYYN/AYYY
DestroyYYYYYYYYY
ArchiveYYYYYYYYY
RecoverYYYYYYYYY
ValidateYN/AN/AN/AN/AN/AN/AN/AY
QueryN/AN/AN/AN/AN/AN/AN/AN/AN/A
CancelN/AN/AN/AN/AN/AN/AN/AN/AN/A
PollN/AN/AN/AN/AN/AN/AN/AN/AN/A
NotifyN/AN/AN/AN/AN/AN/AN/AN/AN/A
PutYYYYYYYYY
Discover VersionsN/AN/AN/AN/AN/AN/AN/AN/AN/A

Acronyms

The following abbreviations and acronyms are used in this document:

ItemDescription
3DESTriple Data Encryption Standard specified in ANSI X9.52
AESAdvanced Encryption Standard specified in [FIPS197]FIPS 197
ASN.1Abstract Syntax Notation One specified in ITU-T X.680
BDKBase Derivation Key specified in ANSI X9 TR-31
CACertification Authority
CBCCipher Block Chaining
CCMCounter with CBC-MAC specified in [SP800-38C]
CFBCipher Feedback specified in [SP800-38A]
CMACCipher-based MAC specified in [SP800-38B]
CMCCertificate Management Messages over CMS specified in [RFC5272]
CMPCertificate Management Protocol specified in [RFC4210]
CPUCentral Processing Unit
CRLCertificate Revocation List specified in [RFC5280]
CRMFCertificate Request Message Format specified in [RFC4211]
CRTChinese Remainder Theorem
CTRCounter specified in [SP800-38A]
CVKCard Verification Key specified in ANSI X9 TR-31
DEKData Encryption Key
DERDistinguished Encoding Rules specified in ITU-T X.690
DESData Encryption Standard specified in FIPS 46-3
DHDiffie-Hellman specified in ANSI X9.42
DNSDomain Name Server
DSADigital Signature Algorithm specified in FIPS 186-3
DSKPPDynamic Symmetric Key Provisioning Protocol
ECBElectronic Code Book
ECDHElliptic Curve Diffie-Hellman specified in [X9.63][SP800-56A]
ECDSAElliptic Curve Digital Signature Algorithm specified in [X9.62]
ECMQVElliptic Curve Menezes Qu Vanstone specified in [X9.63][SP800-56A]
FFCFinite Field Cryptography
FIPSFederal Information Processing Standard
GCMGalois/Counter Mode specified in [SP800-38D]
GFGalois field (or finite field)
HMACKeyed-Hash Message Authentication Code specified in [FIPS198-1][RFC2104]
HTTPHyper Text Transfer Protocol
HTTP(S)Hyper Text Transfer Protocol (Secure socket)
IEEEInstitute of Electrical and Electronics Engineers
IETFInternet Engineering Task Force
IPInternet Protocol
IPsecInternet Protocol Security
IVInitialization Vector
KEKKey Encryption Key
KMIPKey Management Interoperability Protocol
MACMessage Authentication Code
MKACEMV/chip card Master Key: Application Cryptograms specified in ANSI X9 TR-31
MKCPEMV/chip card Master Key: Card Personalization specified in ANSI X9 TR-31
MKDACEMV/chip card Master Key: Data Authentication Code specified in ANSI X9 TR-31
MKDNEMV/chip card Master Key: Dynamic Numbers specified in ANSI X9 TR-31
MKOTHEMV/chip card Master Key: Other specified in ANSI X9 TR-31
MKSMCEMV/chip card Master Key: Secure Messaging for Confidentiality specified in X9 TR-31
MKSMIEMV/chip card Master Key: Secure Messaging for Integrity specified in ANSI X9 TR-31
MD2Message Digest 2 Algorithm specified in [RFC1319]
MD4Message Digest 4 Algorithm specified in [RFC1320]
MD5Message Digest 5 Algorithm specified in [RFC1321]
NISTNational Institute of Standards and Technology
OAEPOptimal Asymmetric Encryption Padding specified in [PKCS#1]
OFBOutput Feedback specified in [SP800-38A]
PBKDF2Password-Based Key Derivation Function 2 specified in [RFC2898]
PCBCPropagating Cipher Block Chaining
PEMPrivacy Enhanced Mail specified in [RFC1421]
PGPOpenPGP specified in [RFC4880]
PKCSPublic-Key Cryptography Standards
PKCS#1RSA Cryptography Specification Version 2.1 specified in [RFC3447]
PKCS#5Password-Based Cryptography Specification Version 2 specified in [RFC2898]
PKCS#8Private-Key Information Syntax Specification Version 1.2 specified in [RFC5208] [RFC5958]
PKCS#10Certification Request Syntax Specification Version 1.7 specified in [RFC2986]
PKCS#11Cryptographic Token Interface Standard
PKCS#12Personal Information Exchange Syntax
POSIXPortable Operating System Interface
RFCRequest for Comments documents of IETF
RSARivest, Shamir, Adelman (an algorithm)
RNGRandom Number Generator
SCEPSimple Certificate Enrollment Protocol
SCVPServer-based Certificate Validation Protocol
SHASecure Hash Algorithm specified in FIPS 180-2
SPSpecial Publication
SSL/TLSSecure Sockets Layer/Transport Layer Security
S/MIMESecure/Multipurpose Internet Mail Extensions
TDEAsee 3DES
TCPTransport Control Protocol
TTLVTag, Type, Length, Value
URIUniform Resource Identifier
UTCCoordinated Universal Time
UTF-8Universal Transformation Format 8-bit specified in [RFC3629]
XKMSXML Key Management Specification
XMLExtensible Markup Language
XTSXEX Tweakable Block Cipher with Ciphertext Stealing specified in [SP800-38E]
X.509Public Key Certificate specified in [RFC5280]
ZPKPIN Block Encryption Key specified in ANSI X9 TR-31

List of Figures and Tables

Figure 1: Cryptographic Object States and Transitions 63

Table 1: Terminology 14

Table 2: Attribute Object Structure 19

Table 3: Credential Object Structure 20

Table 4: Credential Value Structure for the Username and Password Credential 20

Table 5: Credential Value Structure for the Device Credential 20

Table 6: Credential Value Structure for the Attestation Credential 21

Table 7: Key Block Object Structure 22

Table 8: Key Value Object Structure 23

Table 9: Key Wrapping Data Object Structure 24

Table 10: Encryption Key Information Object Structure 24

Table 11: MAC/Signature Key Information Object Structure 25

Table 12: Key Wrapping Specification Object Structure 26

Table 13: Parameter mapping. 27

Table 14: Key Material Object Structure for Transparent Symmetric Keys 27

Table 15: Key Material Object Structure for Transparent DSA Private Keys 28

Table 16: Key Material Object Structure for Transparent DSA Public Keys 28

Table 17: Key Material Object Structure for Transparent RSA Private Keys 28

Table 18: Key Material Object Structure for Transparent RSA Public Keys 29

Table 19: Key Material Object Structure for Transparent DH Private Keys 29

Table 20: Key Material Object Structure for Transparent DH Public Keys 29

Table 21: Key Material Object Structure for Transparent ECDSA Private Keys 30

Table 22: Key Material Object Structure for Transparent ECDSA Public Keys 30

Table 23: Key Material Object Structure for Transparent ECDH Private Keys 30

Table 24: Key Material Object Structure for Transparent ECDH Public Keys 31

Table 25: Key Material Object Structure for Transparent ECMQV Private Keys 31

Table 26: Key Material Object Structure for Transparent ECMQV Public Keys 31

Table 27: Key Material Object Structure for Transparent EC Private Keys 31

Table 28: Key Material Object Structure for Transparent EC Public Keys 32

Table 29: Template-Attribute Object Structure 32

Table 30: Extension Information Structure 32

Table 31: Data Structure 33

Table 32: Data Length Structure 33

Table 33: Signature Data Structure 33

Table 34: MAC Data Structure 33

Table 35: Nonce Structure 33

Table 36: Correlation Value Structure 34

Table 37: Init Indicator Structure 34

Table 38: Final Indicator Structure 34

Table 39: RNG Parameters Structure 35

Table 40: Profile Information Structure 35

Table 41: Validation Information Structure 36

Table 42: Capability Information Structure 37

Table 43 Authenticated Encryption Additional Data 37

Table 44 Authenticated Encryption Tag 37

Table 45: Certificate Object Structure 38

Table 46: Symmetric Key Object Structure 38

Table 47: Public Key Object Structure 38

Table 48: Private Key Object Structure 38

Table 49: Split Key Object Structure 39

Table 50: Template Object Structure 40

Table 51: Secret Data Object Structure 40

Table 52: Opaque Object Structure 40

Table 53: PGP Key Object Structure 41

Table 54: Attribute Rules 43

Table 55: Unique Identifier Attribute 43

Table 56: Unique Identifier Attribute Rules 44

Table 57: Name Attribute Structure 44

Table 58: Name Attribute Rules 44

Table 59: Object Type Attribute 45

Table 60: Object Type Attribute Rules 45

Table 61: Cryptographic Algorithm Attribute 45

Table 62: Cryptographic Algorithm Attribute Rules 45

Table 63: Cryptographic Length Attribute 46

Table 64: Cryptographic Length Attribute Rules 46

Table 65: Cryptographic Parameters Attribute Structure 47

Table 66: Cryptographic Parameters Attribute Rules 48

Table 67: Key Role Types 48

Table 68: Cryptographic Domain Parameters Attribute Structure 49

Table 69: Cryptographic Domain Parameters Attribute Rules 49

Table 70: Certificate Type Attribute 49

Table 71: Certificate Type Attribute Rules 50

Table 72: Certificate Length Attribute 50

Table 73: Certificate Length Attribute Rules 50

Table 74: X.509 Certificate Identifier Attribute Structure 50

Table 75: X.509 Certificate Identifier Attribute Rules 51

Table 76: X.509 Certificate Subject Attribute Structure 51

Table 77: X.509 Certificate Subject Attribute Rules 51

Table 78: X.509 Certificate Issuer Attribute Structure 52

Table 79: X.509 Certificate Issuer Attribute Rules 52

Table 80: Certificate Identifier Attribute Structure 52

Table 81: Certificate Identifier Attribute Rules 53

Table 82: Certificate Subject Attribute Structure 53

Table 83: Certificate Subject Attribute Rules 53

Table 84: Certificate Issuer Attribute Structure 54

Table 85: Certificate Issuer Attribute Rules 54

Table 86: Digital Signature Algorithm Attribute 54

Table 87: Digital Signature Algorithm Attribute Rules 55

Table 88: Digest Attribute Structure 55

Table 89: Digest Attribute Rules 56

Table 90: Operation Policy Name Attribute 56

Table 91: Operation Policy Name Attribute Rules 57

Table 92: Default Operation Policy for Secret Objects 58

Table 93: Default Operation Policy for Certificates and Public Key Objects 59

Table 94: Default Operation Policy for Private Template Objects 59

Table 95: Default Operation Policy for Public Template Objects 60

Table 96: X.509 Key Usage to Cryptographic Usage Mask Mapping 61

Table 97: Cryptographic Usage Mask Attribute 61

Table 98: Cryptographic Usage Mask Attribute Rules 61

Table 99: Lease Time Attribute 62

Table 100: Lease Time Attribute Rules 62

Table 101: Usage Limits Attribute Structure 62

Table 102: Usage Limits Attribute Rules 63

Table 103: State Attribute 64

Table 104: State Attribute Rules 65

Table 105: Initial Date Attribute 65

Table 106: Initial Date Attribute Rules 65

Table 107: Activation Date Attribute 66

Table 108: Activation Date Attribute Rules 66

Table 109: Process Start Date Attribute 66

Table 110: Process Start Date Attribute Rules 67

Table 111: Protect Stop Date Attribute 67

Table 112: Protect Stop Date Attribute Rules 67

Table 113: Deactivation Date Attribute 68

Table 114: Deactivation Date Attribute Rules 68

Table 115: Destroy Date Attribute 68

Table 116: Destroy Date Attribute Rules 69

Table 117: Compromise Occurrence Date Attribute 69

Table 118: Compromise Occurrence Date Attribute Rules 69

Table 119: Compromise Date Attribute 69

Table 120: Compromise Date Attribute Rules 70

Table 121: Revocation Reason Attribute Structure 70

Table 122: Revocation Reason Attribute Rules 70

Table 123: Archive Date Attribute 70

Table 124: Archive Date Attribute Rules 71

Table 125: Object Group Attribute 71

Table 126: Object Group Attribute Rules 71

Table 127: Fresh Attribute 71

Table 128: Fresh Attribute Rules 72

Table 129: Link Attribute Structure 73

Table 130: Link Attribute Structure Rules 73

Table 131: Application Specific Information Attribute 73

Table 132: Application Specific Information Attribute Rules 74

Table 133: Contact Information Attribute 74

Table 134: Contact Information Attribute Rules 74

Table 135: Last Change Date Attribute 74

Table 136: Last Change Date Attribute Rules 75

Table 137 Custom Attribute 75

Table 138: Custom Attribute Rules 75

Table 139: Alternative Name Attribute Structure 76

Table 140: Alternative Name Attribute Rules 76

Table 141: Key Value Present Attribute 76

Table 142: Key Value Present Attribute Rules 77

Table 143: Key Value Location Attribute 77

Table 144: Key Value Location Attribute Rules 77

Table 145: Original Creation Date Attribute 78

Table 146: Original Creation Date Attribute Rules 78

Table 147: Random Number Generator Attribute 78

Table 148: Random Number Generator Attribute Rules 79

Table 149: PKCS#12 Friendly Name Attribute 79

Table 150: Friendly Name Attribute Rules 79

Table 151: Description Attribute 80

Table 152: Description Attribute Rules 80

Table 153: Comment Attribute 80

Table 154: Comment Rules 80

Table 155: Sensitive Attribute 80

Table 156: Sensitive Attribute Rules 81

Table 157: Always Sensitive Attribute 81

Table 158: Always Sensitive Attribute Rules 81

Table 159: Extractable Attribute 81

Table 160: Extractable Attribute Rules 82

Table 161: Never Extractable Attribute 82

Table 162: Never Extractable Attribute Rules 82

Table 163: Create Request Payload 84

Table 164: Create Response Payload 85

Table 165: Create Attribute Requirements 85

Table 166: Create Key Pair Request Payload 86

Table 167: Create Key Pair Response Payload 87

Table 168: Create Key Pair Attribute Requirements 88

Table 169: Register Request Payload 89

Table 170: Register Response Payload 89

Table 171: Register Attribute Requirements 90

Table 172: Computing New Dates from Offset during Re-key 91

Table 173: Re-key Attribute Requirements 91

Table 174: Re-key Request Payload 92

Table 175: Re-key Response Payload 92

Table 176: Computing New Dates from Offset during Re-key Key Pair 93

Table 177: Re-key Key Pair Attribute Requirements 94

Table 178: Re-key Key Pair Request Payload 95

Table 179: Re-key Key Pair Response Payload 96

Table 180: Derive Key Request Payload 97

Table 181: Derive Key Response Payload 98

Table 182: Derivation Parameters Structure (Except PBKDF2) 98

Table 183: PBKDF2 Derivation Parameters Structure 99

Table 184: Certify Request Payload 100

Table 185: Certify Response Payload 100

Table 186: Computing New Dates from Offset during Re-certify 101

Table 187: Re-certify Attribute Requirements 101

Table 188: Re-certify Request Payload 102

Table 189: Re-certify Response Payload 102

Table 190: Locate Request Payload 104

Table 191: Locate Response Payload 104

Table 192: Check Request Payload 105

Table 193: Check Response Payload 106

Table 194: Get Request Payload 107

Table 195: Get Response Payload 107

Table 196: Get Attributes Request Payload 107

Table 197: Get Attributes Response Payload 108

Table 198: Get Attribute List Request Payload 108

Table 199: Get Attribute List Response Payload 108

Table 200: Add Attribute Request Payload 108

Table 201: Add Attribute Response Payload 109

Table 202: Modify Attribute Request Payload 109

Table 203: Modify Attribute Response Payload 109

Table 204: Delete Attribute Request Payload 110

Table 205: Delete Attribute Response Payload 110

Table 206: Obtain Lease Request Payload 110

Table 207: Obtain Lease Response Payload 111

Table 208: Get Usage Allocation Request Payload 111

Table 209: Get Usage Allocation Response Payload 111

Table 210: Activate Request Payload 112

Table 211: Activate Response Payload 112

Table 212: Revoke Request Payload 112

Table 213: Revoke Response Payload 113

Table 214: Destroy Request Payload 113

Table 215: Destroy Response Payload 113

Table 216: Archive Request Payload 113

Table 217: Archive Response Payload 114

Table 218: Recover Request Payload 114

Table 219: Recover Response Payload 114

Table 220: Validate Request Payload 115

Table 221: Validate Response Payload 115

Table 222: Query Request Payload 116

Table 223: Query Response Payload 117

Table 224: Discover Versions Request Payload 118

Table 225: Discover Versions Response Payload 118

Table 226: Cancel Request Payload 118

Table 227: Cancel Response Payload 118

Table 228: Poll Request Payload 119

Table 229: Encrypt Request Payload 120

Table 230: Encrypt Response Payload 121

Table 231: Decrypt Request Payload 122

Table 232: Decrypt Response Payload 123

Table 233: Sign Request Payload 124

Table 234: Sign Response Payload 125

Table 235: Signature Verify Request Payload 126

Table 236: Signature Verify Response Payload 127

Table 237: MAC Request Payload 128

Table 238: MAC Response Payload 128

Table 239: MAC Verify Request Payload 129

Table 240: MAC Verify Response Payload 130

Table 241: RNG Retrieve Request Payload 130

Table 242: RNG Retrieve Response Payload 130

Table 243: RNG Seed Request Payload 131

Table 244: RNG Seed Response Payload 131

Table 245: Hash Request Payload 131

Table 246: Hash Response Payload 132

Table 247: Create Split Key Request Payload 132

Table 248: Create Split Key Response Payload 133

Table 249: Join Split Key Request Payload 133

Table 250: Join Split Key Response Payload 133

Table 251: Export Request Payload 134

Table 252: Export Response Payload 134

Table 253: Export Request Payload 135

Table 254: Export Response Payload 135

Table 255: Notify Message Payload 136

Table 256: Put Message Payload 137

Table 257: Query Request Payload 138

Table 258: Query Response Payload 139

Table 259: Discover Versions Request Payload 140

Table 260: Discover Versions Response Payload 140

Table 261: Protocol Version Structure in Message Header 141

Table 262: Operation in Batch Item 141

Table 263: Maximum Response Size in Message Request Header 141

Table 264: Unique Batch Item ID in Batch Item 142

Table 265: Time Stamp in Message Header 142

Table 266: Authentication Structure in Message Header 142

Table 267: Asynchronous Indicator in Message Request Header 142

Table 268: Asynchronous Correlation Value in Response Batch Item 143

Table 269: Result Status in Response Batch Item 143

Table 270: Result Reason in Response Batch Item 144

Table 271: Result Message in Response Batch Item 144

Table 272: Batch Order Option in Message Request Header 144

Table 273: Batch Error Continuation Option in Message Request Header 145

Table 274: Batch Count in Message Header 145

Table 275: Batch Item in Message 145

Table 276: Message Extension Structure in Batch Item 145

Table 277: Attestation Capable Indicator in Message Request Header 146

Table 278: Client Correlation Value in Message Request Header 146

Table 279: Server Correlation Value in Message Request Header 146

Table 280: Request Message Structure 147

Table 281: Response Message Structure 147

Table 282: Request Header Structure 148

Table 283: Request Batch Item Structure 148

Table 284: Response Header Structure 149

Table 285: Response Batch Item Structure 149

Table 286: Allowed Item Type Values 151

Table 287: Allowed Item Length Values 152

Table 288: Tag Values 162

Table 289: Credential Type Enumeration 163

Table 290: Key Compression Type Enumeration 163

Table 291: Key Format Type Enumeration 164

Table 292: Wrapping Method Enumeration 164

Table 293: Recommended Curve Enumeration for ECDSA, ECDH, and ECMQV 166

Table 294: Certificate Type Enumeration 167

Table 295: Digital Signature Algorithm Enumeration 167

Table 296: Split Key Method Enumeration 168

Table 297: Secret Data Type Enumeration 168

Table 298: Opaque Data Type Enumeration 168

Table 299: Name Type Enumeration 168

Table 300: Object Type Enumeration 169

Table 301: Cryptographic Algorithm Enumeration 171

Table 302: Block Cipher Mode Enumeration 171

Table 303: Padding Method Enumeration 172

Table 304: Hashing Algorithm Enumeration 172

Table 305: Key Role Type Enumeration 173

Table 306: State Enumeration 174

Table 307: Revocation Reason Code Enumeration 174

Table 308: Link Type Enumeration 175

Table 309: Derivation Method Enumeration 175

Table 310: Certificate Request Type Enumeration 175

Table 311: Validity Indicator Enumeration 176

Table 312: Query Function Enumeration 176

Table 313: Cancellation Result Enumeration 176

Table 314: Put Function Enumeration 177

Table 315: Operation Enumeration 179

Table 316: Result Status Enumeration 179

Table 317: Result Reason Enumeration 180

Table 318: Batch Error Continuation Option Enumeration 181

Table 319: Usage Limits Unit Enumeration 181

Table 320: Encoding Option Enumeration 181

Table 321: Object Group Member Enumeration 181

Table 322: Alternative Name Type Enumeration 182

Table 323: Key Value Location Type Enumeration 182

Table 324: Attestation Type Enumeration 182

Table 325: Cryptographic Usage Mask 192

Table 326: Storage Status Mask 192

Table 327: General Errors 196

Table 328: Create Errors 196

Table 329: Create Key Pair Errors 197

Table 330: Register Errors 198

Table 331: Re-key Errors 199

Table 332: Re-key Key Pair Errors 200

Table 333: Derive Key Errors- 201

Table 334: Certify Errors 202

Table 335: Re-certify Errors 202

Table 336: Locate Errors 203

Table 337: Check Errors 203

Table 338: Get Errors 204

Table 339: Get Attributes Errors 205

Table 340: Get Attribute List Errors 205

Table 341: Add Attribute Errors 205

Table 342: Modify Attribute Errors 206

Table 343: Delete Attribute Errors 206

Table 344: Obtain Lease Errors 206

Table 345: Get Usage Allocation Errors 207

Table 346: Activate Errors 207

Table 347: Revoke Errors 207

Table 348: Destroy Errors 208

Table 349: Archive Errors 208

Table 350: Recover Errors 208

Table 351: Validate Errors 208

Table 352: Poll Errors 209

Table 353: Encrypt Errors 209

Table 354: Decrypt Errors 209

Table 355: Sign Errors 210

Table 356: Signature Verify Errors 210

Table 357: MAC Errors 211

Table 358: MAC Verify Errors 211

Table 359: RNG Retrieve Errors 211

Table 360: RNG Seed Errors 211

Table 361: HASH Errors 212

Table 362: Create Split Key Errors 212

Table 363: Join Split Key Errors 213

Table 364: Export Errors 214

Table 365: Import Errors 215

Table 366: Batch Items Errors 216

Table 367: Attribute Cross-reference 220

Table 368: Tag Cross-reference 226

Table 369: Operation and Object Cross-reference 228

Revision History

RevisionDateEditorChanges Made
V1.4-cs0118 June 2017Tony CoxPublished Committee Specification
V1.4-cs01-r0221 July 2017Tony Cox

- Amended publication date

- Amended document name in footer

- Corrected incorrect x-refs in sections 4.1-4.8, 4.38 & 4.39

- Updated Table of Contents

- Updated Revision History