3.4.4.2.3.1 TemplateInformation

The TemplateInformation complex type contains any number of elements.

The TemplateInformation complex type defines the parameters returned from an AcquireTemplateInformation operation. A valid response MUST include one ServerPublicKey parameter. This parameter MUST be a string that represents the RSA PKCS#1-encoded public key (as specified in [RFC8017]) of the server's SLC, base64-encoded. This public key string SHOULD be used only to identify the server and SHOULD NOT be used for any cryptographic operations. The client SHOULD use this public key when comparing the set of templates it already has with those available from the server. The response MUST also include one GuidHashCount parameter that is an integer that represents the total number of GuidHash elements that are included in the response. The next parameter is GuidHash, which is of complex type GuidHash, and represents a GUID and hash pair for a template. The response contains a GuidHash parameter for all the templates available on the server. The number of GuidHash elements can range from "0" to "unlimited".

 <xs:complexType name="TemplateInformation">
   <xs:sequence>
     <xs:element name="ServerPublicKey"
       type="String"
       minOccurs="0"
       maxOccurs="1"
      />
     <xs:element name="GuidHashCount"
       type="int"
       minOccurs="1"
       maxOccurs="1"
      />
     <xs:element name="GuidHash"
       type="GuidHash"
       minOccurs="0"
       maxOccurs="unbounded"
      />
   </xs:sequence>
 </xs:complexType>