Key Management Interoperability Protocol Test Cases Version 1.1

Committee Note 01

27 July 2012

Specification URIs

This version:

http://docs.oasis-open.org/kmip/testcases/v1.1/cn01/kmip-testcases-v1.1-cn01.doc (Authoritative)

http://docs.oasis-open.org/kmip/testcases/v1.1/cn01/kmip-testcases-v1.1-cn01.html

http://docs.oasis-open.org/kmip/testcases/v1.1/cn01/kmip-testcases-v1.1-cn01.pdf

Previous version:

http://www.oasis-open.org/committees/download.php/44882/kmip-usecases-v1.1-cnprd01.zip

Latest version:

http://docs.oasis-open.org/kmip/testcases/v1.1/kmip-testcases-v1.1.doc (Authoritative)

http://docs.oasis-open.org/kmip/testcases/v1.1/kmip-testcases-v1.1.html

http://docs.oasis-open.org/kmip/testcases/v1.1/kmip-testcases-v1.1.pdf

Technical Committee:

OASIS Key Management Interoperability Protocol (KMIP) TC

Chairs:

Robert Griffin (robert.griffin@rsa.com), EMC Corporation

Subhash Sankuratripati (Subhash.Sankuratripati@netapp.com), NetApp

Editors:

Mathias Björkqvist (mbj@zurich.ibm.com), IBM

Tim Hudson (tjh@cryptsoft.com), Cryptsoft

Related work:

This document replaces or supersedes:

·         Key Management Interoperability Protocol Use Cases Version 1.0. Committee Specification 01. 15 June 2010. http://docs.oasis-open.org/kmip/usecases/v1.0/cs01/kmip-usecases-1.0-cs-01.html.

This document was previously published as:

·         Key Management Interoperability Protocol Use Cases Version 1.1. 04 January 2012. Committee Note Draft 01 / Public Review Draft 01.
http://www.oasis-open.org/committees/download.php/44882/kmip-usecases-v1.1-cnprd01.zip

This document is related to:

·         Key Management Interoperability Protocol Specification Version 1.1. Latest version.
http://docs.oasis-open.org/kmip/spec/v1.1/kmip-spec-v1.1.html

·         Key Management Interoperability Protocol Profiles Version 1.1. Latest version.
http://docs.oasis-open.org/kmip/profiles/v1.1/kmip-profiles-v1.1.html

·         Key Management Interoperability Protocol Usage Guide Version 1.1. Latest version.
http://docs.oasis-open.org/kmip/ug/v1.1/kmip-ug-v1.1.html

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 OASIS Key Management Interoperability Protocol (KMIP) TC 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.

Technical Committee members should send comments on this document to the Technical Committee’s email list. Others should send comments to the Technical Committee by using the “Send A Comment” button on the Technical Committee’s web page at http://www.oasis-open.org/committees/kmip/.

Citation format:

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

[KMIP-TC]

Key Management Interoperability Protocol Test Cases Version 1.1. 27 July 2012. OASIS Committee Note 01.
http://docs.oasis-open.org/kmip/testcases/v1.1/cn01/kmip-testcases-v1.1-cn01.html


Copyright © OASIS Open 2012.  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.

Table of Contents

1       Introduction. 7

1.1     References. 7

2       Message Exchange. 9

3       Centralized Management. 10

3.1     Basic Functionality. 10

3.1.1     Test Case: Create / Destroy. 10

3.1.2     Test Case: Register / Create / Get attributes / Destroy. 13

3.1.3     Test Case: Create / Locate / Get / Destroy. 23

3.1.4     Test Case: Dual Client Test Case, ID Placeholder-linked Locate & Get Batch. 31

3.1.5     Test Case: Register / Destroy Secret Data. 55

3.2     Test Case: Asynchronous Locate. 58

4       Key Life Cycle Support. 75

4.1     Test Case: Revoke Scenario. 75

5       Auditing and Reporting. 103

5.1     Test Case: Get Usage Allocation Scenario. 103

6       Key Interchange, Key Exchange. 124

6.1     Test Case: Import of a Third-party Key. 124

7       Vendor Extensions. 131

7.1     Test Case: Unrecognized Message Extension with Criticality Indicator False. 131

7.2     Test Case: Unrecognized Message Extension with Criticality Indicator True. 134

8       Asymmetric Keys. 137

8.1     Test Case: Create a Key Pair. 137

8.2     Test Case: Register Both Halves of a Key Pair. 145

9       Key Roll-over. 159

9.1     Test Case: Create a Key, Re-key. 159

9.2     Test Case: Existing Key Expired, Re-key with Same Life-cycle. 171

9.3     Test Case: Existing Key Compromised, Re-key with Same Life-cycle. 187

9.4     Test Case: Create Key, Re-key with New Life-cycle. 200

9.5     Test Case: Obtain Lease for Expired Key. 214

10     Archival 233

10.1     Test Case: Create a Key, Archive and Recover it. 233

11     Access Control, Policies. 253

11.1     Test Case: Credential, Operation Policy, Destroy Date. 253

11.2     Test Case: Device Credential, Operation Policy, Destroy Date. 265

12     Query, Maximum Response Size. 279

12.1     Test Case: Query, Maximum Response Size. 279

12.2     Test Case: Query Vendor Extensions. 283

13     Asymmetric Keys and Certificates. 288

13.1     Test Case: Register an Asymmetric Key Pair in PKCS#1 Format. 288

13.2     Test Case: Register an Asymmetric Key Pair and a Corresponding X.509 Certificate. 305

13.3     Test Case: Create, Re-key Key Pair. 332

13.4     Test Case: Register Key Pair, Certify and Re-certify Public Key. 361

14     Key Wrapping. 394

14.1     Test Case: Key Wrapping using AES Key Wrap and No Encoding. 394

14.2     Test Case: Key Wrapping using AES Key Wrap with Attributes. 405

15     Groups. 417

15.1     Test Case: Locate a Fresh Object from the Default Group. 417

15.2     Test Case: Client-side Group Management. 424

15.3     Test Case: Default Object Group Member. 442

16     Discover Versions. 460

16.1     Test Case: Discover Versions. 460

17     Attribute Handling. 466

17.1     Test Case: Handling of Attributes and Attribute Index Values. 466

18     Digest. 477

18.1     Test Case: Digests of Symmetric Keys. 477

18.2     Test Case: Digests of RSA Private Keys. 494

19     Implementation Conformance. 508

Appendix A    Acknowledgments. 509

Appendix B    Revision History. 512

 

 


1            Introduction

The purpose of this document is to describe test cases to demonstrate the Key Management Interoperability Protocol (KMIP) [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof]. The test cases indicate if all concepts within the protocol are sound and if the protocol is usable when implementing typical scenarios in real life. These test cases are not intended to fully test an implementation of KMIP. Thus, the test cases do not contain typical Quality Assurance scenarios which would stress an implementation. The test cases are based on v1.0 of the protocol.

The test cases define a number of client-to-server request-response pairs for a number of operations. For each request-response message pair the operation is stated, along with the relevant parameters needed for the request or response message. This is followed by two different illustrations of the messages: first, a human-readable construction which shows the fields tags, types and values, followed by the TTLV-encoding of the message. These are included to facilitate the implementation of the message creation and parsing functionality. The test cases show one possible way to construct the messages, and the messages shown are not necessarily the only correct constructions (e.g. it is possible to omit the attribute index if it is zero). Also note that many values change dynamically when running the test cases (the server-generated timestamps, Unique Identifiers and key material in responses, as well as Batch Item ID values in client-generated requests).

In many situations in the test cases defined in this document, the server behavior depends on the server’s policy. The illustrated message exchanges and their contents are not the only possible variants (see [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof]). E.g., the server response messages shown in this document correspond to a server policy of completely destroying a managed object, along with all of its attributes, when receiving a Destroy request.

Multiple test cases describe several clients operating on the same managed object(s). For this to work, the clients SHALL have authenticated themselves to the server using the same credentials (see [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof]). Alternatively, the server policy applied to the relevant managed object(s) SHALL be such that the clients all have access to the managed object(s) in question.

1.1       References

[KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/profiles/v1.1/cd01/kmip-profiles-1.1-cd-01.doc

[KMIP-UG]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/ug/v1.1/cd01/kmip-ug-1.1-cd-01.doc

[NISTKeyWrap]

AES Key Wrap Specification.  November 2001.  NIST.  http://csrc.nist.gov/groups/ST/toolkit/documents/kms/key-wrap.pdf

 

2            Message Exchange

The message exchange between clients and the server to test the following test case scenarios is performed with TTLV encoding over the TLS/SSL transport as defined in [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof] and [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof].

 

3            Centralized Management

3.1       Basic Functionality

These test cases test the basic features of KMIP including key creation, template and secret data registration, attribute functionality, access methods, and batch operation.

3.1.1                           Test Case: Create / Destroy

In this test case the client issues a Create request, whereby the server creates a new symmetric key and returns the Unique Identifier. To clean up, the client then performs a Destroy operation to destroy the key.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType=’00000002’ (Symmetric Key), attributes={ CryptographicAlgorithm=’00000003’ (AES), CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

 

42007801000001204200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000D842005C0500000004000000010000000042007901000000C04200570500000004000000020000000042009101000000A8420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E5 (Fri Apr 27 10:12:21 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: fb4b5b9c-6188-4c63-8142-fe9c328129fc

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E542000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002466623462356239632D363138382D346336332D383134322D66653963333238313239666300000000

1

Destroy (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: fb4b5b9c-6188-4c63-8142-fe9c328129fc

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002466623462356239632D363138382D346336332D383134322D66653963333238313239666300000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E5 (Fri Apr 27 10:12:21 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: fb4b5b9c-6188-4c63-8142-fe9c328129fc

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E542000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002466623462356239632D363138382D346336332D383134322D66653963333238313239666300000000

 

3.1.2                           Test Case: Register / Create / Get attributes / Destroy

Here the client first registers a template object and then creates a symmetric key using the registered template. To verify that the attributes of the key were set correctly from the template, the client then issues a Get Attributes command, after which it destroys first the key and then the template.

Time

Request/Response messages

0

Register (template)

In: objectType=’00000007’, TemplateAttribute=empty, Template={ ObjectGroup=’Group1’, ApplicationSpecificInformation=’ssl, www.example.com’, ContactInformation=’Joe’, x-Purpose=’demonstration’, Name={ NameValue=’Template1’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000006 (Template)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data: null

      Tag: Template (0x420090), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Group

          Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Group1

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Application Specific Information

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Application Namespace (0x420003), Type: Text String (0x07), Data: ssl

            Tag: Application Data (0x420002), Type: Text String (0x07), Data: www.example.com

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Contact Information

          Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Joe

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-Purpose

          Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: demonstration

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: Template1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000001C84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000018042005C0500000004000000030000000042007901000001684200570500000004000000060000000042009101000000004200900100000148420008010000002842000A070000000C4F626A6563742047726F75700000000042000B070000000647726F7570310000420008010000005842000A07000000204170706C69636174696F6E20537065636966696320496E666F726D6174696F6E42000B0100000028420003070000000373736C0000000000420002070000000F7777772E6578616D706C652E636F6D00420008010000003042000A0700000013436F6E7461637420496E666F726D6174696F6E000000000042000B07000000034A6F650000000000420008010000003042000A0700000009782D507572706F73650000000000000042000B070000000D64656D6F6E7374726174696F6E000000420008010000004042000A07000000044E616D650000000042000B0100000028420055070000000954656D706C617465310000000000000042005405000000040000000100000000

 

Out: uuidTemplate

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E5 (Fri Apr 27 10:12:21 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5c9b81ef-4ee5-42cd-ba2d-c002fdd0c7b3

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E542000D0200000004000000010000000042000F010000005842005C0500000004000000030000000042007F0500000004000000000000000042007C0100000030420094070000002435633962383165662D346565352D343263642D626132642D63303032666464306337623300000000

1

Create (symmetric key using template)

In: objectType=’00000002’, template={ NameValue=’Template1’, NameType=’00000001’ }, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Name (0x420053), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Template1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000001904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000014842005C0500000004000000010000000042007901000001304200570500000004000000020000000042009101000001184200530100000028420055070000000954656D706C617465310000000000000042005405000000040000000100000000420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E6 (Fri Apr 27 10:12:22 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1703250b-4d40-4de2-93a0-c494a1d4ae40

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E642000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002431373033323530622D346434302D346465322D393361302D63343934613164346165343000000000

2

Get attributes

In: uuidKey, attributeNames={‘ObjectGroup’, ‘ApplicationSpecificInformation’, ‘ContactInformation’, ‘x-Purpose’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1703250b-4d40-4de2-93a0-c494a1d4ae40

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Group

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Application Specific Information

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Contact Information

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-Purpose

 

42007801000001084200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000C042005C05000000040000000B0000000042007901000000A8420094070000002431373033323530622D346434302D346465322D393361302D6334393461316434616534300000000042000A070000000C4F626A6563742047726F75700000000042000A07000000204170706C69636174696F6E20537065636966696320496E666F726D6174696F6E42000A0700000013436F6E7461637420496E666F726D6174696F6E000000000042000A0700000009782D507572706F736500000000000000

 

Out: uuidKey, attributes={ ObjectGroup=’Group1’, ApplicationSpecificInformation=’ssl, www.example.com’, ContactInformation=‘Joe Miller’, x-Purpose=’demonstration’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E6 (Fri Apr 27 10:12:22 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1703250b-4d40-4de2-93a0-c494a1d4ae40

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Group

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Group1

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Application Specific Information

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Application Namespace (0x420003), Type: Text String (0x07), Data: ssl

          Tag: Application Data (0x420002), Type: Text String (0x07), Data: www.example.com

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Contact Information

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Joe

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-Purpose

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: demonstration

 

42007B01000001B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E642000D0200000004000000010000000042000F010000015842005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000130420094070000002431373033323530622D346434302D346465322D393361302D63343934613164346165343000000000420008010000002842000A070000000C4F626A6563742047726F75700000000042000B070000000647726F7570310000420008010000005842000A07000000204170706C69636174696F6E20537065636966696320496E666F726D6174696F6E42000B0100000028420003070000000373736C0000000000420002070000000F7777772E6578616D706C652E636F6D00420008010000003042000A0700000013436F6E7461637420496E666F726D6174696F6E000000000042000B07000000034A6F650000000000420008010000003042000A0700000009782D507572706F73650000000000000042000B070000000D64656D6F6E7374726174696F6E000000

3

Destroy (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1703250b-4d40-4de2-93a0-c494a1d4ae40

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002431373033323530622D346434302D346465322D393361302D63343934613164346165343000000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E6 (Fri Apr 27 10:12:22 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1703250b-4d40-4de2-93a0-c494a1d4ae40

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E642000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002431373033323530622D346434302D346465322D393361302D63343934613164346165343000000000

4

Destroy (template)

In: uuidTemplate

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5c9b81ef-4ee5-42cd-ba2d-c002fdd0c7b3

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002435633962383165662D346565352D343263642D626132642D63303032666464306337623300000000

 

Out: uuidTemplate

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E6 (Fri Apr 27 10:12:22 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5c9b81ef-4ee5-42cd-ba2d-c002fdd0c7b3

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E642000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002435633962383165662D346565352D343263642D626132642D63303032666464306337623300000000

 

3.1.3                           Test Case: Create / Locate / Get / Destroy

This test case tests the Locate and Get operations, in addition to the previously used operations Create and Destroy. A symmetric key is first created, and then a lookup is performed on the Name attribute using the Locate operation. Subsequently, a Get request is issued to retrieve the located key, after which the key on the server is destroyed.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType = ‘00000002’, attributes={ Name={ NameValue=‘Key1’, NameType=’00000001’ }, CryptographicAlgorithm=’3DES’, CryptographicLength=’168’, CryptographicUsageMask=‘0000000C’, ContactInformation=’Joe’  }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (3DES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x000000A8 (168)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Contact Information

          Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Joe

 

42007801000001984200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000015042005C050000000400000001000000004200790100000138420057050000000400000002000000004200910100000120420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000200000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B0200000004000000A800000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000003042000A0700000013436F6E7461637420496E666F726D6174696F6E000000000042000B07000000034A6F650000000000

 

Out: objectType = ‘00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E6 (Fri Apr 27 10:12:22 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 49a1ca88-6bea-4fb2-b450-7e58802c3038

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E642000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002434396131636138382D366265612D346662322D623435302D37653538383032633330333800000000

1

Locate (symmetric key)

In: attributes={ objectType = ‘00000002’,  Name={ Name=‘Key1’, NameType=’00000001’} }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000D04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000008842005C050000000400000008000000004200790100000070420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E6 (Fri Apr 27 10:12:22 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 49a1ca88-6bea-4fb2-b450-7e58802c3038

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E642000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002434396131636138382D366265612D346662322D623435302D37653538383032633330333800000000

2

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 49a1ca88-6bea-4fb2-b450-7e58802c3038

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002434396131636138382D366265612D346662322D623435302D37653538383032633330333800000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 49a1ca88-6bea-4fb2-b450-7e58802c3038

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 7367578051012A6D134A855E25C8CD5E4CA131455729D3C8

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000002 (3DES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x000000A8 (168)

 

42007B010000012842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000010000000042000F01000000D042005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A842005705000000040000000200000000420094070000002434396131636138382D366265612D346662322D623435302D3765353838303263333033380000000042008F0100000060420040010000005842004205000000040000000100000000420045010000002042004308000000187367578051012A6D134A855E25C8CD5E4CA131455729D3C84200280500000004000000020000000042002A0200000004000000A800000000

3

Destroy (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 49a1ca88-6bea-4fb2-b450-7e58802c3038

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002434396131636138382D366265612D346662322D623435302D37653538383032633330333800000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 49a1ca88-6bea-4fb2-b450-7e58802c3038

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002434396131636138382D366265612D346662322D623435302D37653538383032633330333800000000

4

Locate

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Unique Identifier

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: 49a1ca88-6bea-4fb2-b450-7e58802c3038

 

42007801000000B84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000007042005C050000000400000008000000004200790100000058420008010000005042000A0700000011556E69717565204964656E7469666965720000000000000042000B070000002434396131636138382D366265612D346662322D623435302D37653538383032633330333800000000

 

Out: <empty response payload>

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data: null

 

42007B010000008042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000010000000042000F010000002842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000000

 

3.1.4                           Test Case: Dual Client Test Case, ID Placeholder-linked Locate & Get Batch

This test case has two clients performing operations on the same key. The first client initially registers a template and creates a symmetric key using that template. The second client then does a batched Locate and Get using the ID Placeholder to retrieve the key. The second client thereafter performs a number of operations on the key (Get Attribute List, Get Attribute, Add Attribute, Modify Attribute and Delete Attribute), before the first client finally destroys the key and the template. The first client also tries to Get the key and the template after they have been destroyed, but the Get operation fails in both cases.

This test case demonstrates the fact that it is possible for two clients to cooperate and use the same managed object while only having knowledge of a single pre-agreed Name attribute value and without having to share any other information.

Time

Request/Response messages

0

Client A:

Register (template)

In: objectType=’00000007’, TemplateAttribute=empty, Template={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, Name={ NameValue=’Template1’, NameType=’00000001’ },}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000006 (Template)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data: null

      Tag: Template (0x420090), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: Template1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000001384200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000F042005C0500000004000000030000000042007901000000D842005705000000040000000600000000420091010000000042009001000000B8420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000004042000A07000000044E616D650000000042000B0100000028420055070000000954656D706C617465310000000000000042005405000000040000000100000000

 

Out: uuidTemplate

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: d83a3a7e-62a3-4f2b-bfe7-11544759000d

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000010000000042000F010000005842005C0500000004000000030000000042007F0500000004000000000000000042007C0100000030420094070000002464383361336137652D363261332D346632622D626665372D31313534343735393030306400000000

1

Client A:

Create (symmetric key using template)

In: objectType=’00000002’, template={ NameValue= ‘Template1’, NameType=’00000001’ }, attributes={ Name={ Name=‘Key1’, NameType=’00000001’ }, CryptographicUsageMask=‘00000004’, ContactInformation=‘Foo’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Name (0x420053), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Template1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000004 (Encrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Contact Information

          Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Foo

 

42007801000001584200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000011042005C0500000004000000010000000042007901000000F84200570500000004000000020000000042009101000000E04200530100000028420055070000000954656D706C617465310000000000000042005405000000040000000100000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000400000000420008010000003042000A0700000013436F6E7461637420496E666F726D6174696F6E000000000042000B0700000003466F6F0000000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000

2

Client B:

Locate and Get (symmetric key by name)

In (header): batchOrderOption=’TRUE’

In: attributes={ objectType = ‘00000002’, Name={ Name=‘Key1’, NameType=’00000001’} }

In: <empty Get payload>

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Order Option (0x420010), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: AA21F8C659D6E10D

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 495A95F165854D1E

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data: null

 

42007801000001204200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200100600000008000000000000000142000D0200000004000000020000000042000F010000009842005C050000000400000008000000004200930800000008AA21F8C659D6E10D4200790100000070420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B657931000000004200540500000004000000010000000042000F010000002842005C05000000040000000A000000004200930800000008495A95F165854D1E4200790100000000

 

Out: uuidKey

Out: objectType=’00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: AA21F8C659D6E10D

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 495A95F165854D1E

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: D351910F1D7934D6E2AE17576564E2BC

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B01000001A042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000020000000042000F010000006842005C050000000400000008000000004200930800000008AA21F8C659D6E10D42007F0500000004000000000000000042007C0100000030420094070000002462346661656531302D616132612D343434362D386164342D3038383166333432323935390000000042000F01000000D842005C05000000040000000A000000004200930800000008495A95F165854D1E42007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002462346661656531302D616132612D343434362D386164342D3038383166333432323935390000000042008F010000005842004001000000504200420500000004000000010000000042004501000000184200430800000010D351910F1D7934D6E2AE17576564E2BC4200280500000004000000030000000042002A02000000040000008000000000

3

Client B:

Get attribute list

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000C000000004200790100000030420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000

 

Out: uuidKey, attributes={ * }

 

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Digest

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Lease Time

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Initial Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Unique Identifier

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Contact Information

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Last Change Date

 

42007B01000001E042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000010000000042000F010000018842005C05000000040000000C0000000042007F0500000004000000000000000042007C0100000160420094070000002462346661656531302D616132612D343434362D386164342D3038383166333432323935390000000042000A070000001443727970746F67726170686963204C656E6774680000000042000A070000001743727970746F6772617068696320416C676F726974686D0042000A0700000005537461746500000042000A0700000006446967657374000042000A070000000A4C656173652054696D6500000000000042000A070000000C496E697469616C20446174650000000042000A0700000011556E69717565204964656E7469666965720000000000000042000A07000000044E616D650000000042000A070000001843727970746F67726170686963205573616765204D61736B42000A070000000B4F626A6563742054797065000000000042000A0700000013436F6E7461637420496E666F726D6174696F6E000000000042000A07000000104C617374204368616E67652044617465

4

Client B:

Get attributes

In: uuidKey, attributeNames={‘Name’, ‘ContactInformation’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Contact Information

 

42007801000000C04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000007842005C05000000040000000B000000004200790100000060420094070000002462346661656531302D616132612D343434362D386164342D3038383166333432323935390000000042000A07000000044E616D650000000042000A0700000013436F6E7461637420496E666F726D6174696F6E0000000000

 

Out: uuidKey, attributes={ Name={ Name=‘Key1’, NameType=’00000001’ }, ContactInformation=‘Foo’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Contact Information

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Foo

 

42007B010000012842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000010000000042000F01000000D042005C05000000040000000B0000000042007F0500000004000000000000000042007C01000000A8420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000420008010000003042000A0700000013436F6E7461637420496E666F726D6174696F6E000000000042000B0700000003466F6F0000000000

5

Client B:

Add attribute [batch]

In: uuidKey, attribute={ x-attribute1=‘Value1’}

In: uuidKey, attribute={ x-attribute2=‘Value2’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 32D84369C120488E

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Value1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 519CF4F0EC1AC13F

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Value2

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000008842005C05000000040000000D00000000420093080000000832D84369C120488E4200790100000060420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000002842000A070000000C782D617474726962757465310000000042000B070000000656616C756531000042000F010000008842005C05000000040000000D000000004200930800000008519CF4F0EC1AC13F4200790100000060420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000002842000A070000000C782D617474726962757465320000000042000B070000000656616C7565320000

 

Out: uuidKey, attribute={ x-attribute1=‘Value1’}

Out: uuidKey, attribute={ x-attribute2=‘Value2’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 32D84369C120488E

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Value1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 519CF4F0EC1AC13F

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Value2

 

42007B010000019042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000020000000042000F010000009842005C05000000040000000D00000000420093080000000832D84369C120488E42007F0500000004000000000000000042007C0100000060420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000002842000A070000000C782D617474726962757465310000000042000B070000000656616C756531000042000F010000009842005C05000000040000000D000000004200930800000008519CF4F0EC1AC13F42007F0500000004000000000000000042007C0100000060420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000002842000A070000000C782D617474726962757465320000000042000B070000000656616C7565320000

6

Client B:

Modify attribute [batch]

In: uuidKey, attribute={ x-attribute1=‘ModifiedValue1’ }

In: uuidKey, attribute={ x-attribute2=‘ModifiedValue2’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: FCE08E45995686B6

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: DC2BFDA88F39F5FC

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue2

 

42007801000001704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000009042005C05000000040000000E000000004200930800000008FCE08E45995686B64200790100000068420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000003042000A070000000C782D617474726962757465310000000042000B070000000E4D6F64696669656456616C756531000042000F010000009042005C05000000040000000E000000004200930800000008DC2BFDA88F39F5FC4200790100000068420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000003042000A070000000C782D617474726962757465320000000042000B070000000E4D6F64696669656456616C7565320000

 

Out: uuidKey, attribute={ x-ttribute1=‘ModifiedValue1’ }

Out: uuidKey, attribute={ x-attribute2=’ModifiedValue2’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: FCE08E45995686B6

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: DC2BFDA88F39F5FC

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue2

 

42007B01000001A042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000020000000042000F01000000A042005C05000000040000000E000000004200930800000008FCE08E45995686B642007F0500000004000000000000000042007C0100000068420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000003042000A070000000C782D617474726962757465310000000042000B070000000E4D6F64696669656456616C756531000042000F01000000A042005C05000000040000000E000000004200930800000008DC2BFDA88F39F5FC42007F0500000004000000000000000042007C0100000068420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000003042000A070000000C782D617474726962757465320000000042000B070000000E4D6F64696669656456616C7565320000

7

Client B:

Delete attribute [batch]

In: uuidKey, attributeNames={‘x-attribute1’}

In: uuidKey, attributeNames={‘x-attribute2’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: BA8D4889753B7414

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 88FA2F142C615EDB

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

 

42007801000001304200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000007042005C05000000040000000F000000004200930800000008BA8D4889753B74144200790100000048420094070000002462346661656531302D616132612D343434362D386164342D3038383166333432323935390000000042000A070000000C782D617474726962757465310000000042000F010000007042005C05000000040000000F00000000420093080000000888FA2F142C615EDB4200790100000048420094070000002462346661656531302D616132612D343434362D386164342D3038383166333432323935390000000042000A070000000C782D6174747269627574653200000000

 

Out: uuidKey, attributeNames={‘x-attribute1’}

Out: uuidKey, attributeNames={‘x-attribute2’}

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: BA8D4889753B7414

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 88FA2F142C615EDB

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue2

 

42007B01000001A042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000020000000042000F01000000A042005C05000000040000000F000000004200930800000008BA8D4889753B741442007F0500000004000000000000000042007C0100000068420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000003042000A070000000C782D617474726962757465310000000042000B070000000E4D6F64696669656456616C756531000042000F01000000A042005C05000000040000000F00000000420093080000000888FA2F142C615EDB42007F0500000004000000000000000042007C0100000068420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000420008010000003042000A070000000C782D617474726962757465320000000042000B070000000E4D6F64696669656456616C7565320000

8

Client A:

Destroy (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E7 (Fri Apr 27 10:12:23 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E742000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000

9

Client A:

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b4faee10-aa2a-4446-8ad4-0881f3422959

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002462346661656531302D616132612D343434362D386164342D30383831663334323239353900000000

 

Out: Operation Failed, Item Not Found

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x00000001 (Item Not Found)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: No Cryptographic Object found with given Unique Identifier

 

42007B01000000D042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000007842005C05000000040000000A0000000042007F0500000004000000010000000042007E0500000004000000010000000042007D070000003A4E6F2043727970746F67726170686963204F626A65637420666F756E64207769746820676976656E20556E69717565204964656E746966696572000000000000

10

Client A:

Destroy (template)

In: uuidTemplate

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: d83a3a7e-62a3-4f2b-bfe7-11544759000d

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002464383361336137652D363261332D346632622D626665372D31313534343735393030306400000000

 

Out: uuidTemplate

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: d83a3a7e-62a3-4f2b-bfe7-11544759000d

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002464383361336137652D363261332D346632622D626665372D31313534343735393030306400000000

11

Client A:

Get (template)

In: uuidTemplate

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: d83a3a7e-62a3-4f2b-bfe7-11544759000d

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002464383361336137652D363261332D346632622D626665372D31313534343735393030306400000000

 

Out: Operation Failed, Item Not Found

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x00000001 (Item Not Found)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: No Cryptographic Object found with given Unique Identifier

 

42007B01000000D042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000007842005C05000000040000000A0000000042007F0500000004000000010000000042007E0500000004000000010000000042007D070000003A4E6F2043727970746F67726170686963204F626A65637420666F756E64207769746820676976656E20556E69717565204964656E746966696572000000000000

 

3.1.5                           Test Case: Register / Destroy Secret Data

In this test case the client issues a Register request containing a Secret Data object, whereby the server registers the object and returns the Unique Identifier. To clean up, the client then performs a Destroy operation to destroy the object.

Time

Request/Response messages

0

Register (secret data)

In: objectType=’00000007’ (Secret Data), attributes={ CryptographicUsageMask=‘00000200’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000007 (Secret Data)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000002 (Verify)

      Tag: Secret Data (0x420085), Type: Structure (0x01), Data:

        Tag: Secret Data Type (0x420086), Type: Enumeration (0x05), Data: 0x00000001 (Password)

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000002 (Opaque)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 53656372657450617373776F7264

 

42007801000001004200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000B842005C0500000004000000030000000042007901000000A0420057050000000400000007000000004200910100000038420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B020000000400000002000000004200850100000048420086050000000400000001000000004200400100000030420042050000000400000002000000004200450100000018420043080000000E53656372657450617373776F72640000

 

Out: uuidObject

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 9e9ed79f-d8f5-4fea-a93d-e02242dfc1d1

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000030000000042007F0500000004000000000000000042007C0100000030420094070000002439653965643739662D643866352D346665612D613933642D65303232343264666331643100000000

1

Destroy (secret data)

In: uuidObject

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 9e9ed79f-d8f5-4fea-a93d-e02242dfc1d1

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002439653965643739662D643866352D346665612D613933642D65303232343264666331643100000000

 

Out: uuidObject

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 9e9ed79f-d8f5-4fea-a93d-e02242dfc1d1

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002439653965643739662D643866352D346665612D613933642D65303232343264666331643100000000

 

3.2       Test Case: Asynchronous Locate

This test case tests the asynchronous capabilities of KMIP using the Locate operation. A key is created and then a Locate request is sent containing the Name of the created key and with the message header Asynchronous Indicator-field set to True. If the server returns an asynchronous response to the Locate, the client then polls the server until the operation is ready. If the server responded asynchronously, a subsequent Locate operation that is also handled asynchronously is then Canceled, before the key is finally destroyed.

This test case shows the use of two clients with the same assumptions as in the test case described in Section . Since the client is unable to force the server to respond asynchronously, it is possible for a server to respond synchronously to the requests issued at times 1 and 4, in which case the expected response are the ones shown at times 2 and 5, respectively. In the case of the server not responding asynchronously to the Locate requests, the client is permitted to skip the requests illustrated at time 7 and 8.

Time

Request/Response messages

0

Client A:

Create (symmetric key)

In: objectType = ‘00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, Name={ NameValue=‘Key1’, NameType=’00000001’ }, CryptographicUsageMask=‘00000004’, ObjectGroup=‘Group1’  }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000004 (Encrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Group

          Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Group1

 

42007801000001904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000014842005C050000000400000001000000004200790100000130420057050000000400000002000000004200910100000118420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000400000000420008010000002842000A070000000C4F626A6563742047726F75700000000042000B070000000647726F7570310000

 

Out: objectType = ‘00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002463663232636137642D653638632D343264382D626638332D33613938653536326639343500000000

1

Client B:

Locate (symmetric key by name)

In: asynchronousIndicator=’TRUE’, attributes={ objectType = ‘00000002’, Name={ Name=‘Key1’, NameType=’00000001’} }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Asynchronous Indicator (0x420007), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000E04200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200070600000008000000000000000142000D0200000004000000010000000042000F010000008842005C050000000400000008000000004200790100000070420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000

 

Out: asyncCorrValue1

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000002 (Operation Pending)

    Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 1C7C3710D40D90B8

 

42007B010000008842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000003042005C0500000004000000080000000042007F0500000004000000020000000042000608000000081C7C3710D40D90B8

2

Client B:

Poll*

In: asyncCorrValue1

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000001A (Poll)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 1C7C3710D40D90B8

 

42007801000000704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000002842005C05000000040000001A00000000420079010000001042000608000000081C7C3710D40D90B8

 

Out: uuidKey1

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002463663232636137642D653638632D343264382D626638332D33613938653536326639343500000000

3

Client B:

Get (symmetric key)

In: uuidKey1

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002463663232636137642D653638632D343264382D626638332D33613938653536326639343500000000

 

Out: objectType = ‘00000002’, uuidKey1, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: CC9E3B20F5C4FC4D1298F68D0B7DE65B

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002463663232636137642D653638632D343264382D626638332D3361393865353632663934350000000042008F010000005842004001000000504200420500000004000000010000000042004501000000184200430800000010CC9E3B20F5C4FC4D1298F68D0B7DE65B4200280500000004000000030000000042002A02000000040000008000000000

4

Client B:

Locate (symmetric key by group)

In: asynchronousIndicator=’TRUE’, attributes={ objectType = ‘00000002’, ObjectGroup=‘Group1’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Asynchronous Indicator (0x420007), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Group

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Group1

 

42007801000000D04200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200070600000008000000000000000142000D0200000004000000010000000042000F010000007842005C050000000400000008000000004200790100000060420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000002842000A070000000C4F626A6563742047726F75700000000042000B070000000647726F7570310000

 

Out: asyncCorrValue2

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000002 (Operation Pending)

    Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 57BE82A57D3D14E6

 

42007B010000008842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000003042005C0500000004000000080000000042007F05000000040000000200000000420006080000000857BE82A57D3D14E6

5

Client B:

Poll*

In: asyncCorrValue2

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000001A (Poll)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 57BE82A57D3D14E6

 

42007801000000704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000002842005C05000000040000001A000000004200790100000010420006080000000857BE82A57D3D14E6

 

Out: uuidKey2

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002463663232636137642D653638632D343264382D626638332D33613938653536326639343500000000

6

Client B:

Get (symmetric key)

In: uuidKey2

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002463663232636137642D653638632D343264382D626638332D33613938653536326639343500000000

 

Out: objectType = ‘00000002’, uuidKey2, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: CC9E3B20F5C4FC4D1298F68D0B7DE65B

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002463663232636137642D653638632D343264382D626638332D3361393865353632663934350000000042008F010000005842004001000000504200420500000004000000010000000042004501000000184200430800000010CC9E3B20F5C4FC4D1298F68D0B7DE65B4200280500000004000000030000000042002A02000000040000008000000000

7

Client B:

Locate (symmetric key by name)

In: asynchronousIndicator=’TRUE’, attributes={ objectType = ‘00000002’, Name= { Name=‘Key1’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Asynchronous Indicator (0x420007), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000E04200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200070600000008000000000000000142000D0200000004000000010000000042000F010000008842005C050000000400000008000000004200790100000070420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000

 

Out: asyncCorrValue5

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000002 (Operation Pending)

    Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 583B0036C1A2DD01

 

42007B010000008842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000003042005C0500000004000000080000000042007F050000000400000002000000004200060800000008583B0036C1A2DD01

8

Client B:

Cancel

In: asyncCorrValue5

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000019 (Cancel)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 583B0036C1A2DD01

 

42007801000000704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000002842005C0500000004000000190000000042007901000000104200060800000008583B0036C1A2DD01

 

Out: asyncCorrValue5, CancelResult=’00000001’

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000019 (Cancel)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 583B0036C1A2DD01

      Tag: Cancellation Result (0x420012), Type: Enumeration (0x05), Data: 0x00000001 (Canceled)

 

42007B01000000A042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000004842005C0500000004000000190000000042007F0500000004000000000000000042007C01000000204200060800000008583B0036C1A2DD0142001205000000040000000100000000

9

Client A:

Destroy (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002463663232636137642D653638632D343264382D626638332D33613938653536326639343500000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: cf22ca7d-e68c-42d8-bf83-3a98e562f945

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002463663232636137642D653638632D343264382D626638332D33613938653536326639343500000000

 

 

4            Key Life Cycle Support

4.1       Test Case: Revoke Scenario

This test case tests the revocation aspect of the key life cycle support in KMIP. A key is created and a Get Attribute for the State-attribute reveals that the key is in Pre-active state. The Activation Date is then set, which changes the state to Active. The key is then revoked with a revocation reason of Compromised and the state subsequently changed to Compromised, but this does not stop a client from being able to add, modify and delete attributes or even get the key (since we assume here that the out-of-band registration has been used to make the server aware of the fact that the client is capable of interpreting the attributes of the key and determining what it is allowed to do with the key). To clean up, the created key is finally destroyed.

Time

Request/Response messages

0

Client A:

Create (symmetric key)

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000004 (Encrypt)

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000011842005C0500000004000000010000000042007901000001004200570500000004000000020000000042009101000000E8420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000400000000

 

Out: objectType = ‘00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

1

Client A:

Get attribute

In: uuidKey, attributeName={‘State’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042000A07000000055374617465000000

 

Out: uuidKey, attribute={ State=‘00000001’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000001 (Pre-Active)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000002042000A0700000005537461746500000042000B05000000040000000100000000

2

Client A:

Activate

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000012 (Activate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000012000000004200790100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000012 (Activate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000120000000042007F0500000004000000000000000042007C0100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

3

Client A:

Get attribute

In: uuidKey, attributeName={ ‘State’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042000A07000000055374617465000000

 

Out: uuidKey, attribute={ State=‘00000002’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Active)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000002042000A0700000005537461746500000042000B05000000040000000200000000

4

Client B:

Locate (symmetric key by name)

In: objectType = ‘00000002’, attributes={ Name={ Name=‘Key1’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000D04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000008842005C050000000400000008000000004200790100000070420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

5

Client B:

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 9C7D7C4FD2076F1909A6BA4342CAB1DE

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042008F0100000058420040010000005042004205000000040000000100000000420045010000001842004308000000109C7D7C4FD2076F1909A6BA4342CAB1DE4200280500000004000000030000000042002A02000000040000008000000000

6

Client B:

Revoke (symmetric key as compromised)

In: uuidKey, RevocationReason=’00000002’, CompromiseOccurrenceTime=’6’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Revocation Reason (0x420081), Type: Structure (0x01), Data:

        Tag: Revocation Reason Code (0x420082), Type: Enumeration (0x05), Data: 0x00000002 (Key Compromise)

      Tag: Compromise Occurrence Date (0x420021), Type: Date-Time (0x09), Data: 0x0000000000000006 (Thu Jan 01 01:00:06 CET 1970)

 

42007801000000B84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000007042005C050000000400000013000000004200790100000058420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042008101000000104200820500000004000000020000000042002109000000080000000000000006

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000005842005C0500000004000000130000000042007F0500000004000000000000000042007C0100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

7

Client B:

Get attribute

In: uuidKey, attributeName={ ‘State’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042000A07000000055374617465000000

 

Out: uuidKey, attribute={ State=‘00000004’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000004 (Compromised)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000002042000A0700000005537461746500000042000B05000000040000000400000000

8

Client A:

Get attribute list

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000C000000004200790100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

 

Out: uuidKey, attributes = { * }

 

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Compromise Occurrence Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Compromise Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Digest

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Lease Time

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Initial Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Revocation Reason

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Unique Identifier

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Last Change Date

 

42007B010000023842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F01000001E042005C05000000040000000C0000000042007F0500000004000000000000000042007C01000001B8420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042000A070000001443727970746F67726170686963204C656E6774680000000042000A070000001743727970746F6772617068696320416C676F726974686D0042000A0700000005537461746500000042000A070000001A436F6D70726F6D697365204F6363757272656E6365204461746500000000000042000A070000000F436F6D70726F6D69736520446174650042000A0700000006446967657374000042000A070000000A4C656173652054696D6500000000000042000A070000000C496E697469616C20446174650000000042000A070000000F41637469766174696F6E20446174650042000A07000000115265766F636174696F6E20526561736F6E0000000000000042000A0700000011556E69717565204964656E7469666965720000000000000042000A07000000044E616D650000000042000A070000001843727970746F67726170686963205573616765204D61736B42000A070000000B4F626A6563742054797065000000000042000A07000000104C617374204368616E67652044617465

9

Client A:

Get attributes

In: uuidKey, attributeName = { ‘State’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042000A07000000055374617465000000

 

Out: uuidKey, attribute={ State=‘00000004’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000004 (Compromised)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000002042000A0700000005537461746500000042000B05000000040000000400000000

10

Client A:

Add attribute [batch]

In: uuidKey, attribute={ x-attribute1=‘Value1’ }

In: uuidKey, attribute={ x-attribute2=’Value2’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 23A177FAA569463C

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Value1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 9B898DC0577F8080

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Value2

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000008842005C05000000040000000D00000000420093080000000823A177FAA569463C4200790100000060420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000002842000A070000000C782D617474726962757465310000000042000B070000000656616C756531000042000F010000008842005C05000000040000000D0000000042009308000000089B898DC0577F80804200790100000060420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000002842000A070000000C782D617474726962757465320000000042000B070000000656616C7565320000

 

Out: uuidKey, attribute={ x-attribute1=‘Value1’ }

Out: uuidKey, attribute={ x-attribute2=‘Value2’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E8 (Fri Apr 27 10:12:24 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 23A177FAA569463C

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Value1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 9B898DC0577F8080

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: Value2

 

42007B010000019042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E842000D0200000004000000020000000042000F010000009842005C05000000040000000D00000000420093080000000823A177FAA569463C42007F0500000004000000000000000042007C0100000060420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000002842000A070000000C782D617474726962757465310000000042000B070000000656616C756531000042000F010000009842005C05000000040000000D0000000042009308000000089B898DC0577F808042007F0500000004000000000000000042007C0100000060420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000002842000A070000000C782D617474726962757465320000000042000B070000000656616C7565320000

11

Client A:

Modify attribute [batch]

In: uuidKey, attribute={ x-attribute1=‘ModifiedValue1’ }

In: uuidKey, attribute={ x-attribute2=’ModifiedValue2’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 0752C951BB9926CC

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 33F55C8D7E6CAFBF

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue2

 

42007801000001704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000009042005C05000000040000000E0000000042009308000000080752C951BB9926CC4200790100000068420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000003042000A070000000C782D617474726962757465310000000042000B070000000E4D6F64696669656456616C756531000042000F010000009042005C05000000040000000E00000000420093080000000833F55C8D7E6CAFBF4200790100000068420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000003042000A070000000C782D617474726962757465320000000042000B070000000E4D6F64696669656456616C7565320000

 

Out: uuidKey, attribute={ x-attribute1=‘ModifiedValue1’ }

Out: uuidKey, attribute={ x-attribute2=‘ModifiedValue2’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 0752C951BB9926CC

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 33F55C8D7E6CAFBF

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue2

 

42007B01000001A042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000020000000042000F01000000A042005C05000000040000000E0000000042009308000000080752C951BB9926CC42007F0500000004000000000000000042007C0100000068420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000003042000A070000000C782D617474726962757465310000000042000B070000000E4D6F64696669656456616C756531000042000F01000000A042005C05000000040000000E00000000420093080000000833F55C8D7E6CAFBF42007F0500000004000000000000000042007C0100000068420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000003042000A070000000C782D617474726962757465320000000042000B070000000E4D6F64696669656456616C7565320000

12

Client A:

Delete attribute [batch]

In: uuidKey, attributeNames={ ‘x-attribute1’ }

In: uuidKey, attributeNames={ ‘x-attribute2’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: A3EB249B495E8AD2

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: C1FE7B3B4C977730

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

 

42007801000001304200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000007042005C05000000040000000F000000004200930800000008A3EB249B495E8AD24200790100000048420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042000A070000000C782D617474726962757465310000000042000F010000007042005C05000000040000000F000000004200930800000008C1FE7B3B4C9777304200790100000048420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042000A070000000C782D6174747269627574653200000000

 

Out: uuidKey, attributeNames={ ‘x-attribute1’ }

Out: uuidKey, attributeNames={ ‘x-attribute2’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: A3EB249B495E8AD2

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute1

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue1

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: C1FE7B3B4C977730

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-attribute2

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: ModifiedValue2

 

42007B01000001A042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000020000000042000F01000000A042005C05000000040000000F000000004200930800000008A3EB249B495E8AD242007F0500000004000000000000000042007C0100000068420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000003042000A070000000C782D617474726962757465310000000042000B070000000E4D6F64696669656456616C756531000042000F01000000A042005C05000000040000000F000000004200930800000008C1FE7B3B4C97773042007F0500000004000000000000000042007C0100000068420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000420008010000003042000A070000000C782D617474726962757465320000000042000B070000000E4D6F64696669656456616C7565320000

13

Client A:

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 9C7D7C4FD2076F1909A6BA4342CAB1DE

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002436363865666638392D333031302D343235382D626330652D3863343032333039633734360000000042008F0100000058420040010000005042004205000000040000000100000000420045010000001842004308000000109C7D7C4FD2076F1909A6BA4342CAB1DE4200280500000004000000030000000042002A02000000040000008000000000

14

Client A:

Destroy (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 668eff89-3010-4258-bc0e-8c402309c746

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002436363865666638392D333031302D343235382D626330652D38633430323330396337343600000000

 

 

5            Auditing and Reporting

5.1       Test Case: Get Usage Allocation Scenario

This test case tests the usage management functionality of KMIP. A key is created and the Activation Date and Protect Stop Date attributes are set in such a way as to allow the Get Usage Allocation operation to be performed. The value of the Usage Limits attribute is set to 1000 bytes, and two subsequent requests for 500 bytes succeed (one of them also verifying the amount that can be received using the Check operation), while a third fails since the usage allocation has been used up. The key is finally revoked and destroyed. This test case shows the use of multiple clients with the assumptions regarding the clients being the same as in the test case described in Section 3.1.4    .

Time

Request/Response messages

0

Client A:

Create (symmetric key)

In: objectType = ‘00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, NameValue={ Name=‘Key1’, NameType=’00000001’ }, CryptographicUsageMask=‘00000004’  }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000004 (Encrypt)

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000011842005C0500000004000000010000000042007901000001004200570500000004000000020000000042009101000000E8420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000400000000

 

Out: objectType = ‘00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

1

Client A:

Add attribute [batch]

In: uuidKey, attribute={ ActivationDate=‘2’ }

In: uuidKey, attribute={ ProtectStopDate=’<NOW+10min>’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 369F6802EE57532B

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x0000000000000002 (Thu Jan 01 01:00:02 CET 1970)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: B7CA806E52825BF4

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Protect Stop Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A5741 (Fri Apr 27 10:22:25 CEST 2012)

 

42007801000001684200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000008842005C05000000040000000D000000004200930800000008369F6802EE57532B4200790100000060420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420008010000002842000A070000000F41637469766174696F6E20446174650042000B0900000008000000000000000242000F010000009042005C05000000040000000D000000004200930800000008B7CA806E52825BF44200790100000068420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420008010000003042000A070000001150726F746563742053746F7020446174650000000000000042000B0900000008000000004F9A5741

 

Out: uuidKey, attribute={ ActivationDate=’2’ }

Out: uuidKey, attribute={ ProtectStopDate=’<NOW+10min>’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 369F6802EE57532B

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x0000000000000002 (Thu Jan 01 01:00:02 CET 1970)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: B7CA806E52825BF4

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Protect Stop Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A5741 (Fri Apr 27 10:22:25 CEST 2012)

 

42007B010000019842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000020000000042000F010000009842005C05000000040000000D000000004200930800000008369F6802EE57532B42007F0500000004000000000000000042007C0100000060420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420008010000002842000A070000000F41637469766174696F6E20446174650042000B0900000008000000000000000242000F01000000A042005C05000000040000000D000000004200930800000008B7CA806E52825BF442007F0500000004000000000000000042007C0100000068420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420008010000003042000A070000001150726F746563742053746F7020446174650000000000000042000B0900000008000000004F9A5741

2

Client A:

Add Attribute

In: uuidKey, attribute={ UsageLimits={ UsageLimitsTotal=‘1000’, UsageLimitsUnit=’1’} }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Usage Limits

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Usage Limits Total (0x420097), Type: Long Integer (0x03), Data: 0x00000000000003E8 (1000)

          Tag: Usage Limits Unit (0x420098), Type: Enumeration (0x05), Data: 0x00000001 (Byte)

 

42007801000000D84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000009042005C05000000040000000D000000004200790100000078420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420008010000004042000A070000000C5573616765204C696D6974730000000042000B0100000020420097030000000800000000000003E842009805000000040000000100000000

 

Out: uuidKey, attribute={ UsageLimits={ UsageLimitsTotal= ‘1000’, UsageLimitsCount=‘1000’, UsageLimitsUnit=’1’} }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Usage Limits

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Usage Limits Total (0x420097), Type: Long Integer (0x03), Data: 0x00000000000003E8 (1000)

          Tag: Usage Limits Count (0x420096), Type: Long Integer (0x03), Data: 0x00000000000003E8 (1000)

          Tag: Usage Limits Unit (0x420098), Type: Enumeration (0x05), Data: 0x00000001 (Byte)

 

42007B010000010842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F01000000B042005C05000000040000000D0000000042007F0500000004000000000000000042007C0100000088420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420008010000005042000A070000000C5573616765204C696D6974730000000042000B0100000030420097030000000800000000000003E8420096030000000800000000000003E842009805000000040000000100000000

3

Client B:

Locate (symmetric key by name)

In: objectType = ‘00000002’, attributes={ Name={ Name=‘Key1’, NameType= ‘00000001’} }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000D04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000008842005C050000000400000008000000004200790100000070420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

4

Client B:

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 50F31013C771AF4448110F695EFA9EC7

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002432633233323137652D663533632D346264662D616430612D3538613331666433643462360000000042008F01000000584200400100000050420042050000000400000001000000004200450100000018420043080000001050F31013C771AF4448110F695EFA9EC74200280500000004000000030000000042002A02000000040000008000000000

5

Client B:

Check

Get usage allocation

In (header): BatchOrderOption=’true’

In: uuidKey, UsageLimitsCount=’500’

In: uuidKey, UsageLimitsCount=’500’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000009 (Check)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: D35A294F9425F06E

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Usage Limits Count (0x420096), Type: Long Integer (0x03), Data: 0x00000000000001F4 (500)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000011 (Get Usage Allocation)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 80454D8CE4F738FE

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Usage Limits Count (0x420096), Type: Long Integer (0x03), Data: 0x00000000000001F4 (500)

 

42007801000001204200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000006842005C050000000400000009000000004200930800000008D35A294F9425F06E4200790100000040420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420096030000000800000000000001F442000F010000006842005C05000000040000001100000000420093080000000880454D8CE4F738FE4200790100000040420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420096030000000800000000000001F4

 

Out: uuidKey

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000009 (Check)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: D35A294F9425F06E

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000011 (Get Usage Allocation)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 80454D8CE4F738FE

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007B010000013042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000020000000042000F010000006842005C050000000400000009000000004200930800000008D35A294F9425F06E42007F0500000004000000000000000042007C0100000030420094070000002432633233323137652D663533632D346264662D616430612D3538613331666433643462360000000042000F010000006842005C05000000040000001100000000420093080000000880454D8CE4F738FE42007F0500000004000000000000000042007C0100000030420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

6

Client A:

Get usage allocation

In: uuidKey, UsageLimitsCount=’500’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000011 (Get Usage Allocation)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Usage Limits Count (0x420096), Type: Long Integer (0x03), Data: 0x00000000000001F4 (500)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C050000000400000011000000004200790100000040420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420096030000000800000000000001F4

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000011 (Get Usage Allocation)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000005842005C0500000004000000110000000042007F0500000004000000000000000042007C0100000030420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

7

Client C:

Locate (symmetric key by name)

In: objectType = ‘00000002’, attributes={ Name={ Name=‘Key1’,  NameType=‘00000001’} }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: Key1

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000D04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000008842005C050000000400000008000000004200790100000070420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000003842000A07000000044E616D650000000042000B010000002042005507000000044B6579310000000042005405000000040000000100000000

 

Out: uuidKey, attribute={ State=‘00000004’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

8

Client C:

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 50F31013C771AF4448110F695EFA9EC7

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002432633233323137652D663533632D346264662D616430612D3538613331666433643462360000000042008F01000000584200400100000050420042050000000400000001000000004200450100000018420043080000001050F31013C771AF4448110F695EFA9EC74200280500000004000000030000000042002A02000000040000008000000000

9

Client C:

Get usage allocation

In: uuidKey, UsageLimitsCount=’500’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000011 (Get Usage Allocation)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Usage Limits Count (0x420096), Type: Long Integer (0x03), Data: 0x00000000000001F4 (500)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C050000000400000011000000004200790100000040420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000420096030000000800000000000001F4

 

Out: Operation Failed, Permission Denied

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000011 (Get Usage Allocation)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x0000000C (Permission Denied)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: Unable to allocate requested amount

 

42007B01000000B842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000006042005C0500000004000000110000000042007F0500000004000000010000000042007E05000000040000000C0000000042007D0700000023556E61626C6520746F20616C6C6F636174652072657175657374656420616D6F756E740000000000

10

Client A:

Revoke (symmetric key as cessation of operation) and Destroy (symmetric key)

In (header): batchOrderOption=’TRUE’

In: uuidKey, revocationReasonCode=’6’

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Order Option (0x420010), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 79B998C5F29465F4

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

      Tag: Revocation Reason (0x420081), Type: Structure (0x01), Data:

        Tag: Revocation Reason Code (0x420082), Type: Enumeration (0x05), Data: 0x00000006 (Cessation of Operation)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: B0633F0E41187345

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007801000001284200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200100600000008000000000000000142000D0200000004000000020000000042000F010000007042005C05000000040000001300000000420093080000000879B998C5F29465F44200790100000048420094070000002432633233323137652D663533632D346264662D616430612D3538613331666433643462360000000042008101000000104200820500000004000000060000000042000F010000005842005C050000000400000014000000004200930800000008B0633F0E411873454200790100000030420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

 

Out: uuidKey

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 79B998C5F29465F4

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: B0633F0E41187345

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 2c23217e-f53c-4bdf-ad0a-58a31fd3d4b6

 

42007B010000013042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000020000000042000F010000006842005C05000000040000001300000000420093080000000879B998C5F29465F442007F0500000004000000000000000042007C0100000030420094070000002432633233323137652D663533632D346264662D616430612D3538613331666433643462360000000042000F010000006842005C050000000400000014000000004200930800000008B0633F0E4118734542007F0500000004000000000000000042007C0100000030420094070000002432633233323137652D663533632D346264662D616430612D35386133316664336434623600000000

 

 

6            Key Interchange, Key Exchange

6.1       Test Case: Import of a Third-party Key

This test case tests the import of a foreign key using the Register operation. To validate that the registered key is treated the same as a locally created key, an attribute is added to the key and then modified. Finally, the key is destroyed.

Time

Request/Response messages

0

Register (symmetric key)

In: objectType = ‘00000002’, attributes={ CryptographicUsageMask=‘00000004’ }, foreignSymmetricKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000004 (Encrypt)

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 0123456789ABCDEF0123456789ABCDEF

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007801000001104200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000C842005C0500000004000000030000000042007901000000B0420057050000000400000002000000004200910100000038420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B0200000004000000040000000042008F0100000058420040010000005042004205000000040000000100000000420045010000001842004308000000100123456789ABCDEF0123456789ABCDEF4200280500000004000000030000000042002A02000000040000008000000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3e2629a7-8b82-4c95-9258-4fd6e6ba96c4

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000005842005C0500000004000000030000000042007F0500000004000000000000000042007C0100000030420094070000002433653236323961372D386238322D346339352D393235382D34666436653662613936633400000000

1

Add attribute

In: uuidKey, attribute={ x-provider=‘unknown’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3e2629a7-8b82-4c95-9258-4fd6e6ba96c4

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-provider

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: unknown

 

42007801000000C04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000007842005C05000000040000000D000000004200790100000060420094070000002433653236323961372D386238322D346339352D393235382D34666436653662613936633400000000420008010000002842000A070000000A782D70726F766964657200000000000042000B0700000007756E6B6E6F776E00

 

Out: uuidKey, attribute={ x-provider=‘unknown’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3e2629a7-8b82-4c95-9258-4fd6e6ba96c4

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-provider

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: unknown

 

42007B01000000E042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000008842005C05000000040000000D0000000042007F0500000004000000000000000042007C0100000060420094070000002433653236323961372D386238322D346339352D393235382D34666436653662613936633400000000420008010000002842000A070000000A782D70726F766964657200000000000042000B0700000007756E6B6E6F776E00

2

Modify attribute

In: uuidKey, attribute={ x-provider=‘third party’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3e2629a7-8b82-4c95-9258-4fd6e6ba96c4

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-provider

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: third party

 

42007801000000C84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000008042005C05000000040000000E000000004200790100000068420094070000002433653236323961372D386238322D346339352D393235382D34666436653662613936633400000000420008010000003042000A070000000A782D70726F766964657200000000000042000B070000000B74686972642070617274790000000000

 

Out: uuidKey, attribute={ x-provider=‘third party’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3e2629a7-8b82-4c95-9258-4fd6e6ba96c4

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: x-provider

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: third party

 

42007B01000000E842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000009042005C05000000040000000E0000000042007F0500000004000000000000000042007C0100000068420094070000002433653236323961372D386238322D346339352D393235382D34666436653662613936633400000000420008010000003042000A070000000A782D70726F766964657200000000000042000B070000000B74686972642070617274790000000000

3

Destroy (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3e2629a7-8b82-4c95-9258-4fd6e6ba96c4

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002433653236323961372D386238322D346339352D393235382D34666436653662613936633400000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3e2629a7-8b82-4c95-9258-4fd6e6ba96c4

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002433653236323961372D386238322D346339352D393235382D34666436653662613936633400000000

 

 

7            Vendor Extensions

These test cases test the handling of unknown message extensions with vendor-specific content.

7.1       Test Case: Unrecognized Message Extension with Criticality Indicator False

A create request is issued and the request contains a Message Extension with the Criticality Indicator set to false. The server does not understand the extension, but since it is non-critical, the create request is processed normally. Subsequently, the created key is deleted.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’ }, MessageExtension={ VendorIdentification=’Acme’, CriticalityIndicator=’false’, VendorExtension={ tag=’0x540001’, type=’text string’, value=’na’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

    Tag: Message Extension (0x420051), Type: Structure (0x01), Data:

      Tag: Vendor Identification (0x42009D), Type: Text String (0x07), Data: Acme

      Tag: Criticality Indicator (0x420026), Type: Boolean (0x06), Data: FALSE

      Tag: Vendor Extension (0x42009C), Type: Structure (0x01), Data:

        Tag: Unknown tag (0x014242), Type: Text String (0x07), Data: na

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000011842005C0500000004000000010000000042007901000000C04200570500000004000000020000000042009101000000A8420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420051010000003842009D070000000441636D65000000004200260600000008000000000000000042009C010000001001424207000000026E61000000000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: bdc90168-5cd3-480c-b900-aa9924861f40

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002462646339303136382D356364332D343830632D623930302D61613939323438363166343000000000

1

Destroy (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: bdc90168-5cd3-480c-b900-aa9924861f40

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002462646339303136382D356364332D343830632D623930302D61613939323438363166343000000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: bdc90168-5cd3-480c-b900-aa9924861f40

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002462646339303136382D356364332D343830632D623930302D61613939323438363166343000000000

 

7.2       Test Case: Unrecognized Message Extension with Criticality Indicator True

A create request is issued and the request contains a Message Extension with the Criticality Indicator set to true. The server does not understand the extension, and since it is critical, the create request fails and an error is returned.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’,

CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’ }, MessageExtension={ VendorIdentification=’Acme’, CriticalityIndicator=’true’, VendorExtension={ tag=’0x540001’, type=’text string’, value=’na’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

    Tag: Message Extension (0x420051), Type: Structure (0x01), Data:

      Tag: Vendor Identification (0x42009D), Type: Text String (0x07), Data: Acme

      Tag: Criticality Indicator (0x420026), Type: Boolean (0x06), Data: TRUE

      Tag: Vendor Extension (0x42009C), Type: Structure (0x01), Data:

        Tag: Unknown tag (0x014242), Type: Text String (0x07), Data: na

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000011842005C0500000004000000010000000042007901000000C04200570500000004000000020000000042009101000000A8420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420051010000003842009D070000000441636D65000000004200260600000008000000000000000142009C010000001001424207000000026E61000000000000

 

Out: Operation Failed, Feature Not Supported

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54E9 (Fri Apr 27 10:12:25 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x00000008 (Feature Not Supported)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: Critical Message Extension not recognized

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54E942000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000010000000042007E0500000004000000080000000042007D0700000029437269746963616C204D65737361676520457874656E73696F6E206E6F74207265636F676E697A656400000000000000

 

 

8            Asymmetric Keys

Creation of asymmetric keys using the “Create Key Pair” operation and registration of asymmetric keys using the “Register” operation. Relationship management and tracking using the Link attribute.

8.1       Test Case: Create a Key Pair

Create a new private/public key pair. Make sure they are linked correctly by issuing Locate commands with the assigned Unique Identifiers. Finally delete both key halves.

Time

Request/Response messages

0

Create Key Pair

In: commonAttributes={ CryptographicAlgorithm=’RSA’, CryptographicLength=’1024’ }, privateKeyAttributes={ Name={ NameValue=‘PrivateKey1’, NameType=’00000001’ }, CryptographicUsageMask=’00000001’ }, publicKeyAttributes={ NameValue=‘PublicKey1’, NameType=’00000001’ }, CryptographicUsageMask=’00000002’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000002 (Create Key Pair)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Common Template-Attribute (0x42001F), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000004 (RSA)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000400 (1024)

      Tag: Private Key Template-Attribute (0x420065), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: PrivateKey1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000001 (Sign)

      Tag: Public Key Template-Attribute (0x42006E), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: PublicKey1

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000002 (Verify)

 

42007801000001E84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000001A042005C05000000040000000200000000420079010000018842001F0100000070420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000400000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B020000000400000400000000004200650100000080420008010000004042000A07000000044E616D650000000042000B0100000028420055070000000B507269766174654B657931000000000042005405000000040000000100000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B0200000004000000010000000042006E0100000080420008010000004042000A07000000044E616D650000000042000B0100000028420055070000000A5075626C69634B65793100000000000042005405000000040000000100000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000200000000

 

Out: uuidPrivateKey, uuidPublicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000002 (Create Key Pair)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Private Key Unique Identifier (0x420066), Type: Text String (0x07), Data: 7f7ee394-40f9-444c-818c-fb1ae57bdf15

      Tag: Public Key Unique Identifier (0x42006F), Type: Text String (0x07), Data: 79c0eb55-d020-43de-b72f-5e18c862647c

 

42007B01000000E042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000008842005C0500000004000000020000000042007F0500000004000000000000000042007C0100000060420066070000002437663765653339342D343066392D343434632D383138632D6662316165353762646631350000000042006F070000002437396330656235352D643032302D343364652D623732662D35653138633836323634376300000000

1

Locate (Public Key)

In: attributes={ objectType=’PublicKey’, Link={ LinkType=‘PrivateKeyLink’, LinkedObjectIdentifier=uuidPrivateKey } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (Public Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000103 (Private Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 7f7ee394-40f9-444c-818c-fb1ae57bdf15

 

42007801000000F04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A842005C050000000400000008000000004200790100000090420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000300000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001030000000042004C070000002437663765653339342D343066392D343434632D383138632D66623161653537626466313500000000

 

Out: uuidPublicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 79c0eb55-d020-43de-b72f-5e18c862647c

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002437396330656235352D643032302D343364652D623732662D35653138633836323634376300000000

2

Locate (Private Key)

In: attributes={ objectType=’PrivateKey’, Link={ LinkType=‘PublicKeyLink’, LinkedObjectIdentifier=uuidPublicKey } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000004 (Private Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000102 (Public Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 79c0eb55-d020-43de-b72f-5e18c862647c

 

42007801000000F04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A842005C050000000400000008000000004200790100000090420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000400000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001020000000042004C070000002437396330656235352D643032302D343364652D623732662D35653138633836323634376300000000

 

Out: uuidPrivateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7f7ee394-40f9-444c-818c-fb1ae57bdf15

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002437663765653339342D343066392D343434632D383138632D66623161653537626466313500000000

3

Destroy

In: uuidPrivateKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7f7ee394-40f9-444c-818c-fb1ae57bdf15

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002437663765653339342D343066392D343434632D383138632D66623161653537626466313500000000

 

Out: uuidPrivateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7f7ee394-40f9-444c-818c-fb1ae57bdf15

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002437663765653339342D343066392D343434632D383138632D66623161653537626466313500000000

4

Destroy

In: uuidPublicKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 79c0eb55-d020-43de-b72f-5e18c862647c

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002437396330656235352D643032302D343364652D623732662D35653138633836323634376300000000

 

Out: uuidPublicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 79c0eb55-d020-43de-b72f-5e18c862647c

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002437396330656235352D643032302D343364652D623732662D35653138633836323634376300000000

 

8.2       Test Case: Register Both Halves of a Key Pair

Register a private key and a public key and set the Link attribute to point to each other. Verify the links were set correctly by locating the keys based on the link attributes, and then delete both objects.

Time

Request/Response messages

0

Register (Private Key)

In: objectType=’00000004’, attributes={ CryptographicUsageMask=‘00000001’ }, foreignPrivateKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000004 (Private Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000001 (Sign)

      Tag: Private Key (0x420064), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000004 (PKCS#8)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 30820276020100300D06092A864886F70D0101010500048202603082025C02010002818100930451C9ECD94F5BB9DA17DD09381BD23BE43ECA8C7539F301FC8A8CD5D5274C3E7699DBDC711C97A7AA91E2C50A82BD0B1034F0DF493DEC16362427E58ACCE7F6CE0F9BCC617BBD8C90D0094A2703BA0D09EB19D1005F2FB265526AAC75AF32F8BC782CDED2A57F811E03EAF67A944DE5E78413DCA8F232D074E6DCEA4CEC9F02030100010281800B6A7D736199EA48A420E4537CA0C7C046784DCBEAA63BAEBC0BC132787449CDE8D7CAD0C0C863C0FEFB06C3062BEFC50033ECF87B4E33A9BE7BCBC8F1511AE215E80DEB5D8AF2BD31319D7821196640935A0CD67C94599579F2100D65E038831FDAFB0DBE2BBDAC00A696E67E756350E1C99ACE11A36DABAC3ED3E730960059024100DDF672FBCC5BDA3D73AFFC4E791E0C03390224405D69CCAABC749FAA0DCD4C2583C71DDE8941A7B9AA030F52EF1451466C074D4D338FE677892ACD9E10FD35BD024100A98FBC3ED6B4C6F860F97165AC2F7BB6F2E2CB192A9ABD49795BE5BCF37D8EE69A6E169C24E5C32E4E7FA33265461407F952BA49E204818A2F785F113F922B8B0240253F9470390D39049303777DDBC9750E9D64849CE0903EAE704DC9F589B7680DEB9D609FD5BCD4DECD6F120542E5CFF5D76F2A43C8615FB5B3A9213463797AA9024100A1DDF023C0CD94C019BB26D09B9E3CA8FA971CB16AA58B9BAF79D6081A1DBBA452BA53653E2804BA98FF69E8BB1B3A161EA225EA501463216A8DAB9B88A75E5F02406178646E112CF79D921A8A843F17F6E7FF974F688122365BF6690CDFC996E1890952EB3820DD1890EC1C8619E87A2BD38F9D03B37FAC742EFB748C7885942C39

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000004 (RSA)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000400 (1024)

 

42007801000003804200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000033842005C050000000400000003000000004200790100000320420057050000000400000004000000004200910100000038420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B0200000004000000010000000042006401000002C842004001000002C0420042050000000400000004000000004200450100000288420043080000027A30820276020100300D06092A864886F70D0101010500048202603082025C02010002818100930451C9ECD94F5BB9DA17DD09381BD23BE43ECA8C7539F301FC8A8CD5D5274C3E7699DBDC711C97A7AA91E2C50A82BD0B1034F0DF493DEC16362427E58ACCE7F6CE0F9BCC617BBD8C90D0094A2703BA0D09EB19D1005F2FB265526AAC75AF32F8BC782CDED2A57F811E03EAF67A944DE5E78413DCA8F232D074E6DCEA4CEC9F02030100010281800B6A7D736199EA48A420E4537CA0C7C046784DCBEAA63BAEBC0BC132787449CDE8D7CAD0C0C863C0FEFB06C3062BEFC50033ECF87B4E33A9BE7BCBC8F1511AE215E80DEB5D8AF2BD31319D7821196640935A0CD67C94599579F2100D65E038831FDAFB0DBE2BBDAC00A696E67E756350E1C99ACE11A36DABAC3ED3E730960059024100DDF672FBCC5BDA3D73AFFC4E791E0C03390224405D69CCAABC749FAA0DCD4C2583C71DDE8941A7B9AA030F52EF1451466C074D4D338FE677892ACD9E10FD35BD024100A98FBC3ED6B4C6F860F97165AC2F7BB6F2E2CB192A9ABD49795BE5BCF37D8EE69A6E169C24E5C32E4E7FA33265461407F952BA49E204818A2F785F113F922B8B0240253F9470390D39049303777DDBC9750E9D64849CE0903EAE704DC9F589B7680DEB9D609FD5BCD4DECD6F120542E5CFF5D76F2A43C8615FB5B3A9213463797AA9024100A1DDF023C0CD94C019BB26D09B9E3CA8FA971CB16AA58B9BAF79D6081A1DBBA452BA53653E2804BA98FF69E8BB1B3A161EA225EA501463216A8DAB9B88A75E5F02406178646E112CF79D921A8A843F17F6E7FF974F688122365BF6690CDFC996E1890952EB3820DD1890EC1C8619E87A2BD38F9D03B37FAC742EFB748C7885942C390000000000004200280500000004000000040000000042002A02000000040000040000000000

 

Out: uuidPrivateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57e3d38c-5532-425a-8bd6-b9bfee93bb0b

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000030000000042007F0500000004000000000000000042007C0100000030420094070000002435376533643338632D353533322D343235612D386264362D62396266656539336262306200000000

1

Register (Public Key)

In: objectType=’00000004’, attributes={ CryptographicUsageMask=‘00000002’, Link={ LinkType=‘PrivateKeyLink’, LinkedObjectIdentifier=uuidPrivateKey } }, foreignPublicKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000003 (Public Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000002 (Verify)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000103 (Private Key Link)

            Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 57e3d38c-5532-425a-8bd6-b9bfee93bb0b

      Tag: Public Key (0x42006D), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000005 (X.509)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 30819F300D06092A864886F70D010101050003818D0030818902818100930451C9ECD94F5BB9DA17DD09381BD23BE43ECA8C7539F301FC8A8CD5D5274C3E7699DBDC711C97A7AA91E2C50A82BD0B1034F0DF493DEC16362427E58ACCE7F6CE0F9BCC617BBD8C90D0094A2703BA0D09EB19D1005F2FB265526AAC75AF32F8BC782CDED2A57F811E03EAF67A944DE5E78413DCA8F232D074E6DCEA4CEC9F0203010001

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000004 (RSA)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000400 (1024)

 

42007801000002084200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000001C042005C0500000004000000030000000042007901000001A8420057050000000400000003000000004200910100000098420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000200000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001030000000042004C070000002435376533643338632D353533322D343235612D386264362D6239626665653933626230620000000042006D01000000F042004001000000E84200420500000004000000050000000042004501000000B042004308000000A230819F300D06092A864886F70D010101050003818D0030818902818100930451C9ECD94F5BB9DA17DD09381BD23BE43ECA8C7539F301FC8A8CD5D5274C3E7699DBDC711C97A7AA91E2C50A82BD0B1034F0DF493DEC16362427E58ACCE7F6CE0F9BCC617BBD8C90D0094A2703BA0D09EB19D1005F2FB265526AAC75AF32F8BC782CDED2A57F811E03EAF67A944DE5E78413DCA8F232D074E6DCEA4CEC9F02030100010000000000004200280500000004000000040000000042002A02000000040000040000000000

 

Out: uuidPublicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 51b35b14-8551-4798-a450-4eea4e23e38d

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000030000000042007F0500000004000000000000000042007C0100000030420094070000002435316233356231342D383535312D343739382D613435302D34656561346532336533386400000000

2

Add attribute

In: uuidPrivateKey, attribute={ Link={ LinkType=‘PublicKeyLink’, LinkedObjectIdentifier=uuidPublicKey } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57e3d38c-5532-425a-8bd6-b9bfee93bb0b

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000102 (Public Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 51b35b14-8551-4798-a450-4eea4e23e38d

 

42007801000000F04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A842005C05000000040000000D000000004200790100000090420094070000002435376533643338632D353533322D343235612D386264362D62396266656539336262306200000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001020000000042004C070000002435316233356231342D383535312D343739382D613435302D34656561346532336533386400000000

 

Out: uuidPrivateKey, attribute={ Link={ LinkType=‘PublicKeyLink’, LinkedObjectIdentifier=uuidPublicKey } }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57e3d38c-5532-425a-8bd6-b9bfee93bb0b

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000102 (Public Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 51b35b14-8551-4798-a450-4eea4e23e38d

 

42007B010000011042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F01000000B842005C05000000040000000D0000000042007F0500000004000000000000000042007C0100000090420094070000002435376533643338632D353533322D343235612D386264362D62396266656539336262306200000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001020000000042004C070000002435316233356231342D383535312D343739382D613435302D34656561346532336533386400000000

3

Locate (Public Key)

In: attributes={ objectType=’PublicKey’, Link={ LinkType=‘PrivateKeyLink’, LinkedObjectIdentifier=uuidPrivateKey } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (Public Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000103 (Private Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 57e3d38c-5532-425a-8bd6-b9bfee93bb0b

 

42007801000000F04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A842005C050000000400000008000000004200790100000090420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000300000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001030000000042004C070000002435376533643338632D353533322D343235612D386264362D62396266656539336262306200000000

 

Out: uuidPublicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 51b35b14-8551-4798-a450-4eea4e23e38d

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002435316233356231342D383535312D343739382D613435302D34656561346532336533386400000000

4

Locate (Private Key)

In: attributes={ objectType=’PrivateKey’, Link={ LinkType=‘PublicKeyLink’, LinkedObjectIdentifier=uuidPublicKey } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000004 (Private Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000102 (Public Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 51b35b14-8551-4798-a450-4eea4e23e38d

 

42007801000000F04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A842005C050000000400000008000000004200790100000090420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000400000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001020000000042004C070000002435316233356231342D383535312D343739382D613435302D34656561346532336533386400000000

 

Out: uuidPrivateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57e3d38c-5532-425a-8bd6-b9bfee93bb0b

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002435376533643338632D353533322D343235612D386264362D62396266656539336262306200000000

5

Destroy

In: uuidPrivateKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57e3d38c-5532-425a-8bd6-b9bfee93bb0b

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002435376533643338632D353533322D343235612D386264362D62396266656539336262306200000000

 

Out: uuidPrivateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57e3d38c-5532-425a-8bd6-b9bfee93bb0b

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002435376533643338632D353533322D343235612D386264362D62396266656539336262306200000000

6

Destroy

In: uuidPublicKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 51b35b14-8551-4798-a450-4eea4e23e38d

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002435316233356231342D383535312D343739382D613435302D34656561346532336533386400000000

 

Out: uuidPublicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 51b35b14-8551-4798-a450-4eea4e23e38d

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002435316233356231342D383535312D343739382D613435302D34656561346532336533386400000000

 

 

9            Key Roll-over

These test cases test manual key roll-over using the “Re-key” operation. In particular, they test the formatting of the Re-key command, the handling and server-side processing of the various Time attributes and the setting of some other attributes that are not automatically copied from the existing key to the new key.

9.1       Test Case: Create a Key, Re-key

Create a symmetric key with a specific name, and then use Locate to find the key. After using Re-key to create a new key, verify that the name was removed from the existing key and copied to the new key. Also verify that the key material for the old key is still retrievable. To clean up, both keys are deleted.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’, Name={ NameValue=‘rekeyKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000011842005C0500000004000000010000000042007901000001004200570500000004000000020000000042009101000000E8420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002439363464336464322D356630362D343532392D386262382D61653633306236636132653000000000

1

Locate

In: attributes={ Name={ NameValue=‘rekeyKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C050000000400000008000000004200790100000040420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002439363464336464322D356630362D343532392D386262382D61653633306236636132653000000000

2

Rekey

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000004000000004200790100000030420094070000002439363464336464322D356630362D343532392D386262382D61653633306236636132653000000000

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3f190eed-04b7-4220-80a4-fa18e28faaee

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000040000000042007F0500000004000000000000000042007C0100000030420094070000002433663139306565642D303462372D343232302D383061342D66613138653238666161656500000000

3

Locate

In: attributes={ Name={ NameValue=‘rekeyKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C050000000400000008000000004200790100000040420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3f190eed-04b7-4220-80a4-fa18e28faaee

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002433663139306565642D303462372D343232302D383061342D66613138653238666161656500000000

4

Get Attribute

In: uuidKey, attributeName={‘Name’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002439363464336464322D356630362D343532392D386262382D6165363330623663613265300000000042000A07000000044E616D6500000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000030420094070000002439363464336464322D356630362D343532392D386262382D61653633306236636132653000000000

5

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002439363464336464322D356630362D343532392D386262382D61653633306236636132653000000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 9CA9840291A65889043C37707DA997E8

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002439363464336464322D356630362D343532392D386262382D6165363330623663613265300000000042008F0100000058420040010000005042004205000000040000000100000000420045010000001842004308000000109CA9840291A65889043C37707DA997E84200280500000004000000030000000042002A02000000040000008000000000

6

Destroy

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002439363464336464322D356630362D343532392D386262382D61653633306236636132653000000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 964d3dd2-5f06-4529-8bb8-ae630b6ca2e0

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002439363464336464322D356630362D343532392D386262382D61653633306236636132653000000000

7

Destroy

In: uuidNewKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3f190eed-04b7-4220-80a4-fa18e28faaee

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002433663139306565642D303462372D343232302D383061342D66613138653238666161656500000000

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EA (Fri Apr 27 10:12:26 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 3f190eed-04b7-4220-80a4-fa18e28faaee

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EA42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002433663139306565642D303462372D343232302D383061342D66613138653238666161656500000000

 

9.2       Test Case: Existing Key Expired, Re-key with Same Life-cycle

Create a new symmetric key. Then add the Activation Date and Deactivation Date attributes based on the timestamp in the response to the Create request. The Activation Date is set to the current time and the Deactivation Date to a time in the near future. Repeated Get Attribute calls are performed to verify that the state is first “Active”, then subsequently “Deactivated”. Then issue a Re-key request, including an Offset value of zero leading to the Activation Date of the replacement key to be set to the same value as the Initial Date of the replacement key. Verify from the response that the Activation Date and Deactivation Date attributes were set correctly (if they are not returned, issue a Get Attribute request). Do a Get Attribute operation to verify that the state of the new key is “Active”. To clean up, both keys are deleted.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’,

CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000011842005C0500000004000000010000000042007901000001004200570500000004000000020000000042009101000000E8420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EB (Fri Apr 27 10:12:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EB42000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000

1

Add Activation Date, Deactivation Date attributes based on Timestamp in previous response (batch)

In: uuidKey, attribute={ ActivationDate=’ <Timestamp in previous response>’ }

In: uuidKey, attribute={ DeactivationDate=’<Timestamp in previous response + 2 minutes>’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 606051F958D79B0F

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A54EB (Fri Apr 27 10:12:27 CEST 2012)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 7CB12802F6A52CF1

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Deactivation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

 

42007801000001684200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000020000000042000F010000008842005C05000000040000000D000000004200930800000008606051F958D79B0F4200790100000060420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000420008010000002842000A070000000F41637469766174696F6E20446174650042000B0900000008000000004F9A54EB42000F010000009042005C05000000040000000D0000000042009308000000087CB12802F6A52CF14200790100000068420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000420008010000003042000A0700000011446561637469766174696F6E20446174650000000000000042000B0900000008000000004F9A5563

 

Out: uuidKey, attribute={ ActivationDate=’ <Timestamp in previous response>’ }

Out: uuidKey, attribute={ DeactivationDate=’ <Timestamp in previous response + 2 minutes>’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EB (Fri Apr 27 10:12:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 606051F958D79B0F

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A54EB (Fri Apr 27 10:12:27 CEST 2012)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 7CB12802F6A52CF1

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Deactivation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

 

42007B010000019842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EB42000D0200000004000000020000000042000F010000009842005C05000000040000000D000000004200930800000008606051F958D79B0F42007F0500000004000000000000000042007C0100000060420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000420008010000002842000A070000000F41637469766174696F6E20446174650042000B0900000008000000004F9A54EB42000F01000000A042005C05000000040000000D0000000042009308000000087CB12802F6A52CF142007F0500000004000000000000000042007C0100000068420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000420008010000003042000A0700000011446561637469766174696F6E20446174650000000000000042000B0900000008000000004F9A5563

2

Get Attribute (Repeated until state changes to Deactivated)

In: uuidKey, attributeName={‘State’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002435653233333361632D376366322D343032652D616137612D3062366431666439333863640000000042000A07000000055374617465000000

 

Out: uuidKey, attribute={ State=‘Active’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A54EB (Fri Apr 27 10:12:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Active)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A54EB42000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000420008010000002042000A0700000005537461746500000042000B05000000040000000200000000

3

Get Attribute

In: uuidKey, attributeName={‘State’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002435653233333361632D376366322D343032652D616137612D3062366431666439333863640000000042000A07000000055374617465000000

 

Out: uuidKey, attribute={ State=‘Deactivated’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (Deactivated)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000420008010000002042000A0700000005537461746500000042000B05000000040000000300000000

4

Rekey

In: uuidKey, attribute={ offset=’00000000’ (set Activation Date and Initial Date of replacement key to the current time)}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

      Tag: Offset (0x420058), Type: Interval (0x0A), Data: 0x00000000

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C050000000400000004000000004200790100000040420094070000002435653233333361632D376366322D343032652D616137612D306236643166643933386364000000004200580A000000040000000000000000

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000005842005C0500000004000000040000000042007F0500000004000000000000000042007C0100000030420094070000002438656662626436372D323834372D343662352D623765372D34616233623565313735646500000000

5

Get Attribute

In: uuidNewKey, attributeName={‘ ActivationDate’, ‘DectivationDate’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Deactivation Date

 

42007801000000C84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000008042005C05000000040000000B000000004200790100000068420094070000002438656662626436372D323834372D343662352D623765372D3461623362356531373564650000000042000A070000000F41637469766174696F6E20446174650042000A0700000011446561637469766174696F6E204461746500000000000000

 

Out: uuidNewKey, attribute={ ActivationDate=’ <Value of ActivationTime in existing key>’, DectivationDate=’<Value of DeactivationDate of existing key + <Difference between ActivationTime of Replacement and Replaced Key>>’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Deactivation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A55DB (Fri Apr 27 10:16:27 CEST 2012)

 

42007B010000011842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F01000000C042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000098420094070000002438656662626436372D323834372D343662352D623765372D34616233623565313735646500000000420008010000002842000A070000000F41637469766174696F6E20446174650042000B0900000008000000004F9A5563420008010000003042000A0700000011446561637469766174696F6E20446174650000000000000042000B0900000008000000004F9A55DB

6

Get Attribute

In: uuidNewKey, attributeName={‘State’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002438656662626436372D323834372D343662352D623765372D3461623362356531373564650000000042000A07000000055374617465000000

 

Out: uuidNewKey, attribute={ State=‘Active’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Active)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002438656662626436372D323834372D343662352D623765372D34616233623565313735646500000000420008010000002042000A0700000005537461746500000042000B05000000040000000200000000

7

Destroy

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 5e2333ac-7cf2-402e-aa7a-0b6d1fd938cd

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002435653233333361632D376366322D343032652D616137612D30623664316664393338636400000000

8

Revoke (symmetric key as cessation of operation) and Destroy

In (header): batchOrderOption=’TRUE’

In: uuidKey, revocationReasonCode=’6’

In: uuidNewKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Order Option (0x420010), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 955DFBB9ABBEC308

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

      Tag: Revocation Reason (0x420081), Type: Structure (0x01), Data:

        Tag: Revocation Reason Code (0x420082), Type: Enumeration (0x05), Data: 0x00000006 (Cessation of Operation)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 6CE5EA0C8334B076

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

 

42007801000001284200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200100600000008000000000000000142000D0200000004000000020000000042000F010000007042005C050000000400000013000000004200930800000008955DFBB9ABBEC3084200790100000048420094070000002438656662626436372D323834372D343662352D623765372D3461623362356531373564650000000042008101000000104200820500000004000000060000000042000F010000005842005C0500000004000000140000000042009308000000086CE5EA0C8334B0764200790100000030420094070000002438656662626436372D323834372D343662352D623765372D34616233623565313735646500000000

 

Out: uuidNewKey

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 955DFBB9ABBEC308

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 6CE5EA0C8334B076

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 8efbbd67-2847-46b5-b7e7-4ab3b5e175de

 

42007B010000013042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000020000000042000F010000006842005C050000000400000013000000004200930800000008955DFBB9ABBEC30842007F0500000004000000000000000042007C0100000030420094070000002438656662626436372D323834372D343662352D623765372D3461623362356531373564650000000042000F010000006842005C0500000004000000140000000042009308000000086CE5EA0C8334B07642007F0500000004000000000000000042007C0100000030420094070000002438656662626436372D323834372D343662352D623765372D34616233623565313735646500000000

 

9.3       Test Case: Existing Key Compromised, Re-key with Same Life-cycle

Create a new symmetric key with the Activation Date in the past. Do a Get Attribute operation on the State attribute to verify the key is “Active”. Then revoke the key as compromised, verify that the state has changed to “Compromised”. Create a replacement key using Re-key with the offset set to ‘0’ to indicate that the times are to be copied from the existing key. Do a Get Attribute operation to verify that the state of the new key is “Active”. To clean up, both keys are deleted.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’, Name={ NameValue=‘rekeyKey’, NameType=’00000001’ }, ActivationDate=’<NOW>’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

          Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000001904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000014842005C050000000400000001000000004200790100000130420057050000000400000002000000004200910100000118420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000002842000A070000000F41637469766174696F6E20446174650042000B0900000008000000004F9A5563420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002438393836306238642D613031652D343364302D613134642D30623161313539333961663100000000

1

Get Attribute

In: uuidKey, attributeName={‘State’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002438393836306238642D613031652D343364302D613134642D3062316131353933396166310000000042000A07000000055374617465000000

 

Out: uuidKey, attribute={ State=‘Active’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Active)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002438393836306238642D613031652D343364302D613134642D30623161313539333961663100000000420008010000002042000A0700000005537461746500000042000B05000000040000000200000000

2

Revoke (symmetric key as compromised)

In: uuidKey, RevocationReason=’00000002’, CompromiseOccurrenceDate=’<NOW>’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

      Tag: Revocation Reason (0x420081), Type: Structure (0x01), Data:

        Tag: Revocation Reason Code (0x420082), Type: Enumeration (0x05), Data: 0x00000002 (Key Compromise)

      Tag: Compromise Occurrence Date (0x420021), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

 

42007801000000B84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000007042005C050000000400000013000000004200790100000058420094070000002438393836306238642D613031652D343364302D613134642D306231613135393339616631000000004200810100000010420082050000000400000002000000004200210900000008000000004F9A5563

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000005842005C0500000004000000130000000042007F0500000004000000000000000042007C0100000030420094070000002438393836306238642D613031652D343364302D613134642D30623161313539333961663100000000

3

Get Attribute

In: uuidKey, attributeName={‘State’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002438393836306238642D613031652D343364302D613134642D3062316131353933396166310000000042000A07000000055374617465000000

 

Out: uuidKey, attribute={ State=‘Compromised’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000004 (Compromised)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002438393836306238642D613031652D343364302D613134642D30623161313539333961663100000000420008010000002042000A0700000005537461746500000042000B05000000040000000400000000

4

Rekey

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000004000000004200790100000030420094070000002438393836306238642D613031652D343364302D613134642D30623161313539333961663100000000

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7a89b8aa-824d-4dc1-95e0-cac9b7b2e944

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000005842005C0500000004000000040000000042007F0500000004000000000000000042007C0100000030420094070000002437613839623861612D383234642D346463312D393565302D63616339623762326539343400000000

5

Get Attribute

In: uuidNewKey, attributeName={‘State’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7a89b8aa-824d-4dc1-95e0-cac9b7b2e944

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002437613839623861612D383234642D346463312D393565302D6361633962376232653934340000000042000A07000000055374617465000000

 

Out: uuidNewKey, attribute={ State=‘Active’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7a89b8aa-824d-4dc1-95e0-cac9b7b2e944

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: State

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Active)

 

42007B01000000D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000008042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000058420094070000002437613839623861612D383234642D346463312D393565302D63616339623762326539343400000000420008010000002042000A0700000005537461746500000042000B05000000040000000200000000

6

Destroy

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002438393836306238642D613031652D343364302D613134642D30623161313539333961663100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 89860b8d-a01e-43d0-a14d-0b1a15939af1

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002438393836306238642D613031652D343364302D613134642D30623161313539333961663100000000

7

Revoke (symmetric key as cessation of operation) and Destroy

In (header): batchOrderOption=’TRUE’

In: uuidNewKey, revocationReasonCode=’6’

In: uuidNewKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Order Option (0x420010), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: C95BBFD6AD466474

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7a89b8aa-824d-4dc1-95e0-cac9b7b2e944

      Tag: Revocation Reason (0x420081), Type: Structure (0x01), Data:

        Tag: Revocation Reason Code (0x420082), Type: Enumeration (0x05), Data: 0x00000006 (Cessation of Operation)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 4E6A3E943E1DDA87

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7a89b8aa-824d-4dc1-95e0-cac9b7b2e944

 

42007801000001284200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200100600000008000000000000000142000D0200000004000000020000000042000F010000007042005C050000000400000013000000004200930800000008C95BBFD6AD4664744200790100000048420094070000002437613839623861612D383234642D346463312D393565302D6361633962376232653934340000000042008101000000104200820500000004000000060000000042000F010000005842005C0500000004000000140000000042009308000000084E6A3E943E1DDA874200790100000030420094070000002437613839623861612D383234642D346463312D393565302D63616339623762326539343400000000

 

Out: uuidNewKey

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: C95BBFD6AD466474

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7a89b8aa-824d-4dc1-95e0-cac9b7b2e944

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 4E6A3E943E1DDA87

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7a89b8aa-824d-4dc1-95e0-cac9b7b2e944

 

42007B010000013042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000020000000042000F010000006842005C050000000400000013000000004200930800000008C95BBFD6AD46647442007F0500000004000000000000000042007C0100000030420094070000002437613839623861612D383234642D346463312D393565302D6361633962376232653934340000000042000F010000006842005C0500000004000000140000000042009308000000084E6A3E943E1DDA8742007F0500000004000000000000000042007C0100000030420094070000002437613839623861612D383234642D346463312D393565302D63616339623762326539343400000000

 

9.4       Test Case: Create Key, Re-key with New Life-cycle

Create a symmetric key with a specific name, then use Locate to find the key. After using Re-key to create a new key, verify that the name was removed from the existing key and copied to the new key. To clean up, both keys are deleted.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’, Name={ NameValue=‘rekeyKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000001604200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000011842005C0500000004000000010000000042007901000001004200570500000004000000020000000042009101000000E8420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1346d253-69d6-474c-8cd5-ad475a3e0a81

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002431333436643235332D363964362D343734632D386364352D61643437356133653061383100000000

1

Locate

In: attributes={ Name={ NameValue=‘rekeyKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C050000000400000008000000004200790100000040420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1346d253-69d6-474c-8cd5-ad475a3e0a81

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002431333436643235332D363964362D343734632D386364352D61643437356133653061383100000000

2

Rekey

In: uuidKey, attributes={ ActivationDate=’0000000043B7B630’, ProcessStartDate=’0000000043B7B630’, ProtectStopDate=’000000005E0C7BB0’, DeactivationDate=’000000005E0C7BB0’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1346d253-69d6-474c-8cd5-ad475a3e0a81

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

          Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x0000000043B7B630 (Sun Jan 01 12:00:00 CET 2006)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Process Start Date

          Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x0000000043B7B630 (Sun Jan 01 12:00:00 CET 2006)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Protect Stop Date

          Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000005E0C7BB0 (Wed Jan 01 12:00:00 CET 2020)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Deactivation Date

          Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000005E0C7BB0 (Wed Jan 01 12:00:00 CET 2020)

 

42007801000001704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000012842005C050000000400000004000000004200790100000110420094070000002431333436643235332D363964362D343734632D386364352D6164343735613365306138310000000042009101000000D8420008010000002842000A070000000F41637469766174696F6E20446174650042000B09000000080000000043B7B630420008010000003042000A070000001250726F63657373205374617274204461746500000000000042000B09000000080000000043B7B630420008010000003042000A070000001150726F746563742053746F7020446174650000000000000042000B0900000008000000005E0C7BB0420008010000003042000A0700000011446561637469766174696F6E20446174650000000000000042000B0900000008000000005E0C7BB0

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 6766f95e-740f-4b4d-aa55-97c3f4f19dd5

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000005842005C0500000004000000040000000042007F0500000004000000000000000042007C0100000030420094070000002436373636663935652D373430662D346234642D616135352D39376333663466313964643500000000

3

Get Attribute

In: uuidKey, attributeName={‘Name’}

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1346d253-69d6-474c-8cd5-ad475a3e0a81

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000B000000004200790100000040420094070000002431333436643235332D363964362D343734632D386364352D6164343735613365306138310000000042000A07000000044E616D6500000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5563 (Fri Apr 27 10:14:27 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1346d253-69d6-474c-8cd5-ad475a3e0a81

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556342000D0200000004000000010000000042000F010000005842005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000030420094070000002431333436643235332D363964362D343734632D386364352D61643437356133653061383100000000

4

Get Attribute

In: uuidKey, attributeName={ ‘ActivationDate’, ‘ProcessStartDate’, ‘ProtectStopDate’, ‘DeactivationDate’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 6766f95e-740f-4b4d-aa55-97c3f4f19dd5

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Process Start Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Protect Stop Date

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Deactivation Date

 

42007801000001084200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000C042005C05000000040000000B0000000042007901000000A8420094070000002436373636663935652D373430662D346234642D616135352D3937633366346631396464350000000042000A070000000F41637469766174696F6E20446174650042000A070000001250726F63657373205374617274204461746500000000000042000A070000001150726F746563742053746F7020446174650000000000000042000A0700000011446561637469766174696F6E204461746500000000000000

 

Out: uuidKey, attribute={ ActivationDate=’0000000043B7B630’, ProcessStartDate=’0000000043B7B630’, ProtectStopDate=’000000005E0C7BB0’, DeactivationDate=’000000005E0C7BB0’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 6766f95e-740f-4b4d-aa55-97c3f4f19dd5

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x0000000043B7B630 (Sun Jan 01 12:00:00 CET 2006)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Process Start Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x0000000043B7B630 (Sun Jan 01 12:00:00 CET 2006)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Protect Stop Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000005E0C7BB0 (Wed Jan 01 12:00:00 CET 2020)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Deactivation Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000005E0C7BB0 (Wed Jan 01 12:00:00 CET 2020)

 

42007B010000018842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000013042005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000108420094070000002436373636663935652D373430662D346234642D616135352D39376333663466313964643500000000420008010000002842000A070000000F41637469766174696F6E20446174650042000B09000000080000000043B7B630420008010000003042000A070000001250726F63657373205374617274204461746500000000000042000B09000000080000000043B7B630420008010000003042000A070000001150726F746563742053746F7020446174650000000000000042000B0900000008000000005E0C7BB0420008010000003042000A0700000011446561637469766174696F6E20446174650000000000000042000B0900000008000000005E0C7BB0

5

Locate

In: attributes={ Name={ NameValue=‘rekeyKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C050000000400000008000000004200790100000040420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 6766f95e-740f-4b4d-aa55-97c3f4f19dd5

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002436373636663935652D373430662D346234642D616135352D39376333663466313964643500000000

6

Destroy

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1346d253-69d6-474c-8cd5-ad475a3e0a81

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002431333436643235332D363964362D343734632D386364352D61643437356133653061383100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 1346d253-69d6-474c-8cd5-ad475a3e0a81

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002431333436643235332D363964362D343734632D386364352D61643437356133653061383100000000

7

Revoke (symmetric key as cessation of operation) and Destroy

In (header): batchOrderOption=’TRUE’

In: uuidNewKey, revocationReasonCode=’6’

In: uuidNewKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Order Option (0x420010), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 64BF984D81EEE045

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 6766f95e-740f-4b4d-aa55-97c3f4f19dd5

      Tag: Revocation Reason (0x420081), Type: Structure (0x01), Data:

        Tag: Revocation Reason Code (0x420082), Type: Enumeration (0x05), Data: 0x00000006 (Cessation of Operation)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 6E140354775E324D

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 6766f95e-740f-4b4d-aa55-97c3f4f19dd5

 

42007801000001284200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200100600000008000000000000000142000D0200000004000000020000000042000F010000007042005C05000000040000001300000000420093080000000864BF984D81EEE0454200790100000048420094070000002436373636663935652D373430662D346234642D616135352D3937633366346631396464350000000042008101000000104200820500000004000000060000000042000F010000005842005C0500000004000000140000000042009308000000086E140354775E324D4200790100000030420094070000002436373636663935652D373430662D346234642D616135352D39376333663466313964643500000000

 

Out: uuidNewKey

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 64BF984D81EEE045

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 6766f95e-740f-4b4d-aa55-97c3f4f19dd5

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 6E140354775E324D

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 6766f95e-740f-4b4d-aa55-97c3f4f19dd5

 

42007B010000013042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000020000000042000F010000006842005C05000000040000001300000000420093080000000864BF984D81EEE04542007F0500000004000000000000000042007C0100000030420094070000002436373636663935652D373430662D346234642D616135352D3937633366346631396464350000000042000F010000006842005C0500000004000000140000000042009308000000086E140354775E324D42007F0500000004000000000000000042007C0100000030420094070000002436373636663935652D373430662D346234642D616135352D39376333663466313964643500000000

 

9.5       Test Case: Obtain Lease for Expired Key

Create a symmetric key with a specific name and obtain a lease. Revoke the key with state “Compromised” and re-key the key. Try to obtain a lease on the old key which fails due to a server policy which does not allow giving out leases for compromised keys. Locate the new key with the original name. Get the new key and obtain a lease.

Time

Request/Response messages

0

Client A:

Create (symmetric key)

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’,

CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’, Name={ NameValue=‘ rekeyKey’, NameType=’00000001’ }, ActivationDate=’<NOW>’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Activation Date

          Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

 

42007801000001904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000014842005C050000000400000001000000004200790100000130420057050000000400000002000000004200910100000118420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000420008010000002842000A070000000F41637469766174696F6E20446174650042000B0900000008000000004F9A5564

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002466343135326631372D393331322D343331612D623366622D34666538366138366137613100000000

1

Client A:

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002466343135326631372D393331322D343331612D623366622D34666538366138366137613100000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: EF5A0E97A29B32034C66EFBF26AD3E42

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002466343135326631372D393331322D343331612D623366622D3466653836613836613761310000000042008F010000005842004001000000504200420500000004000000010000000042004501000000184200430800000010EF5A0E97A29B32034C66EFBF26AD3E424200280500000004000000030000000042002A02000000040000008000000000

2

Client A:

Obtain Lease

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000010 (Obtain Lease)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000010000000004200790100000030420094070000002466343135326631372D393331322D343331612D623366622D34666538366138366137613100000000

 

Out: uuidKey, leaseTime, lastChangeDate

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000010 (Obtain Lease)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

      Tag: Lease Time (0x420049), Type: Interval (0x0A), Data: 0x00000000

      Tag: Last Change Date (0x420048), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

 

42007B01000000D042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000007842005C0500000004000000100000000042007F0500000004000000000000000042007C0100000050420094070000002466343135326631372D393331322D343331612D623366622D346665383661383661376131000000004200490A0000000400000000000000004200480900000008000000004F9A5564

3

Client B:

Revoke (symmetric key as compromised)

In: uuidKey, RevocationReason=’00000002’, CompromiseOccurrenceDate=’<NOW>’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

      Tag: Revocation Reason (0x420081), Type: Structure (0x01), Data:

        Tag: Revocation Reason Code (0x420082), Type: Enumeration (0x05), Data: 0x00000002 (Key Compromise)

      Tag: Compromise Occurrence Date (0x420021), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

 

42007801000000B84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000007042005C050000000400000013000000004200790100000058420094070000002466343135326631372D393331322D343331612D623366622D346665383661383661376131000000004200810100000010420082050000000400000002000000004200210900000008000000004F9A5564

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000005842005C0500000004000000130000000042007F0500000004000000000000000042007C0100000030420094070000002466343135326631372D393331322D343331612D623366622D34666538366138366137613100000000

4

Client B:

Rekey

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000004000000004200790100000030420094070000002466343135326631372D393331322D343331612D623366622D34666538366138366137613100000000

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000005842005C0500000004000000040000000042007F0500000004000000000000000042007C0100000030420094070000002432386138343534342D376334612D346434382D386537312D30376635623030303636336500000000

5

Client A:

Obtain Lease

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000010 (Obtain Lease)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000010000000004200790100000030420094070000002466343135326631372D393331322D343331612D623366622D34666538366138366137613100000000

 

Out: Operation Failed, Permission Denied

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000010 (Obtain Lease)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x0000000C (Permission Denied)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: CO is in state Compromised, no lease given

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000006842005C0500000004000000100000000042007F0500000004000000010000000042007E05000000040000000C0000000042007D070000002A434F20697320696E20737461746520436F6D70726F6D697365642C206E6F206C6561736520676976656E000000000000

6

Client A:

Locate (symmetric key)

In: attributes={ Name={ NameValue=‘rekeyKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: rekeyKey

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C050000000400000008000000004200790100000040420008010000003842000A07000000044E616D650000000042000B0100000020420055070000000872656B65794B657942005405000000040000000100000000

 

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002432386138343534342D376334612D346434382D386537312D30376635623030303636336500000000

7

Client A:

Get (symmetric key)

In: uuidNewKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002432386138343534342D376334612D346434382D386537312D30376635623030303636336500000000

 

Out: objectType = ‘00000002’, uuidNewKey, newSymmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 525D4B0BBB66BCB538029D49A6F569A5

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002432386138343534342D376334612D346434382D386537312D3037663562303030363633650000000042008F010000005842004001000000504200420500000004000000010000000042004501000000184200430800000010525D4B0BBB66BCB538029D49A6F569A54200280500000004000000030000000042002A02000000040000008000000000

8

Client A:

Obtain Lease

In: uuidNewKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000010 (Obtain Lease)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000010000000004200790100000030420094070000002432386138343534342D376334612D346434382D386537312D30376635623030303636336500000000

 

Out: uuidNewKey, leaseTime, lastChangeDate

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000010 (Obtain Lease)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

      Tag: Lease Time (0x420049), Type: Interval (0x0A), Data: 0x00000000

      Tag: Last Change Date (0x420048), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

 

42007B01000000D042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000007842005C0500000004000000100000000042007F0500000004000000000000000042007C0100000050420094070000002432386138343534342D376334612D346434382D386537312D303766356230303036363365000000004200490A0000000400000000000000004200480900000008000000004F9A5564

9

Client A:

Destroy

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002466343135326631372D393331322D343331612D623366622D34666538366138366137613100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f4152f17-9312-431a-b3fb-4fe86a86a7a1

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002466343135326631372D393331322D343331612D623366622D34666538366138366137613100000000

10

Client A:

Revoke (symmetric key as cessation of operation) and Destroy

In (header): batchOrderOption=’TRUE’

In: uuidNewKey, revocationReasonCode=’6’

In: uuidNewKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Order Option (0x420010), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: E00004346EA64DA4

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

      Tag: Revocation Reason (0x420081), Type: Structure (0x01), Data:

        Tag: Revocation Reason Code (0x420082), Type: Enumeration (0x05), Data: 0x00000006 (Cessation of Operation)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 0376CA8CDCC8A2F1

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

 

42007801000001284200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200100600000008000000000000000142000D0200000004000000020000000042000F010000007042005C050000000400000013000000004200930800000008E00004346EA64DA44200790100000048420094070000002432386138343534342D376334612D346434382D386537312D3037663562303030363633650000000042008101000000104200820500000004000000060000000042000F010000005842005C0500000004000000140000000042009308000000080376CA8CDCC8A2F14200790100000030420094070000002432386138343534342D376334612D346434382D386537312D30376635623030303636336500000000

 

Out: uuidNewKey

Out: uuidNewKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: E00004346EA64DA4

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 0376CA8CDCC8A2F1

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 28a84544-7c4a-4d48-8e71-07f5b000663e

 

42007B010000013042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000020000000042000F010000006842005C050000000400000013000000004200930800000008E00004346EA64DA442007F0500000004000000000000000042007C0100000030420094070000002432386138343534342D376334612D346434382D386537312D3037663562303030363633650000000042000F010000006842005C0500000004000000140000000042009308000000080376CA8CDCC8A2F142007F0500000004000000000000000042007C0100000030420094070000002432386138343534342D376334612D346434382D386537312D30376635623030303636336500000000

 

 

10      Archival

These test cases test archiving and locating keys using the off-line indicator. If the server performs the Archive and Recover operations asynchronously, the client Polls the server until the operations complete. The client indicates in the request that it supports asynchronous responses.

10.1                          Test Case: Create a Key, Archive and Recover it

Create a symmetric key with a specified name, then use Locate to find the key and get the key. Archive the key (asynchronous operation, use Poll until it completes) and use Get and Locate on it, but both fail. Add the Storage Status Mask to the Locate-command, indicating to the server to search in both online and archived storage. The Locate finds the key. Recover the key from the archive (also asynchronous), both Locate and Get succeed.

Time

Request/Response messages

0

Create (symmetric key)

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’, Name={ NameValue=‘archiveKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: archiveKey

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000001684200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000012042005C0500000004000000010000000042007901000001084200570500000004000000020000000042009101000000F0420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000004042000A07000000044E616D650000000042000B0100000028420055070000000A617263686976654B657900000000000042005405000000040000000100000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

1

Locate

In: attributes={ Name={ NameValue=‘archiveKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: archiveKey

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000D84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000009042005C050000000400000008000000004200790100000078420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000004042000A07000000044E616D650000000042000B0100000028420055070000000A617263686976654B657900000000000042005405000000040000000100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

2

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 0B4C9FB659C5CE09EC12C3233D526F45

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002466363133646261312D623535372D343839612D383763352D3363306563643432393465330000000042008F0100000058420040010000005042004205000000040000000100000000420045010000001842004308000000100B4C9FB659C5CE09EC12C3233D526F454200280500000004000000030000000042002A02000000040000008000000000

3

Archive

In: uuidKey, asynchronousIndicator=’true’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Asynchronous Indicator (0x420007), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000015 (Archive)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007801000000A04200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200070600000008000000000000000142000D0200000004000000010000000042000F010000004842005C050000000400000015000000004200790100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

 

Out: asynchronousCorrelationValue

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5564 (Fri Apr 27 10:14:28 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000015 (Archive)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000002 (Operation Pending)

    Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 96A4660AED020302

 

42007B010000008842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556442000D0200000004000000010000000042000F010000003042005C0500000004000000150000000042007F05000000040000000200000000420006080000000896A4660AED020302

4

Poll*

In: asynchronousCorrelationValue

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000001A (Poll)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: 96A4660AED020302

 

42007801000000704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000002842005C05000000040000001A000000004200790100000010420006080000000896A4660AED020302

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5566 (Fri Apr 27 10:14:30 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000015 (Archive)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556642000D0200000004000000010000000042000F010000005842005C0500000004000000150000000042007F0500000004000000000000000042007C0100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

5

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

 

Out: Operation Failed, Object Archived

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5568 (Fri Apr 27 10:14:32 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x0000000D (Object archived)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: Object is archived

 

42007B01000000A842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556842000D0200000004000000010000000042000F010000005042005C05000000040000000A0000000042007F0500000004000000010000000042007E05000000040000000D0000000042007D07000000124F626A656374206973206172636869766564000000000000

6

Get Attribute (Archive Date)

In: uuidKey, attributeName=’ArchiveDate’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Archive Date

 

42007801000000A84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000006042005C05000000040000000B000000004200790100000048420094070000002466363133646261312D623535372D343839612D383763352D3363306563643432393465330000000042000A070000000C41726368697665204461746500000000

 

Out: uuidKey, attribute={ ArchiveDate }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5568 (Fri Apr 27 10:14:32 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Archive Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A5566 (Fri Apr 27 10:14:30 CEST 2012)

 

42007B01000000E042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556842000D0200000004000000010000000042000F010000008842005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000060420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000420008010000002842000A070000000C4172636869766520446174650000000042000B0900000008000000004F9A5566

7

Locate

In: attributes={ Name={ NameValue=‘archiveKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: archiveKey

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000D84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000009042005C050000000400000008000000004200790100000078420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000004042000A07000000044E616D650000000042000B0100000028420055070000000A617263686976654B657900000000000042005405000000040000000100000000

 

Out: <empty response payload>

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5569 (Fri Apr 27 10:14:33 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data: null

 

42007B010000008042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556942000D0200000004000000010000000042000F010000002842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000000

8

Locate

In: storageStatusMask=’00000003’, attributes={ Name={ NameValue=‘archiveKey’, NameType=’00000001’ } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Storage Status Mask (0x42008E), Type: Integer (0x02), Data: 0x00000003 (On-line storage, Archival storage)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Name Value (0x420055), Type: Text String (0x07), Data: archiveKey

          Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

 

42007801000000E84200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A042005C05000000040000000800000000420079010000008842008E02000000040000000300000000420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000200000000420008010000004042000A07000000044E616D650000000042000B0100000028420055070000000A617263686976654B657900000000000042005405000000040000000100000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5569 (Fri Apr 27 10:14:33 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556942000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

9

Recover

In: uuidKey, asynchronousIndicator=’true’

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Asynchronous Indicator (0x420007), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000016 (Recover)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007801000000A04200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200070600000008000000000000000142000D0200000004000000010000000042000F010000004842005C050000000400000016000000004200790100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

 

Out: asynchronousCorrelationValue

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A5569 (Fri Apr 27 10:14:33 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000016 (Recover)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000002 (Operation Pending)

    Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: E7125DE85B3C90A6

 

42007B010000008842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556942000D0200000004000000010000000042000F010000003042005C0500000004000000160000000042007F050000000400000002000000004200060800000008E7125DE85B3C90A6

10

Poll*

In: asynchronousCorrelationValue

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000001A (Poll)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Asynchronous Correlation Value (0x420006), Type: Byte String (0x08), Data: E7125DE85B3C90A6

 

42007801000000704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000002842005C05000000040000001A0000000042007901000000104200060800000008E7125DE85B3C90A6

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000016 (Recover)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000005842005C0500000004000000160000000042007F0500000004000000000000000042007C0100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

11

Get (symmetric key)

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000000A000000004200790100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

 

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 0B4C9FB659C5CE09EC12C3233D526F45

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B010000012042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F01000000C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002466363133646261312D623535372D343839612D383763352D3363306563643432393465330000000042008F0100000058420040010000005042004205000000040000000100000000420045010000001842004308000000100B4C9FB659C5CE09EC12C3233D526F454200280500000004000000030000000042002A02000000040000008000000000

12

Destroy

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: f613dba1-b557-489a-87c5-3c0ecd4294e3

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002466363133646261312D623535372D343839612D383763352D33633065636434323934653300000000

 

 

11      Access Control, Policies

These test cases test attributes and objects related to access control and server policy.

11.1                          Test Case: Credential, Operation Policy, Destroy Date

Pass a Credential object of type Username and Password in the message header in all requests for identification purposes (how the Credential object is used is defined in [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof]). Create a symmetric key and set the Operation Policy Name attribute to “default”. Using another Username and Password Credential, attempt to perform a Get operation batched with a Get Attribute List on the created symmetric key – according to the Default Operation Policy, both these request SHALL fail, and with the Batch Error Continuation Option set to “Continue”, the client SHALL also receive both response payloads. Using the initially used Credential, destroy the object and get the Destroy Date attribute.

The message exchanges in this test case are based on a certain server policy (e.g. handling of Credentials) that in some aspects differs from the policy assumed in earlier test cases (e.g. in this test case, the Destroy Date is retained). The message exchanges shown in this test case assume that both Credentials used in this example are for valid users of the server. As mentioned in Section 1    , the message exchanges shown in this document are not the only correct alternatives.

Time

Request/Response messages

0

Create (symmetric key)

In (header): credential={ credentialType=’1’, credentialValue={ username=”Fred”, password=”password1” } }

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’, Name={ NameValue=‘PolicyKey’, NameType=’00000001’ }, OperationPolicyName=’default’, CryptographicParameters={ BlockCipherMode=’1’, PaddingMethod=’3’, HashingAlgorithm=’4’} }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000001 (Username and Password)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Username (0x420099), Type: Text String (0x07), Data: Fred

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: password1

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: PolicyKey-1335514339826

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Operation Policy Name

          Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: default

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Parameters

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Block Cipher Mode (0x420011), Type: Enumeration (0x05), Data: 0x00000001 (CBC)

            Tag: Padding Method (0x42005F), Type: Enumeration (0x05), Data: 0x00000003 (PKCS5)

            Tag: Hashing Algorithm (0x420038), Type: Enumeration (0x05), Data: 0x00000004 (SHA-1)

 

42007801000002584200770100000088420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000484200230100000040420024050000000400000001000000004200250100000028420099070000000446726564000000004200A1070000000970617373776F7264310000000000000042000D0200000004000000010000000042000F01000001C042005C0500000004000000010000000042007901000001A8420057050000000400000002000000004200910100000190420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000004842000A07000000044E616D650000000042000B01000000304200550700000017506F6C6963794B65792D313333353531343333393832360042005405000000040000000100000000420008010000003042000A07000000154F7065726174696F6E20506F6C696379204E616D6500000042000B070000000764656661756C7400420008010000005842000A070000001843727970746F6772617068696320506172616D657465727342000B01000000304200110500000004000000010000000042005F0500000004000000030000000042003805000000040000000400000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002463636162373136662D636536342D343166352D623432652D33366261346138393432363200000000

1

Client A

Get Attributes, Get

In (header): credential={ credentialType=’1’, credentialValue={ username=”Fred”, password=”password1” } }

In: attributeName=’Operation Policy Name’

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000001 (Username and Password)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Username (0x420099), Type: Text String (0x07), Data: Fred

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: password1

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 55D88770E2556DAB

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Operation Policy Name

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: EB864EE01F1F98CD

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

 

42007801000001704200770100000088420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000484200230100000040420024050000000400000001000000004200250100000028420099070000000446726564000000004200A1070000000970617373776F7264310000000000000042000D0200000004000000020000000042000F010000007842005C05000000040000000B00000000420093080000000855D88770E2556DAB4200790100000050420094070000002463636162373136662D636536342D343166352D623432652D3336626134613839343236320000000042000A07000000154F7065726174696F6E20506F6C696379204E616D6500000042000F010000005842005C05000000040000000A000000004200930800000008EB864EE01F1F98CD4200790100000030420094070000002463636162373136662D636536342D343166352D623432652D33366261346138393432363200000000

 

Out: attributes={ OperationPolicyName=’Default’ }

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 55D88770E2556DAB

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Operation Policy Name

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: default

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: EB864EE01F1F98CD

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 30E55F4B230B34CE8AFC476C66F8351B

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B01000001D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000020000000042000F01000000A042005C05000000040000000B00000000420093080000000855D88770E2556DAB42007F0500000004000000000000000042007C0100000068420094070000002463636162373136662D636536342D343166352D623432652D33366261346138393432363200000000420008010000003042000A07000000154F7065726174696F6E20506F6C696379204E616D6500000042000B070000000764656661756C740042000F01000000D842005C05000000040000000A000000004200930800000008EB864EE01F1F98CD42007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002463636162373136662D636536342D343166352D623432652D3336626134613839343236320000000042008F01000000584200400100000050420042050000000400000001000000004200450100000018420043080000001030E55F4B230B34CE8AFC476C66F8351B4200280500000004000000030000000042002A02000000040000008000000000

2

Client B

Get (symmetric key), Get Attribute List

In (header): credential={ credentialType=’1’, credentialValue={ username=”Barney”, password=”secret2” } }, BatchOrderOption=’true’, BatchErrorContinuationOption=’Continue’

In: uuidKey

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000001 (Username and Password)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Username (0x420099), Type: Text String (0x07), Data: Barney

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: secret2

    Tag: Batch Error Continuation Option (0x42000E), Type: Enumeration (0x05), Data: 0x00000001 (Continue)

    Tag: Batch Order Option (0x420010), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 4F0E6D3DBA3D0495

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 9B937E7CD50B233B

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

 

420078010000016842007701000000A0420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C0100000040420023010000003842002405000000040000000100000000420025010000002042009907000000064261726E657900004200A10700000007736563726574320042000E050000000400000001000000004200100600000008000000000000000142000D0200000004000000020000000042000F010000005842005C05000000040000000A0000000042009308000000084F0E6D3DBA3D04954200790100000030420094070000002463636162373136662D636536342D343166352D623432652D3336626134613839343236320000000042000F010000005842005C05000000040000000C0000000042009308000000089B937E7CD50B233B4200790100000030420094070000002463636162373136662D636536342D343166352D623432652D33366261346138393432363200000000

 

Out: Operation Failed, Permission Denied

Out: Operation Failed, Permission Denied

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 4F0E6D3DBA3D0495

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x0000000C (Permission Denied)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: Access denied

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 9B937E7CD50B233B

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x0000000C (Permission Denied)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: Access denied

 

42007B010000011042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000020000000042000F010000005842005C05000000040000000A0000000042009308000000084F0E6D3DBA3D049542007F0500000004000000010000000042007E05000000040000000C0000000042007D070000000D4163636573732064656E69656400000042000F010000005842005C05000000040000000C0000000042009308000000089B937E7CD50B233B42007F0500000004000000010000000042007E05000000040000000C0000000042007D070000000D4163636573732064656E696564000000

3

Destroy

In (header): credential={ credentialType=’1’, credentialValue={ username=”Fred”, password=”password1” } }

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000001 (Username and Password)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Username (0x420099), Type: Text String (0x07), Data: Fred

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: password1

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

 

42007801000000E04200770100000088420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000484200230100000040420024050000000400000001000000004200250100000028420099070000000446726564000000004200A1070000000970617373776F7264310000000000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002463636162373136662D636536342D343166352D623432652D33366261346138393432363200000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002463636162373136662D636536342D343166352D623432652D33366261346138393432363200000000

4

Get Attributes

In (header): credential={ credentialType=’1’, credentialValue={ username=”Fred”, password=”password1” } }

In: uuidKey, attributeNames={ ‘Destroy Date’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000001 (Username and Password)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Username (0x420099), Type: Text String (0x07), Data: Fred

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: password1

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Destroy Date

 

42007801000000F84200770100000088420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000484200230100000040420024050000000400000001000000004200250100000028420099070000000446726564000000004200A1070000000970617373776F7264310000000000000042000D0200000004000000010000000042000F010000006042005C05000000040000000B000000004200790100000048420094070000002463636162373136662D636536342D343166352D623432652D3336626134613839343236320000000042000A070000000C44657374726F79204461746500000000

 

Out: uuidKey, attributes={ DestroyDate=’ 0x000000004B9F8B4D’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: ccab716f-ce64-41f5-b42e-36ba4a894262

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Destroy Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

 

42007B01000000E042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000008842005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000060420094070000002463636162373136662D636536342D343166352D623432652D33366261346138393432363200000000420008010000002842000A070000000C44657374726F7920446174650000000042000B0900000008000000004F9A556B

 

11.2                          Test Case: Device Credential, Operation Policy, Destroy Date

Pass a Credential object of type Device Credential in the message header in all requests for identification purposes (how the Credential object is used is defined in [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof]). Create a symmetric key and set the Operation Policy Name attribute to “default”. Using another Credential, attempt to perform a Get operation batched with a Get Attribute List on the created symmetric key – according to the Default Operation Policy, both these request SHALL fail, and with the Batch Error Continuation Option set to “Continue”, the client SHALL also receive both response payloads. Using the initially used Credential, destroy the object and get the Destroy Date attribute.

The message exchanges in this test case are based on a certain server policy (e.g. handling of Credentials) that in some aspects differs from the policy assumed in earlier test cases (e.g. in this test case, the Destroy Date is retained). The message exchanges shown in this test case assume that both Credentials used in this example are for valid users of the server. As mentioned in Section 1    , the message exchanges shown in this document are not the only correct alternatives.

Time

Request/Response messages

0

Client A

Create (symmetric key)

In (header): credential={ credentialType=’2’, credentialValue={ deviceSerialNumber='serNum123456', password='secret', deviceIdentifier='devID2233', networkIdentifier='netID9000', machineIdentifier='machineID1', mediaIdentifier='mediaID313' } }

In: objectType=’00000002’, attributes={ CryptographicAlgorithm=’AES’, CryptographicLength=’128’, CryptographicUsageMask=‘0000000C’, Name={ NameValue=‘PolicyKey’, NameType=’00000001’ },

OperationPolicyName=’default’, CryptographicParameters={ BlockCipherMode=’1’, PaddingMethod=’3’, HashingAlgorithm=’4’} }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000002 (Device)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Device Serial Number (0x4200B0), Type: Text String (0x07), Data: serNum123456

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: secret

          Tag: Device Identifier (0x4200A2), Type: Text String (0x07), Data: devID2233

          Tag: Network Identifier (0x4200AB), Type: Text String (0x07), Data: netID9000

          Tag: Machine Identifier (0x4200A9), Type: Text String (0x07), Data: machineID1

          Tag: Media Identifier (0x4200AA), Type: Text String (0x07), Data: mediaID313

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Algorithm

          Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (AES)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Length

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000080 (128)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x0000000C (Encrypt, Decrypt)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Name

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Name Value (0x420055), Type: Text String (0x07), Data: PolicyKey

            Tag: Name Type (0x420054), Type: Enumeration (0x05), Data: 0x00000001 (Uninterpreted Text String)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Operation Policy Name

          Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: default

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Parameters

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Block Cipher Mode (0x420011), Type: Enumeration (0x05), Data: 0x00000001 (CBC)

            Tag: Padding Method (0x42005F), Type: Enumeration (0x05), Data: 0x00000003 (PKCS5)

            Tag: Hashing Algorithm (0x420038), Type: Enumeration (0x05), Data: 0x00000004 (SHA-1)

 

42007801000002B042007701000000E8420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000A842002301000000A04200240500000004000000020000000042002501000000884200B0070000000C7365724E756D313233343536000000004200A1070000000673656372657400004200A20700000009646576494432323333000000000000004200AB07000000096E6574494439303030000000000000004200A9070000000A6D616368696E654944310000000000004200AA070000000A6D65646961494433313300000000000042000D0200000004000000010000000042000F01000001B842005C0500000004000000010000000042007901000001A0420057050000000400000002000000004200910100000188420008010000003042000A070000001743727970746F6772617068696320416C676F726974686D0042000B05000000040000000300000000420008010000003042000A070000001443727970746F67726170686963204C656E6774680000000042000B02000000040000008000000000420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000C00000000420008010000004042000A07000000044E616D650000000042000B01000000284200550700000009506F6C6963794B65790000000000000042005405000000040000000100000000420008010000003042000A07000000154F7065726174696F6E20506F6C696379204E616D6500000042000B070000000764656661756C7400420008010000005842000A070000001843727970746F6772617068696320506172616D657465727342000B01000000304200110500000004000000010000000042005F0500000004000000030000000042003805000000040000000400000000

 

Out: objectType=’00000002’, uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000006842005C0500000004000000010000000042007F0500000004000000000000000042007C010000004042005705000000040000000200000000420094070000002462323732353433612D363535382D346534372D393232312D33643239316339336539623500000000

1

Client A

Get Attributes, Get

In (header): credential={ credentialType=’2’, credentialValue={ deviceSerialNumber='serNum123456', password='secret', deviceIdentifier='devID2233', networkIdentifier='netID9000', machineIdentifier='machineID1', mediaIdentifier='mediaID313' } }

In: attributeName=’Operation Policy Name’

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000002 (Device)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Device Serial Number (0x4200B0), Type: Text String (0x07), Data: serNum123456

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: secret

          Tag: Device Identifier (0x4200A2), Type: Text String (0x07), Data: devID2233

          Tag: Network Identifier (0x4200AB), Type: Text String (0x07), Data: netID9000

          Tag: Machine Identifier (0x4200A9), Type: Text String (0x07), Data: machineID1

          Tag: Media Identifier (0x4200AA), Type: Text String (0x07), Data: mediaID313

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: E705E27DC0BA7789

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Operation Policy Name

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 50A7F741A1119826

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

 

42007801000001D042007701000000E8420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000A842002301000000A04200240500000004000000020000000042002501000000884200B0070000000C7365724E756D313233343536000000004200A1070000000673656372657400004200A20700000009646576494432323333000000000000004200AB07000000096E6574494439303030000000000000004200A9070000000A6D616368696E654944310000000000004200AA070000000A6D65646961494433313300000000000042000D0200000004000000020000000042000F010000007842005C05000000040000000B000000004200930800000008E705E27DC0BA77894200790100000050420094070000002462323732353433612D363535382D346534372D393232312D3364323931633933653962350000000042000A07000000154F7065726174696F6E20506F6C696379204E616D6500000042000F010000005842005C05000000040000000A00000000420093080000000850A7F741A11198264200790100000030420094070000002462323732353433612D363535382D346534372D393232312D33643239316339336539623500000000

 

Out: attributes={ OperationPolicyName=’Default’ }

Out: objectType = ‘00000002’, uuidKey, symmetricKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: E705E27DC0BA7789

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Operation Policy Name

        Tag: Attribute Value (0x42000B), Type: Text String (0x07), Data: default

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 50A7F741A1119826

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

      Tag: Symmetric Key (0x42008F), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000001 (Raw)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: ACFEAFFDBDD17D0E63624A22083EE4B6

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000003 (AES)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000080 (128)

 

42007B01000001D842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000020000000042000F01000000A042005C05000000040000000B000000004200930800000008E705E27DC0BA778942007F0500000004000000000000000042007C0100000068420094070000002462323732353433612D363535382D346534372D393232312D33643239316339336539623500000000420008010000003042000A07000000154F7065726174696F6E20506F6C696379204E616D6500000042000B070000000764656661756C740042000F01000000D842005C05000000040000000A00000000420093080000000850A7F741A111982642007F0500000004000000000000000042007C01000000A042005705000000040000000200000000420094070000002462323732353433612D363535382D346534372D393232312D3364323931633933653962350000000042008F010000005842004001000000504200420500000004000000010000000042004501000000184200430800000010ACFEAFFDBDD17D0E63624A22083EE4B64200280500000004000000030000000042002A02000000040000008000000000

2

Client B

Get (symmetric key), Get Attribute List

In (header): credential={ credentialType=’2’, credentialValue={ deviceSerialNumber='serNum101010', password='passwd', deviceIdentifier='devID4444', networkIdentifier='netID9', machineIdentifier='machineID1111', mediaIdentifier='mediaID0000' } }, BatchOrderOption=’true’, BatchErrorContinuationOption=’Continue’

In: uuidKey

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000002 (Device)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Device Serial Number (0x4200B0), Type: Text String (0x07), Data: serNum101010

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: passwd

          Tag: Device Identifier (0x4200A2), Type: Text String (0x07), Data: devID4444

          Tag: Network Identifier (0x4200AB), Type: Text String (0x07), Data: netID9

          Tag: Machine Identifier (0x4200A9), Type: Text String (0x07), Data: machineID1111

          Tag: Media Identifier (0x4200AA), Type: Text String (0x07), Data: mediaID0000

    Tag: Batch Error Continuation Option (0x42000E), Type: Enumeration (0x05), Data: 0x00000001 (Continue)

    Tag: Batch Order Option (0x420010), Type: Boolean (0x06), Data: TRUE

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 1154049D742C498E

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 8AE55C6E91D97B05

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

 

42007801000001C84200770100000100420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000A042002301000000984200240500000004000000020000000042002501000000804200B0070000000C7365724E756D313031303130000000004200A1070000000670617373776400004200A20700000009646576494434343434000000000000004200AB07000000066E657449443900004200A9070000000D6D616368696E654944313131310000004200AA070000000B6D65646961494430303030000000000042000E050000000400000001000000004200100600000008000000000000000142000D0200000004000000020000000042000F010000005842005C05000000040000000A0000000042009308000000081154049D742C498E4200790100000030420094070000002462323732353433612D363535382D346534372D393232312D3364323931633933653962350000000042000F010000005842005C05000000040000000C0000000042009308000000088AE55C6E91D97B054200790100000030420094070000002462323732353433612D363535382D346534372D393232312D33643239316339336539623500000000

 

Out: Operation Failed, Permission Denied

Out: Operation Failed, Permission Denied

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000002 (2)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 1154049D742C498E

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x0000000C (Permission Denied)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: Access denied

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

    Tag: Unique Batch Item ID (0x420093), Type: Byte String (0x08), Data: 8AE55C6E91D97B05

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x0000000C (Permission Denied)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: Access denied

 

42007B010000011042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000020000000042000F010000005842005C05000000040000000A0000000042009308000000081154049D742C498E42007F0500000004000000010000000042007E05000000040000000C0000000042007D070000000D4163636573732064656E69656400000042000F010000005842005C05000000040000000C0000000042009308000000088AE55C6E91D97B0542007F0500000004000000010000000042007E05000000040000000C0000000042007D070000000D4163636573732064656E696564000000

3

Client A

Destroy

In (header): credential={ credentialType=’2’, credentialValue={ deviceSerialNumber='serNum123456', password='secret', deviceIdentifier='devID2233', networkIdentifier='netID9000', machineIdentifier='machineID1', mediaIdentifier='mediaID313' } }

In: uuidKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000002 (Device)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Device Serial Number (0x4200B0), Type: Text String (0x07), Data: serNum123456

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: secret

          Tag: Device Identifier (0x4200A2), Type: Text String (0x07), Data: devID2233

          Tag: Network Identifier (0x4200AB), Type: Text String (0x07), Data: netID9000

          Tag: Machine Identifier (0x4200A9), Type: Text String (0x07), Data: machineID1

          Tag: Media Identifier (0x4200AA), Type: Text String (0x07), Data: mediaID313

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

 

420078010000014042007701000000E8420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000A842002301000000A04200240500000004000000020000000042002501000000884200B0070000000C7365724E756D313233343536000000004200A1070000000673656372657400004200A20700000009646576494432323333000000000000004200AB07000000096E6574494439303030000000000000004200A9070000000A6D616368696E654944310000000000004200AA070000000A6D65646961494433313300000000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002462323732353433612D363535382D346534372D393232312D33643239316339336539623500000000

 

Out: uuidKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002462323732353433612D363535382D346534372D393232312D33643239316339336539623500000000

4

Client A

Get Attributes

In (header): credential={ credentialType=’2’, credentialValue={ deviceSerialNumber='serNum123456', password='secret', deviceIdentifier='devID2233', networkIdentifier='netID9000', machineIdentifier='machineID1', mediaIdentifier='mediaID313' } }

In: uuidKey, attributeNames={ ‘Destroy Date’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Authentication (0x42000C), Type: Structure (0x01), Data:

      Tag: Credential (0x420023), Type: Structure (0x01), Data:

        Tag: Credential Type (0x420024), Type: Enumeration (0x05), Data: 0x00000002 (Device)

        Tag: Credential Value (0x420025), Type: Structure (0x01), Data:

          Tag: Device Serial Number (0x4200B0), Type: Text String (0x07), Data: serNum123456

          Tag: Password (0x4200A1), Type: Text String (0x07), Data: secret

          Tag: Device Identifier (0x4200A2), Type: Text String (0x07), Data: devID2233

          Tag: Network Identifier (0x4200AB), Type: Text String (0x07), Data: netID9000

          Tag: Machine Identifier (0x4200A9), Type: Text String (0x07), Data: machineID1

          Tag: Media Identifier (0x4200AA), Type: Text String (0x07), Data: mediaID313

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

      Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Destroy Date

 

420078010000015842007701000000E8420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000C01000000A842002301000000A04200240500000004000000020000000042002501000000884200B0070000000C7365724E756D313233343536000000004200A1070000000673656372657400004200A20700000009646576494432323333000000000000004200AB07000000096E6574494439303030000000000000004200A9070000000A6D616368696E654944310000000000004200AA070000000A6D65646961494433313300000000000042000D0200000004000000010000000042000F010000006042005C05000000040000000B000000004200790100000048420094070000002462323732353433612D363535382D346534372D393232312D3364323931633933653962350000000042000A070000000C44657374726F79204461746500000000

 

Out: uuidKey, attributes={ DestroyDate=’0x000000004E4D0F63’ }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: b272543a-6558-4e47-9221-3d291c93e9b5

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Destroy Date

        Tag: Attribute Value (0x42000B), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

 

42007B01000000E042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000008842005C05000000040000000B0000000042007F0500000004000000000000000042007C0100000060420094070000002462323732353433612D363535382D346534372D393232312D33643239316339336539623500000000420008010000002842000A070000000C44657374726F7920446174650000000042000B0900000008000000004F9A556B

 

 

12      Query, Maximum Response Size

This section contains test cases that exercise the Query operation and the Maximum Response Size header field.

12.1                          Test Case: Query, Maximum Response Size

Perform a Query operation, querying the Operations and Objects supported by the server, with a restriction on the Maximum Response Size set in the request header. Since the resulting Query response is too big, an error is returned. Increase the Maximum Response Size, resubmit the Query request, and get a successful response.

Time

Request/Response messages

0

Query (operations, objects)

In (header): maximumResponseSize=’256’

In: queryFunctions={ ‘00000001’, ‘00000002’ }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Maximum Response Size (0x420050), Type: Integer (0x02), Data: 0x00000100 (256)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000018 (Query)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Query Function (0x420074), Type: Enumeration (0x05), Data: 0x00000001 (Query Operations)

      Tag: Query Function (0x420074), Type: Enumeration (0x05), Data: 0x00000002 (Query Objects)

 

42007801000000904200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200500200000004000001000000000042000D0200000004000000010000000042000F010000003842005C0500000004000000180000000042007901000000204200740500000004000000010000000042007405000000040000000200000000

 

Out: Operation Failed, Response Too Large

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000001 (Operation Failed)

    Tag: Result Reason (0x42007E), Type: Enumeration (0x05), Data: 0x00000002 (Response Too Large)

    Tag: Result Message (0x42007D), Type: Text String (0x07), Data: Response size: 648, Maximum Response Size indicated in request: 256

 

42007B01000000C842007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000007042007F0500000004000000010000000042007E0500000004000000020000000042007D0700000043526573706F6E73652073697A653A203634382C204D6178696D756D20526573706F6E73652053697A6520696E6469636174656420696E20726571756573743A203235360000000000

1

Query (operations, objects)

In (header): maximumResponseSize=’2048’

In: queryFunctions={ ‘00000001’, ‘00000002’, '00000003' }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Maximum Response Size (0x420050), Type: Integer (0x02), Data: 0x00000800 (2048)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000018 (Query)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Query Function (0x420074), Type: Enumeration (0x05), Data: 0x00000001 (Query Operations)

      Tag: Query Function (0x420074), Type: Enumeration (0x05), Data: 0x00000002 (Query Objects)

      Tag: Query Function (0x420074), Type: Enumeration (0x05), Data: 0x00000003 (Query Server Information)

 

42007801000000A04200770100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200500200000004000008000000000042000D0200000004000000010000000042000F010000004842005C050000000400000018000000004200790100000030420074050000000400000001000000004200740500000004000000020000000042007405000000040000000300000000

 

Out: operations, objects, serverInformation

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000018 (Query)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000001 (Create)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000002 (Create Key Pair)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000004 (Re-key)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000006 (Certify)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000007 (Re-certify)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000009 (Check)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000B (Get Attributes)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000C (Get Attribute List)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000E (Modify Attribute)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000F (Delete Attribute)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000010 (Obtain Lease)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000011 (Get Usage Allocation)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000012 (Activate)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000013 (Revoke)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000015 (Archive)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000016 (Recover)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000018 (Query)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000019 (Cancel)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000001A (Poll)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000001D (Re-key Key Pair)

      Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000001E (Discover Versions)

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000001 (Certificate)

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000002 (Symmetric Key)

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000003 (Public Key)

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000004 (Private Key)

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000006 (Template)

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000007 (Secret Data)

      Tag: Vendor Identification (0x42009D), Type: Text String (0x07), Data: IBM test server, not-TKLM 2.0.1.1 KMIP 2.0.0.1

      Tag: Server Information (0x420088), Type: Structure (0x01), Data: null

 

42007B01000002C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000026842005C0500000004000000180000000042007F0500000004000000000000000042007C010000024042005C0500000004000000010000000042005C0500000004000000020000000042005C0500000004000000030000000042005C0500000004000000040000000042005C0500000004000000060000000042005C0500000004000000070000000042005C0500000004000000080000000042005C0500000004000000090000000042005C05000000040000000A0000000042005C05000000040000000B0000000042005C05000000040000000C0000000042005C05000000040000000D0000000042005C05000000040000000E0000000042005C05000000040000000F0000000042005C0500000004000000100000000042005C0500000004000000110000000042005C0500000004000000120000000042005C0500000004000000130000000042005C0500000004000000140000000042005C0500000004000000150000000042005C0500000004000000160000000042005C0500000004000000180000000042005C0500000004000000190000000042005C05000000040000001A0000000042005C05000000040000001D0000000042005C05000000040000001E0000000042005705000000040000000100000000420057050000000400000002000000004200570500000004000000030000000042005705000000040000000400000000420057050000000400000006000000004200570500000004000000070000000042009D070000002E49424D2074657374207365727665722C206E6F742D544B4C4D20322E302E312E31204B4D495020322E302E302E3100004200880100000000

 

12.2                          Test Case: Query Vendor Extensions

Query the server for a list and map of vendor extension tags it recognizes.

Time

Request/Response messages

0

Query (extension list)

In: queryFunctions={ '00000005' }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000018 (Query)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Query Function (0x420074), Type: Enumeration (0x05), Data: 0x00000005 (Query Extension List)

 

42007801000000704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000002842005C05000000040000001800000000420079010000001042007405000000040000000500000000

 

Out: extension list

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000018 (Query)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Extension Information (0x4200A4), Type: Structure (0x01), Data:

        Tag: Extension Name (0x4200A5), Type: Text String (0x07), Data: ACME LOCATION

      Tag: Extension Information (0x4200A4), Type: Structure (0x01), Data:

        Tag: Extension Name (0x4200A5), Type: Text String (0x07), Data: ACME ZIP CODE

 

42007B01000000C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F010000006842005C0500000004000000180000000042007F0500000004000000000000000042007C01000000404200A401000000184200A5070000000D41434D45204C4F434154494F4E0000004200A401000000184200A5070000000D41434D45205A495020434F4445000000

1

Query (extension map)

In: queryFunctions={ '00000006' }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000018 (Query)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Query Function (0x420074), Type: Enumeration (0x05), Data: 0x00000006 (Query Extension Map)

 

42007801000000704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000002842005C05000000040000001800000000420079010000001042007405000000040000000600000000

 

Out: extension map

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556B (Fri Apr 27 10:14:35 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000018 (Query)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Extension Information (0x4200A4), Type: Structure (0x01), Data:

        Tag: Extension Name (0x4200A5), Type: Text String (0x07), Data: ACME LOCATION

        Tag: Extension Tag (0x4200A6), Type: Integer (0x02), Data: 0x0054AA01 (5548545)

        Tag: Extension Type (0x4200A7), Type: Integer (0x02), Data: 0x00000007 (7)

      Tag: Extension Information (0x4200A4), Type: Structure (0x01), Data:

        Tag: Extension Name (0x4200A5), Type: Text String (0x07), Data: ACME ZIP CODE

        Tag: Extension Tag (0x4200A6), Type: Integer (0x02), Data: 0x0054AA02 (5548546)

        Tag: Extension Type (0x4200A7), Type: Integer (0x02), Data: 0x00000002 (2)

 

42007B010000010042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556B42000D0200000004000000010000000042000F01000000A842005C0500000004000000180000000042007F0500000004000000000000000042007C01000000804200A401000000384200A5070000000D41434D45204C4F434154494F4E0000004200A602000000040054AA01000000004200A7020000000400000007000000004200A401000000384200A5070000000D41434D45205A495020434F44450000004200A602000000040054AA02000000004200A702000000040000000200000000

 

 

13      Asymmetric Keys and Certificates

The test cases in this section deal with asymmetric keys and certificates using the operations, objects, attributes and key formats specified in the asymmetric key profiles in [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof].

13.1                          Test Case: Register an Asymmetric Key Pair in PKCS#1 Format

Register a private key in the PKCS#1 key format, then register the corresponding public key, also in PKCS#1 format, with the Link attribute pointing to the previously registered private key. Thereafter add the Link attribute to the private key, and perform Locate-commands to find the public and private keys using the Link attribute. Get both the private and public keys in PKCS#1 key format, before finally destroying both the private and the public key.

This test case is aimed at exercising the functionality defined in the Basic Asymmetric Key Profile [KMIP-Spec]

Key Management Interoperability Protocol Usage Guide Version 1.1.  01 December 2011.  OASIS Standard.  http://docs.oasis-open.org/kmip/spec/v1.1/cd01/kmip-spec-1.1-cd-01.doc

[KMIP-Prof].

Time

Request/Response messages

0

Register (Private Key)

In: objectType=’00000004’, attributes={ CryptographicUsageMask=‘00000001’ }, privateKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000004 (Private Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000001 (Sign)

      Tag: Private Key (0x420064), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000003 (PKCS#1)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 308204A50201000282010100AB7F161C0042496CCD6C6D4DADB919973435357776003ACF54B7AF1E440AFB80B64A8755F8002CFEBA6B184540A2D66086D74648346D75B8D71812B205387C0F6583BC4D7DC7EC114F3B176B7957C422E7D03FC6267FA2A6F89B9BEE9E60A1D7C2D833E5A5F4BB0B1434F4E795A41100F8AA214900DF8B65089F98135B1C67B701675ABDBC7D5721AAC9D14A7F081FCEC80B64E8A0ECC8295353C795328ABF70E1B42E7BB8B7F4E8AC8C810CDB66E3D21126EBA8DA7D0CA34142CB76F91F013DA809E9C1B7AE64C54130FBC21D80E9C2CB06C5C8D7CCE8946A9AC99B1C2815C3612A29A82D73A1F99374FE30E54951662A6EDA29C6FC411335D5DC7426B0F6050203010001028201003B12455D53C1816516C518493F6398AAFA72B17DFA894DB888A7D48C0A47F62579A4E644F86DA711FEC850CDD9DBBD17F69A443D2EC1DD60D3C618FA74CDE5FDAFABD6BAA26EB0A3ADB4DEF6480FB1218CD3B083E252E885B6F0729F98B2144D2B72293E1B11D73393BC41F75B15EE3D7569B4995ED1A14425DA4319B7B26B0E8FEF17C37542AE5C6D5849F87209567F3925A47B016D564859717BC57FCB4522D0AA49CE816E5BE7B3088193236EC9EFFF140858045B73C5D79BAF38F7C67F04C5DCF0E3806AD982D1259058C3473E847179A878F2C6B3BD968FB99EA46E9185892F3676E78965C2AED4877BA3917DF07C5E927474F19E764BA61DC38D63BF2902818100D5C69C8C3CDC2464744A793713DAFB9F1DBC799FF96423FECD3CBA794286BCE920F4B5C183F99EE9028DB6212C6277C4C8297FCFBCE7F7C24CA4C51FC7182FB8F4019FB1D5659674C5CBE6D5FA992051341760CD00735729A070A9E54D342BEBA8EF47EE82D3A01B04CEC4A00D4DDB41E35116FC221E854B43A696C0E6419B1B02818100CD5EA7702789064B673540CBFF09356AD80BC3D592812EBA47610B9FAC6AECEFE22ACAE438459CDA74E59653D88C04189D34399BF5B14B920E34EF38A7D09FE69593396E8FE735E6F0A6AE4990401041D8A406B6FD86A1161E45F95A3EAA5C1012E6662E44F15F335AC971E1766B2BB9C985109974141B44D37E1E319820A55F02818100B2871237BF9FAD38C3316AB7877A6A868063E542A7186D431E8D27C19AC0414584033942E9FF6E2973BB7B2D8B0E94AD1EE82158108FBC8664517A5A467FB963014BD5DCC2B4FB087C23039D11920DBE22FD9F16B4D89E23225CD455ADBAF32EF43F185864A36D630309D6853F7714B39AAE1EBEE3938F87C2707E178C739F9F028181009690BED14B2AFAA26D986D592231EE27D71D49065BD2BA1F78157E20229881FD9D23227D0F8479EAEFA922FD75D5B16B1A561FA6680B040CA0BDCE650B23B917A4B1BB7983A74FAD70E1C305CBEC2BFF1A85A726A1D90260E4F1084F518234DCD3FE770B9520215BD543BB6A4117718754676A34171666A79F26E79C149C5AA102818100A0C985A0A0A791A659F99731134C44F37B2E520A2CEA35800AD27241ED360DFDE6E8CA614F12047FD08B76AC4D13C056A0699E2F98A1CAC91011294D71208F4ABAB33BA87AA0517F415BACA88D6BAC006088FA601D349417E1F0C9B23AFFA4D496618DBC024986ED690BBB7B025768FF9DF8AC15416F489F8129C32341A8B44F

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000004 (RSA)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000800 (2048)

 

42007801000005B04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000056842005C050000000400000003000000004200790100000550420057050000000400000004000000004200910100000038420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B0200000004000000010000000042006401000004F842004001000004F04200420500000004000000030000000042004501000004B842004308000004A9308204A50201000282010100AB7F161C0042496CCD6C6D4DADB919973435357776003ACF54B7AF1E440AFB80B64A8755F8002CFEBA6B184540A2D66086D74648346D75B8D71812B205387C0F6583BC4D7DC7EC114F3B176B7957C422E7D03FC6267FA2A6F89B9BEE9E60A1D7C2D833E5A5F4BB0B1434F4E795A41100F8AA214900DF8B65089F98135B1C67B701675ABDBC7D5721AAC9D14A7F081FCEC80B64E8A0ECC8295353C795328ABF70E1B42E7BB8B7F4E8AC8C810CDB66E3D21126EBA8DA7D0CA34142CB76F91F013DA809E9C1B7AE64C54130FBC21D80E9C2CB06C5C8D7CCE8946A9AC99B1C2815C3612A29A82D73A1F99374FE30E54951662A6EDA29C6FC411335D5DC7426B0F6050203010001028201003B12455D53C1816516C518493F6398AAFA72B17DFA894DB888A7D48C0A47F62579A4E644F86DA711FEC850CDD9DBBD17F69A443D2EC1DD60D3C618FA74CDE5FDAFABD6BAA26EB0A3ADB4DEF6480FB1218CD3B083E252E885B6F0729F98B2144D2B72293E1B11D73393BC41F75B15EE3D7569B4995ED1A14425DA4319B7B26B0E8FEF17C37542AE5C6D5849F87209567F3925A47B016D564859717BC57FCB4522D0AA49CE816E5BE7B3088193236EC9EFFF140858045B73C5D79BAF38F7C67F04C5DCF0E3806AD982D1259058C3473E847179A878F2C6B3BD968FB99EA46E9185892F3676E78965C2AED4877BA3917DF07C5E927474F19E764BA61DC38D63BF2902818100D5C69C8C3CDC2464744A793713DAFB9F1DBC799FF96423FECD3CBA794286BCE920F4B5C183F99EE9028DB6212C6277C4C8297FCFBCE7F7C24CA4C51FC7182FB8F4019FB1D5659674C5CBE6D5FA992051341760CD00735729A070A9E54D342BEBA8EF47EE82D3A01B04CEC4A00D4DDB41E35116FC221E854B43A696C0E6419B1B02818100CD5EA7702789064B673540CBFF09356AD80BC3D592812EBA47610B9FAC6AECEFE22ACAE438459CDA74E59653D88C04189D34399BF5B14B920E34EF38A7D09FE69593396E8FE735E6F0A6AE4990401041D8A406B6FD86A1161E45F95A3EAA5C1012E6662E44F15F335AC971E1766B2BB9C985109974141B44D37E1E319820A55F02818100B2871237BF9FAD38C3316AB7877A6A868063E542A7186D431E8D27C19AC0414584033942E9FF6E2973BB7B2D8B0E94AD1EE82158108FBC8664517A5A467FB963014BD5DCC2B4FB087C23039D11920DBE22FD9F16B4D89E23225CD455ADBAF32EF43F185864A36D630309D6853F7714B39AAE1EBEE3938F87C2707E178C739F9F028181009690BED14B2AFAA26D986D592231EE27D71D49065BD2BA1F78157E20229881FD9D23227D0F8479EAEFA922FD75D5B16B1A561FA6680B040CA0BDCE650B23B917A4B1BB7983A74FAD70E1C305CBEC2BFF1A85A726A1D90260E4F1084F518234DCD3FE770B9520215BD543BB6A4117718754676A34171666A79F26E79C149C5AA102818100A0C985A0A0A791A659F99731134C44F37B2E520A2CEA35800AD27241ED360DFDE6E8CA614F12047FD08B76AC4D13C056A0699E2F98A1CAC91011294D71208F4ABAB33BA87AA0517F415BACA88D6BAC006088FA601D349417E1F0C9B23AFFA4D496618DBC024986ED690BBB7B025768FF9DF8AC15416F489F8129C32341A8B44F000000000000004200280500000004000000040000000042002A02000000040000080000000000

 

Out: uuidPrivateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556C (Fri Apr 27 10:14:36 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556C42000D0200000004000000010000000042000F010000005842005C0500000004000000030000000042007F0500000004000000000000000042007C0100000030420094070000002437636635323039622D366666362D343432362D383939652D32326230363738353933373200000000

1

Register (Public Key)

In: objectType=’00000003’, attributes={ CryptographicUsageMask=‘00000002’, Link={ LinkType=‘PrivateKeyLink’, LinkedObjectIdentifier=uuidPrivateKey } }, publicKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000003 (Public Key)

      Tag: Template-Attribute (0x420091), Type: Structure (0x01), Data:

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Cryptographic Usage Mask

          Tag: Attribute Value (0x42000B), Type: Integer (0x02), Data: 0x00000002 (Verify)

        Tag: Attribute (0x420008), Type: Structure (0x01), Data:

          Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

          Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

            Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000103 (Private Key Link)

            Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

      Tag: Public Key (0x42006D), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000003 (PKCS#1)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 3082010A0282010100AB7F161C0042496CCD6C6D4DADB919973435357776003ACF54B7AF1E440AFB80B64A8755F8002CFEBA6B184540A2D66086D74648346D75B8D71812B205387C0F6583BC4D7DC7EC114F3B176B7957C422E7D03FC6267FA2A6F89B9BEE9E60A1D7C2D833E5A5F4BB0B1434F4E795A41100F8AA214900DF8B65089F98135B1C67B701675ABDBC7D5721AAC9D14A7F081FCEC80B64E8A0ECC8295353C795328ABF70E1B42E7BB8B7F4E8AC8C810CDB66E3D21126EBA8DA7D0CA34142CB76F91F013DA809E9C1B7AE64C54130FBC21D80E9C2CB06C5C8D7CCE8946A9AC99B1C2815C3612A29A82D73A1F99374FE30E54951662A6EDA29C6FC411335D5DC7426B0F6050203010001

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000004 (RSA)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000800 (2048)

 

42007801000002704200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000022842005C050000000400000003000000004200790100000210420057050000000400000003000000004200910100000098420008010000003042000A070000001843727970746F67726170686963205573616765204D61736B42000B02000000040000000200000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001030000000042004C070000002437636635323039622D366666362D343432362D383939652D3232623036373835393337320000000042006D01000001584200400100000150420042050000000400000003000000004200450100000118420043080000010E3082010A0282010100AB7F161C0042496CCD6C6D4DADB919973435357776003ACF54B7AF1E440AFB80B64A8755F8002CFEBA6B184540A2D66086D74648346D75B8D71812B205387C0F6583BC4D7DC7EC114F3B176B7957C422E7D03FC6267FA2A6F89B9BEE9E60A1D7C2D833E5A5F4BB0B1434F4E795A41100F8AA214900DF8B65089F98135B1C67B701675ABDBC7D5721AAC9D14A7F081FCEC80B64E8A0ECC8295353C795328ABF70E1B42E7BB8B7F4E8AC8C810CDB66E3D21126EBA8DA7D0CA34142CB76F91F013DA809E9C1B7AE64C54130FBC21D80E9C2CB06C5C8D7CCE8946A9AC99B1C2815C3612A29A82D73A1F99374FE30E54951662A6EDA29C6FC411335D5DC7426B0F605020301000100004200280500000004000000040000000042002A02000000040000080000000000

 

Out: uuidPublicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556C (Fri Apr 27 10:14:36 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000003 (Register)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57492708-09e8-4235-ab77-8eee6ed4647f

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556C42000D0200000004000000010000000042000F010000005842005C0500000004000000030000000042007F0500000004000000000000000042007C0100000030420094070000002435373439323730382D303965382D343233352D616237372D38656565366564343634376600000000

2

Add attribute

In: uuidPrivateKey, attribute={ Link={ LinkType=‘PublicKeyLink’, LinkedObjectIdentifier=uuidPublicKey } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000102 (Public Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 57492708-09e8-4235-ab77-8eee6ed4647f

 

42007801000000F04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A842005C05000000040000000D000000004200790100000090420094070000002437636635323039622D366666362D343432362D383939652D32326230363738353933373200000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001020000000042004C070000002435373439323730382D303965382D343233352D616237372D38656565366564343634376600000000

 

Out: uuidPrivateKey, attribute={ Link={ LinkType=‘PublicKeyLink’, LinkedObjectIdentifier=uuidPublicKey } }

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556C (Fri Apr 27 10:14:36 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000D (Add Attribute)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000102 (Public Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 57492708-09e8-4235-ab77-8eee6ed4647f

 

42007B010000011042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556C42000D0200000004000000010000000042000F01000000B842005C05000000040000000D0000000042007F0500000004000000000000000042007C0100000090420094070000002437636635323039622D366666362D343432362D383939652D32326230363738353933373200000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001020000000042004C070000002435373439323730382D303965382D343233352D616237372D38656565366564343634376600000000

3

Locate (Public Key)

In: attributes={ objectType=’PublicKey’, Link={ LinkType=‘PrivateKeyLink’, LinkedObjectIdentifier=uuidPrivateKey } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000003 (Public Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000103 (Private Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

 

42007801000000F04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A842005C050000000400000008000000004200790100000090420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000300000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001030000000042004C070000002437636635323039622D366666362D343432362D383939652D32326230363738353933373200000000

 

Out: uuidPublicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556C (Fri Apr 27 10:14:36 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57492708-09e8-4235-ab77-8eee6ed4647f

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556C42000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002435373439323730382D303965382D343233352D616237372D38656565366564343634376600000000

4

Locate (Private Key)

In: attributes={ objectType=’PrivateKey’, Link={ LinkType=‘PublicKeyLink’, LinkedObjectIdentifier=uuidPublicKey } }

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Object Type

        Tag: Attribute Value (0x42000B), Type: Enumeration (0x05), Data: 0x00000004 (Private Key)

      Tag: Attribute (0x420008), Type: Structure (0x01), Data:

        Tag: Attribute Name (0x42000A), Type: Text String (0x07), Data: Link

        Tag: Attribute Value (0x42000B), Type: Structure (0x01), Data:

          Tag: Link Type (0x42004B), Type: Enumeration (0x05), Data: 0x00000102 (Public Key Link)

          Tag: Linked Object Identifier (0x42004C), Type: Text String (0x07), Data: 57492708-09e8-4235-ab77-8eee6ed4647f

 

42007801000000F04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F01000000A842005C050000000400000008000000004200790100000090420008010000002842000A070000000B4F626A6563742054797065000000000042000B05000000040000000400000000420008010000005842000A07000000044C696E6B0000000042000B010000004042004B0500000004000001020000000042004C070000002435373439323730382D303965382D343233352D616237372D38656565366564343634376600000000

 

Out: uuidPrivateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556C (Fri Apr 27 10:14:36 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000008 (Locate)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556C42000D0200000004000000010000000042000F010000005842005C0500000004000000080000000042007F0500000004000000000000000042007C0100000030420094070000002437636635323039622D366666362D343432362D383939652D32326230363738353933373200000000

5

Get (private key)

In: uuidPrivateKey, keyFormatType='00000003'

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

      Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000003 (PKCS#1)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000A000000004200790100000040420094070000002437636635323039622D366666362D343432362D383939652D3232623036373835393337320000000042004205000000040000000300000000

 

Out: objectType = ‘00000004’, uuidPrivateKey, privateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556C (Fri Apr 27 10:14:36 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000004 (Private Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

      Tag: Private Key (0x420064), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000003 (PKCS#1)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 308204A50201000282010100AB7F161C0042496CCD6C6D4DADB919973435357776003ACF54B7AF1E440AFB80B64A8755F8002CFEBA6B184540A2D66086D74648346D75B8D71812B205387C0F6583BC4D7DC7EC114F3B176B7957C422E7D03FC6267FA2A6F89B9BEE9E60A1D7C2D833E5A5F4BB0B1434F4E795A41100F8AA214900DF8B65089F98135B1C67B701675ABDBC7D5721AAC9D14A7F081FCEC80B64E8A0ECC8295353C795328ABF70E1B42E7BB8B7F4E8AC8C810CDB66E3D21126EBA8DA7D0CA34142CB76F91F013DA809E9C1B7AE64C54130FBC21D80E9C2CB06C5C8D7CCE8946A9AC99B1C2815C3612A29A82D73A1F99374FE30E54951662A6EDA29C6FC411335D5DC7426B0F6050203010001028201003B12455D53C1816516C518493F6398AAFA72B17DFA894DB888A7D48C0A47F62579A4E644F86DA711FEC850CDD9DBBD17F69A443D2EC1DD60D3C618FA74CDE5FDAFABD6BAA26EB0A3ADB4DEF6480FB1218CD3B083E252E885B6F0729F98B2144D2B72293E1B11D73393BC41F75B15EE3D7569B4995ED1A14425DA4319B7B26B0E8FEF17C37542AE5C6D5849F87209567F3925A47B016D564859717BC57FCB4522D0AA49CE816E5BE7B3088193236EC9EFFF140858045B73C5D79BAF38F7C67F04C5DCF0E3806AD982D1259058C3473E847179A878F2C6B3BD968FB99EA46E9185892F3676E78965C2AED4877BA3917DF07C5E927474F19E764BA61DC38D63BF2902818100D5C69C8C3CDC2464744A793713DAFB9F1DBC799FF96423FECD3CBA794286BCE920F4B5C183F99EE9028DB6212C6277C4C8297FCFBCE7F7C24CA4C51FC7182FB8F4019FB1D5659674C5CBE6D5FA992051341760CD00735729A070A9E54D342BEBA8EF47EE82D3A01B04CEC4A00D4DDB41E35116FC221E854B43A696C0E6419B1B02818100CD5EA7702789064B673540CBFF09356AD80BC3D592812EBA47610B9FAC6AECEFE22ACAE438459CDA74E59653D88C04189D34399BF5B14B920E34EF38A7D09FE69593396E8FE735E6F0A6AE4990401041D8A406B6FD86A1161E45F95A3EAA5C1012E6662E44F15F335AC971E1766B2BB9C985109974141B44D37E1E319820A55F02818100B2871237BF9FAD38C3316AB7877A6A868063E542A7186D431E8D27C19AC0414584033942E9FF6E2973BB7B2D8B0E94AD1EE82158108FBC8664517A5A467FB963014BD5DCC2B4FB087C23039D11920DBE22FD9F16B4D89E23225CD455ADBAF32EF43F185864A36D630309D6853F7714B39AAE1EBEE3938F87C2707E178C739F9F028181009690BED14B2AFAA26D986D592231EE27D71D49065BD2BA1F78157E20229881FD9D23227D0F8479EAEFA922FD75D5B16B1A561FA6680B040CA0BDCE650B23B917A4B1BB7983A74FAD70E1C305CBEC2BFF1A85A726A1D90260E4F1084F518234DCD3FE770B9520215BD543BB6A4117718754676A34171666A79F26E79C149C5AA102818100A0C985A0A0A791A659F99731134C44F37B2E520A2CEA35800AD27241ED360DFDE6E8CA614F12047FD08B76AC4D13C056A0699E2F98A1CAC91011294D71208F4ABAB33BA87AA0517F415BACA88D6BAC006088FA601D349417E1F0C9B23AFFA4D496618DBC024986ED690BBB7B025768FF9DF8AC15416F489F8129C32341A8B44F

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000004 (RSA)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000800 (2048)

 

42007B01000005C042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556C42000D0200000004000000010000000042000F010000056842005C05000000040000000A0000000042007F0500000004000000000000000042007C010000054042005705000000040000000400000000420094070000002437636635323039622D366666362D343432362D383939652D3232623036373835393337320000000042006401000004F842004001000004F04200420500000004000000030000000042004501000004B842004308000004A9308204A50201000282010100AB7F161C0042496CCD6C6D4DADB919973435357776003ACF54B7AF1E440AFB80B64A8755F8002CFEBA6B184540A2D66086D74648346D75B8D71812B205387C0F6583BC4D7DC7EC114F3B176B7957C422E7D03FC6267FA2A6F89B9BEE9E60A1D7C2D833E5A5F4BB0B1434F4E795A41100F8AA214900DF8B65089F98135B1C67B701675ABDBC7D5721AAC9D14A7F081FCEC80B64E8A0ECC8295353C795328ABF70E1B42E7BB8B7F4E8AC8C810CDB66E3D21126EBA8DA7D0CA34142CB76F91F013DA809E9C1B7AE64C54130FBC21D80E9C2CB06C5C8D7CCE8946A9AC99B1C2815C3612A29A82D73A1F99374FE30E54951662A6EDA29C6FC411335D5DC7426B0F6050203010001028201003B12455D53C1816516C518493F6398AAFA72B17DFA894DB888A7D48C0A47F62579A4E644F86DA711FEC850CDD9DBBD17F69A443D2EC1DD60D3C618FA74CDE5FDAFABD6BAA26EB0A3ADB4DEF6480FB1218CD3B083E252E885B6F0729F98B2144D2B72293E1B11D73393BC41F75B15EE3D7569B4995ED1A14425DA4319B7B26B0E8FEF17C37542AE5C6D5849F87209567F3925A47B016D564859717BC57FCB4522D0AA49CE816E5BE7B3088193236EC9EFFF140858045B73C5D79BAF38F7C67F04C5DCF0E3806AD982D1259058C3473E847179A878F2C6B3BD968FB99EA46E9185892F3676E78965C2AED4877BA3917DF07C5E927474F19E764BA61DC38D63BF2902818100D5C69C8C3CDC2464744A793713DAFB9F1DBC799FF96423FECD3CBA794286BCE920F4B5C183F99EE9028DB6212C6277C4C8297FCFBCE7F7C24CA4C51FC7182FB8F4019FB1D5659674C5CBE6D5FA992051341760CD00735729A070A9E54D342BEBA8EF47EE82D3A01B04CEC4A00D4DDB41E35116FC221E854B43A696C0E6419B1B02818100CD5EA7702789064B673540CBFF09356AD80BC3D592812EBA47610B9FAC6AECEFE22ACAE438459CDA74E59653D88C04189D34399BF5B14B920E34EF38A7D09FE69593396E8FE735E6F0A6AE4990401041D8A406B6FD86A1161E45F95A3EAA5C1012E6662E44F15F335AC971E1766B2BB9C985109974141B44D37E1E319820A55F02818100B2871237BF9FAD38C3316AB7877A6A868063E542A7186D431E8D27C19AC0414584033942E9FF6E2973BB7B2D8B0E94AD1EE82158108FBC8664517A5A467FB963014BD5DCC2B4FB087C23039D11920DBE22FD9F16B4D89E23225CD455ADBAF32EF43F185864A36D630309D6853F7714B39AAE1EBEE3938F87C2707E178C739F9F028181009690BED14B2AFAA26D986D592231EE27D71D49065BD2BA1F78157E20229881FD9D23227D0F8479EAEFA922FD75D5B16B1A561FA6680B040CA0BDCE650B23B917A4B1BB7983A74FAD70E1C305CBEC2BFF1A85A726A1D90260E4F1084F518234DCD3FE770B9520215BD543BB6A4117718754676A34171666A79F26E79C149C5AA102818100A0C985A0A0A791A659F99731134C44F37B2E520A2CEA35800AD27241ED360DFDE6E8CA614F12047FD08B76AC4D13C056A0699E2F98A1CAC91011294D71208F4ABAB33BA87AA0517F415BACA88D6BAC006088FA601D349417E1F0C9B23AFFA4D496618DBC024986ED690BBB7B025768FF9DF8AC15416F489F8129C32341A8B44F000000000000004200280500000004000000040000000042002A02000000040000080000000000

6

Get (public key)

In: uuidPublicKey, keyFormatType='00000003'

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57492708-09e8-4235-ab77-8eee6ed4647f

      Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000003 (PKCS#1)

 

42007801000000A04200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000005842005C05000000040000000A000000004200790100000040420094070000002435373439323730382D303965382D343233352D616237372D3865656536656434363437660000000042004205000000040000000300000000

 

Out: objectType = ‘00000003’, uuidPublicKey, publicKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556C (Fri Apr 27 10:14:36 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x0000000A (Get)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Object Type (0x420057), Type: Enumeration (0x05), Data: 0x00000003 (Public Key)

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57492708-09e8-4235-ab77-8eee6ed4647f

      Tag: Public Key (0x42006D), Type: Structure (0x01), Data:

        Tag: Key Block (0x420040), Type: Structure (0x01), Data:

          Tag: Key Format Type (0x420042), Type: Enumeration (0x05), Data: 0x00000003 (PKCS#1)

          Tag: Key Value (0x420045), Type: Structure (0x01), Data:

            Tag: Key Material (0x420043), Type: Byte String (0x08), Data: 3082010A0282010100AB7F161C0042496CCD6C6D4DADB919973435357776003ACF54B7AF1E440AFB80B64A8755F8002CFEBA6B184540A2D66086D74648346D75B8D71812B205387C0F6583BC4D7DC7EC114F3B176B7957C422E7D03FC6267FA2A6F89B9BEE9E60A1D7C2D833E5A5F4BB0B1434F4E795A41100F8AA214900DF8B65089F98135B1C67B701675ABDBC7D5721AAC9D14A7F081FCEC80B64E8A0ECC8295353C795328ABF70E1B42E7BB8B7F4E8AC8C810CDB66E3D21126EBA8DA7D0CA34142CB76F91F013DA809E9C1B7AE64C54130FBC21D80E9C2CB06C5C8D7CCE8946A9AC99B1C2815C3612A29A82D73A1F99374FE30E54951662A6EDA29C6FC411335D5DC7426B0F6050203010001

          Tag: Cryptographic Algorithm (0x420028), Type: Enumeration (0x05), Data: 0x00000004 (RSA)

          Tag: Cryptographic Length (0x42002A), Type: Integer (0x02), Data: 0x00000800 (2048)

 

42007B010000022042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556C42000D0200000004000000010000000042000F01000001C842005C05000000040000000A0000000042007F0500000004000000000000000042007C01000001A042005705000000040000000300000000420094070000002435373439323730382D303965382D343233352D616237372D3865656536656434363437660000000042006D01000001584200400100000150420042050000000400000003000000004200450100000118420043080000010E3082010A0282010100AB7F161C0042496CCD6C6D4DADB919973435357776003ACF54B7AF1E440AFB80B64A8755F8002CFEBA6B184540A2D66086D74648346D75B8D71812B205387C0F6583BC4D7DC7EC114F3B176B7957C422E7D03FC6267FA2A6F89B9BEE9E60A1D7C2D833E5A5F4BB0B1434F4E795A41100F8AA214900DF8B65089F98135B1C67B701675ABDBC7D5721AAC9D14A7F081FCEC80B64E8A0ECC8295353C795328ABF70E1B42E7BB8B7F4E8AC8C810CDB66E3D21126EBA8DA7D0CA34142CB76F91F013DA809E9C1B7AE64C54130FBC21D80E9C2CB06C5C8D7CCE8946A9AC99B1C2815C3612A29A82D73A1F99374FE30E54951662A6EDA29C6FC411335D5DC7426B0F605020301000100004200280500000004000000040000000042002A02000000040000080000000000

7

Destroy

In: uuidPrivateKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C050000000400000014000000004200790100000030420094070000002437636635323039622D366666362D343432362D383939652D32326230363738353933373200000000

 

Out: uuidPrivateKey

 

 

 

Tag: Response Message (0x42007B), Type: Structure (0x01), Data:

  Tag: Response Header (0x42007A), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Time Stamp (0x420092), Type: Date-Time (0x09), Data: 0x000000004F9A556C (Fri Apr 27 10:14:36 CEST 2012)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Result Status (0x42007F), Type: Enumeration (0x05), Data: 0x00000000 (Success)

    Tag: Response Payload (0x42007C), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 7cf5209b-6ff6-4426-899e-22b067859372

 

42007B01000000B042007A0100000048420069010000002042006A0200000004000000010000000042006B020000000400000001000000004200920900000008000000004F9A556C42000D0200000004000000010000000042000F010000005842005C0500000004000000140000000042007F0500000004000000000000000042007C0100000030420094070000002437636635323039622D366666362D343432362D383939652D32326230363738353933373200000000

8

Destroy

In: uuidPublicKey

 

 

 

Tag: Request Message (0x420078), Type: Structure (0x01), Data:

  Tag: Request Header (0x420077), Type: Structure (0x01), Data:

    Tag: Protocol Version (0x420069), Type: Structure (0x01), Data:

      Tag: Protocol Version Major (0x42006A), Type: Integer (0x02), Data: 0x00000001 (1)

      Tag: Protocol Version Minor (0x42006B), Type: Integer (0x02), Data: 0x00000001 (1)

    Tag: Batch Count (0x42000D), Type: Integer (0x02), Data: 0x00000001 (1)

  Tag: Batch Item (0x42000F), Type: Structure (0x01), Data:

    Tag: Operation (0x42005C), Type: Enumeration (0x05), Data: 0x00000014 (Destroy)

    Tag: Request Payload (0x420079), Type: Structure (0x01), Data:

      Tag: Unique Identifier (0x420094), Type: Text String (0x07), Data: 57492708-09e8-4235-ab77-8eee6ed4647f

 

42007801000000904200770100000038420069010000002042006A0200000004000000010000000042006B0200000004000000010000000042000D0200000004000000010000000042000F010000004842005C05000000040000001400000000420079010000003042009407000000