xmlsecurityengine/xmlsec/src/xmlsec_xkms.c
branchRCL_3
changeset 8 e65204f75c47
parent 0 e35f40988205
child 24 74f0b3eb154c
equal deleted inserted replaced
4:d2801e68661f 8:e65204f75c47
   157   { xmlSecXkmsNs, xmlSecKeyUsageExchange,
   157   { xmlSecXkmsNs, xmlSecKeyUsageExchange,
   158     xmlSecKeyUsageKeyExchange},
   158     xmlSecKeyUsageKeyExchange},
   159   { NULL, NULL, 0 }	/* MUST be last in the list */
   159   { NULL, NULL, 0 }	/* MUST be last in the list */
   160 };
   160 };
   161 
   161 
   162 static const xmlSecQName2BitMaskInfo gXmlSecXkmsKeyBindingReasonInfo[] = 
   162 /*static const xmlSecQName2BitMaskInfo gXmlSecXkmsKeyBindingReasonInfo[] = 
   163 {
   163 {
   164     { xmlSecXkmsNs, xmlSecKeyBindingReasonIssuerTrust,
   164     { xmlSecXkmsNs, xmlSecKeyBindingReasonIssuerTrust,
   165       XMLSEC_XKMS_KEY_BINDING_REASON_MASK_ISSUER_TRAST },
   165       XMLSEC_XKMS_KEY_BINDING_REASON_MASK_ISSUER_TRAST },
   166     { xmlSecXkmsNs, xmlSecKeyBindingReasonRevocationStatus,
   166     { xmlSecXkmsNs, xmlSecKeyBindingReasonRevocationStatus,
   167       XMLSEC_XKMS_KEY_BINDING_REASON_MASK_REVOCATION_STATUS },
   167       XMLSEC_XKMS_KEY_BINDING_REASON_MASK_REVOCATION_STATUS },
   168     { xmlSecXkmsNs, xmlSecKeyBindingReasonValidityInterval,
   168     { xmlSecXkmsNs, xmlSecKeyBindingReasonValidityInterval,
   169       XMLSEC_XKMS_KEY_BINDING_REASON_MASK_VALIDITY_INTERVAL },
   169       XMLSEC_XKMS_KEY_BINDING_REASON_MASK_VALIDITY_INTERVAL },
   170     { xmlSecXkmsNs, xmlSecKeyBindingReasonSignature,
   170     { xmlSecXkmsNs, xmlSecKeyBindingReasonSignature,
   171       XMLSEC_XKMS_KEY_BINDING_REASON_MASK_SIGNATURE },
   171       XMLSEC_XKMS_KEY_BINDING_REASON_MASK_SIGNATURE },
   172     { NULL, NULL, 0 }	/* MUST be last in the list */
   172     { NULL, NULL, 0 }	 MUST be last in the list 
   173 };
   173 };
       
   174 */
   174 
   175 
   175 static const xmlSecQName2BitMaskInfo gXmlSecXkmsResponseMechanismInfo[] = 
   176 static const xmlSecQName2BitMaskInfo gXmlSecXkmsResponseMechanismInfo[] = 
   176 {
   177 {
   177     { xmlSecXkmsNs, xmlSecResponseMechanismRepresent,
   178     { xmlSecXkmsNs, xmlSecResponseMechanismRepresent,
   178       XMLSEC_XKMS_RESPONSE_MECHANISM_MASK_REPRESENT },
   179       XMLSEC_XKMS_RESPONSE_MECHANISM_MASK_REPRESENT },