2.2.3.1.1 METERCERT

The METERCERT complex type forms the basis for a metering certificate.

 <xs:complexType name="METERCERT">
   <xs:sequence>
     <xs:element name="DATA" type="METERCERT_DATA" />
     <xs:element name="CERTIFICATECHAIN" type="CERTIFICATECHAIN" />
     <xs:element name="SIGNATURE" type="SIGNATURE" />
   </xs:sequence>
   <xs:attribute name="version" type="xs:string"/>
 </xs:complexType>

DATA: MUST contain a METERCERT_DATA complex type, as specified in section 2.2.3.1.2.

CERTIFICATECHAIN: MUST contain the certificate whose private ECC key has been used to sign the DATA element.

SIGNATURE: Contains the ECC signature of the METERCERT_DATA. The signature MUST validate against the public key extracted from the accompanying CERTIFICATECHAIN element.

version: Indicates the version of the metering data format. This element is set to "1.0" for this version of the protocol.