xmlsec_xkms.c File Reference
XMLSEC_XKMS_ID_ATTRIBUTE_LEN
const xmlChar * xmlSecXkmsServerIds
const
xmlChar
*
|
xmlSecXkmsServerIds
|
[static]
|
xmlSecXkmsServerCtxWriteSoap11FatalError(xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsServerCtxWriteSoap12FatalError(xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsServerCtxRequestAbstractTypeNodeRead(xmlSecXkmsServerCtxPtr, xmlNodePtr *)
<xkms:MessageAbstractType Id Service Nonce?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )?
<xkms:RequestAbstractType Id Service Nonce? OriginalRequestId? ResponseLimit?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:ResponseMechanism>* <xkms:RespondWith>* <xkms:PendingNotification Mechanism Identifier>?
XML Schema:
<complexType name="RequestAbstractType" abstract="true"> <complexContent> <extension base="xkms:MessageAbstractType"> <sequence> <element ref="xkms:ResponseMechanism" minoccurs="0" maxoccurs="unbounded"> <element ref="xkms:RespondWith" minoccurs="0" maxoccurs="unbounded"> <element ref="xkms:PendingNotification" minoccurs="0"> </sequence> <attribute name="OriginalRequestId" type="anyURI" use="optional"> <attribute name="ResponseLimit" type="integer" use="optional"> </extension> </complexContent> </complexType>
<complexType name="MessageAbstractType" abstract="true"> <sequence> <element ref="ds:Signature" minoccurs="0"> <element ref="xkms:MessageExtension" minoccurs="0" maxoccurs="unbounded"> <element ref="xkms:OpaqueClientData" minoccurs="0"> </sequence> <attribute name="Id" type="ID" use="required"> <attribute name="Service" type="anyURI" use="required"> <attribute name="Nonce" type="base64Binary" use="optional"> </complexType>
xmlSecXkmsServerCtxSignatureNodeRead(xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsServerCtxMessageExtensionNodesRead(xmlSecXkmsServerCtxPtr, xmlNodePtr *)
<element name="MessageExtension" type="xkms:MessageExtensionAbstractType" abstract="true"> <complexType name="MessageExtensionAbstractType" abstract="true">
xmlSecXkmsServerCtxOpaqueClientDataNodeRead(xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsServerCtxPendingNotificationNodeRead(xmlSecXkmsServerCtxPtr, xmlNodePtr)
XML Schema:
<element name="PendingNotification" type="xkms:PendingNotificationType"> <complexType name="PendingNotificationType"> <attribute name="Mechanism" type="anyURI" use="required"> <attribute name="Identifier" type="anyURI" use="required"> </complexType>
xmlSecXkmsServerCtxRespondWithNodesRead(xmlSecXkmsServerCtxPtr, xmlNodePtr *)
xmlSecXkmsServerCtxPendingRequestNodeRead(xmlSecXkmsServerCtxPtr, xmlNodePtr *)
<xkms:PendingRequestType Id Service Nonce? OriginalRequestId? ResponseLimit? ResponseId?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:ResponseMechanism>* <xkms:RespondWith>* <xkms:PendingNotification Mechanism Identifier>?
XML Schema:
<element name="PendingRequest" type="xkms:PendingRequestType"> <complexType name="PendingRequestType"> <complexContent> <extension base="xkms:RequestAbstractType"> <attribute name="ResponseId" type="anyURI" use="optional"> </extension> </complexContent> </complexType> *
xmlSecXkmsServerCtxQueryKeyBindingNodeRead(xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:QueryKeyBinding Id? <ds:KeyInfo>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:UseKeyWith Application Identifier>* <xkms:TimeInstant Time>?
XML Schema:
<element name="QueryKeyBinding" type="xkms:QueryKeyBindingType"> <complexType name="QueryKeyBindingType"> <complexContent> <extension base="xkms:KeyBindingAbstractType"> <sequence> <element ref="xkms:TimeInstant" minoccurs="0"> </sequence> </extension> </complexContent> </complexType>
xmlSecXkmsServerCtxKeyBindingAbstractTypeNodeRead(xmlSecXkmsServerCtxPtr, xmlNodePtr *)
<xkms:KeyBindingAbstractType Id?> <ds:KeyInfo>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:UseKeyWith Application Identifier>*
XML Schema:
<complexType name="KeyBindingAbstractType" abstract="true"> <sequence> <element ref="ds:KeyInfo" minoccurs="0"> <element ref="xkms:KeyUsage" minoccurs="0" maxoccurs="3"> <element ref="xkms:UseKeyWith" minoccurs="0" maxoccurs="unbounded"> </sequence> <attribute name="Id" type="ID" use="optional"> </complexType>
xmlSecXkmsServerCtxKeyBindingAbstractTypeNodeWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr, xmlSecKeyPtr)
xmlSecXkmsServerCtxKeyInfoNodeWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr, xmlSecKeyPtr)
xmlSecXkmsServerCtxUseKeyWithNodesRead(xmlSecXkmsServerCtxPtr, xmlNodePtr *)
XML Schema:
<element name="UseKeyWith" type="xkms:UseKeyWithType"> <complexType name="UseKeyWithType"> <attribute name="Application" type="anyURI" use="required"> <attribute name="Identifier" type="string" use="required"> </complexType>
xmlSecXkmsServerCtxUseKeyWithNodesWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr, xmlSecKeyPtr)
xmlSecXkmsServerCtxTimeInstantNodeRead(xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsServerCtxResultTypeNodeWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:ResultType Id Service Nonce? ResultMajor ResultMinor? RequestId?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:RequestSignatureValue>*
XML Schema:
<element name="Result" type="xkms:ResultType"> <complexType name="ResultType"> <complexContent> <extension base="xkms:MessageAbstractType"> <sequence> <element ref="xkms:RequestSignatureValue" minoccurs="0"> </sequence> <attribute name="ResultMajor" type="QName" use="required"> <attribute name="ResultMinor" type="QName" use="optional"> <attribute name="RequestId" type="anyURI" use="optional"> </extension> </complexContent> </complexType>
xmlSecXkmsServerCtxRequestSignatureValueNodeWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr)
A service SHOULD include the <RequestSignatureValue> element in a response if the following conditions are satisfied and MUST NOT include the value otherwise:
-
The <ds:Signature> element was present in the corresponding request
-
The service successfully verified the <ds:Signature> element in the corresponding request, and
-
The ResponseMechanism RequestSignatureValue was specified.
xmlSecXkmsServerCtxUnverifiedKeyBindingNodeWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr, xmlSecKeyPtr)
<xkms:UnverifiedKeyBindingType Id?> <ds:KeyInfo>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:UseKeyWith Application Identifier>* <xkms:ValidityInterval NotBefore NotOnOrAfter>?
XML Schema:
<element name="UnverifiedKeyBinding" type="xkms:UnverifiedKeyBindingType"> <complexType name="UnverifiedKeyBindingType"> <complexContent> <extension base="xkms:KeyBindingAbstractType"> <sequence> <element ref="xkms:ValidityInterval" minoccurs="0"> </sequence> </extension> </complexContent> </complexType>
xmlSecXkmsServerCtxKeyBindingNodeWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr, xmlSecKeyPtr)
<xkms:KeyBinding Id?> <ds:KeyInfo>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:UseKeyWith Application Identifier>* <xkms:ValidityInterval NotBefore NotOnOrAfter>? <xkms:Status StatusValue> (<xkms:ValidReason>? <xkms:IndeterminateReason>? <xkms:InvalidReason>? )*
XML Schema:
<element name="KeyBinding" type="xkms:KeyBindingType"> <complexType name="KeyBindingType"> <complexContent> <extension base="xkms:UnverifiedKeyBindingType"> <sequence> <element ref="xkms:Status"> </sequence> </extension> </complexContent> </complexType>
xmlSecXkmsServerCtxValidityIntervalNodeWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr, xmlSecKeyPtr)
xmlSecXkmsServerCtxKeyBindingStatusNodeWrite(xmlSecXkmsServerCtxPtr, xmlNodePtr, xmlSecKeyPtr)
<xkms:Status StatusValue> (<xkms:ValidReason>? <xkms:IndeterminateReason>? <xkms:InvalidReason>? )*
XML Schema:
<element name="Status" type="xkms:StatusType"> <complexType name="StatusType"> <sequence> <element ref="xkms:ValidReason" minoccurs="0" maxoccurs="unbounded"> <element ref="xkms:IndeterminateReason" minoccurs="0" maxoccurs="unbounded"> <element ref="xkms:InvalidReason" minoccurs="0" maxoccurs="unbounded"> </sequence> <attribute name="StatusValue" type="xkms:KeyBindingStatus" use="required"> </complexType> <simpleType name="KeyBindingStatus"> <restriction base="QName"> <enumeration value="xkms:Valid"> <enumeration value="xkms:Invalid"> <enumeration value="xkms:Indeterminate"> </restriction> </simpleType>
const xmlSecQName2IntegerInfo gXmlSecXkmsResultMajorInfo
const xmlSecQName2IntegerInfo gXmlSecXkmsMinorErrorInfo
const xmlSecQName2IntegerInfo gXmlSecXkmsKeyBindingStatusInfo
const xmlSecQName2BitMaskInfo gXmlSecXkmsKeyUsageInfo
const xmlSecQName2BitMaskInfo gXmlSecXkmsResponseMechanismInfo
const xmlSecQName2IntegerInfo gXmlSecXkmsFormatInfo
xmlSecPtrListKlass
xmlSecXkmsServerCtxPtrListKlass
xmlSecPtrList
xmlSecAllXkmsRespondWithIds
xmlSecPtrListKlass
xmlSecXkmsRespondWithIdListKlass
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithKeyNameKlass
xmlSecXkmsRespondWithKeyValueNodeRead(xmlSecXkmsRespondWithId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithKeyValueKlass
xmlSecXkmsRespondWithPrivateKeyNodeRead(xmlSecXkmsRespondWithId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithPrivateKeyKlass
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithRetrievalMethodKlass
xmlSecXkmsRespondWithX509CertNodeRead(xmlSecXkmsRespondWithId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithX509CertKlass
xmlSecXkmsRespondWithX509ChainNodeRead(xmlSecXkmsRespondWithId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithX509ChainKlass
xmlSecXkmsRespondWithX509CRLNodeRead(xmlSecXkmsRespondWithId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithX509CRLKlass
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithPGPKlass
xmlSecXkmsRespondWithKlass
xmlSecXkmsRespondWithSPKIKlass
xmlSecPtrList
xmlSecAllXkmsServerRequestIds
xmlSecPtrListKlass
xmlSecXkmsServerRequestIdListKlass
xmlSecXkmsServerRequestResultNodeWrite(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
xmlSecXkmsServerRequestKlass
xmlSecXkmsServerRequestResultKlass
xmlSecXkmsServerRequestStatusNodeRead(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:StatusRequest Id Service Nonce? OriginalRequestId? ResponseLimit? ResponseId?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:ResponseMechanism>* <xkms:RespondWith>* <xkms:PendingNotification Mechanism Identifier>?
XML Schema:
<element name="StatusRequest" type="xkms:StatusRequestType"> <complexType name="StatusRequestType"> <complexContent> <extension base="xkms:PendingRequestType"> </complexContent> </complexType>
xmlSecXkmsServerRequestStatusNodeWrite(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:StatusResult Id Service Nonce? ResultMajor ResultMinor? RequestId? Success? Failure? Pending?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:RequestSignatureValue>*
XML Schema:
<element name="StatusResult" type="xkms:StatusResultType"> <complexType name="StatusResultType"> <complexContent> <extension base="xkms:ResultType"> <attribute name="Success" type="integer" use="optional"> <attribute name="Failure" type="integer" use="optional"> <attribute name="Pending" type="integer" use="optional"> </extension> </complexContent> </complexType> *
xmlSecXkmsServerRequestKlass
xmlSecXkmsServerRequestStatusKlass
xmlSecXkmsServerRequestCompoundNodeRead(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:CompoundRequest Id Service Nonce? OriginalRequestId? ResponseLimit?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:ResponseMechanism>* <xkms:RespondWith>* <xkms:PendingNotification Mechanism Identifier>? ( <xkms:LocateRequest>? <xkms:ValidateRequest>? <xkms:RegisterRequest>? <xkms:ReissueRequest>? <xkms:RecoverRequest>? <xkms:RevokeRequest>? )*
XML Schema:
<element name="CompoundRequest" type="xkms:CompoundRequestType"> <complexType name="CompoundRequestType"> <complexContent> <extension base="xkms:RequestAbstractType"> <choice maxoccurs="unbounded"> <element ref="xkms:LocateRequest"> <element ref="xkms:ValidateRequest"> <element ref="xkms:RegisterRequest"> <element ref="xkms:ReissueRequest"> <element ref="xkms:RecoverRequest"> <element ref="xkms:RevokeRequest"> </choice> </extension> </complexContent> </complexType>
xmlSecXkmsServerRequestCompoundNodeWrite(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:CompoundResult Id Service Nonce? ResultMajor ResultMinor? RequestId?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:RequestSignatureValue>* ( <xkms:LocateResult>? <xkms:ValidateResult>? <xkms:RegisterResult>? <xkms:ReissueResult>? <xkms:RecoverResult>? <xkms:RevokeResult>? )*
XML Schema:
<element name="CompoundResult" type="xkms:CompoundResultType"> <complexType name="CompoundResultType"> <complexContent> <extension base="xkms:ResultType"> <choice maxoccurs="unbounded"> <element ref="xkms:LocateResult"> <element ref="xkms:ValidateResult"> <element ref="xkms:RegisterResult"> <element ref="xkms:ReissueResult"> <element ref="xkms:RecoverResult"> <element ref="xkms:RevokeResult"> </choice> </extension> </complexContent> </complexType>
xmlSecXkmsServerRequestCompoundExecute(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr)
xmlSecXkmsServerRequestKlass
xmlSecXkmsServerRequestCompoundKlass
xmlSecXkmsServerRequestLocateNodeRead(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:LocateRequest Id Service Nonce? OriginalRequestId? ResponseLimit?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:ResponseMechanism>* <xkms:RespondWith>* <xkms:PendingNotification Mechanism Identifier>? <xkms:QueryKeyBinding Id?> <ds:KeyInfo>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:UseKeyWith Application Identifier>* <xkms:TimeInstant Time>?
XML Schema:
<element name="LocateRequest" type="xkms:LocateRequestType"> <complexType name="LocateRequestType"> <complexContent> <extension base="xkms:RequestAbstractType"> <sequence> <element ref="xkms:QueryKeyBinding"> </sequence> </extension> </complexContent> </complexType>
xmlSecXkmsServerRequestLocateNodeWrite(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:LocateResult Id Service Nonce? ResultMajor ResultMinor? RequestId?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:RequestSignatureValue>* (<xkms:UnverifiedKeyBinding Id?> <ds:KeyInfo>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:UseKeyWith Application Identifier>* <xkms:ValidityInterval NotBefore NotOnOrAfter>? )*
XML Schema:
<element name="LocateResult" type="xkms:LocateResultType"> <complexType name="LocateResultType"> <complexContent> <extension base="xkms:ResultType"> <sequence> <element ref="xkms:UnverifiedKeyBinding" minoccurs="0" maxoccurs="unbounded"> </sequence> </extension> </complexContent> </complexType>
xmlSecXkmsServerRequestLocateExecute(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr)
xmlSecXkmsServerRequestKlass
xmlSecXkmsServerRequestLocateKlass
xmlSecXkmsServerRequestValidateNodeRead(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:ValidateRequest Id Service Nonce? OriginalRequestId? ResponseLimit?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:ResponseMechanism>* <xkms:RespondWith>* <xkms:PendingNotification Mechanism Identifier>? <xkms:QueryKeyBinding Id?> <ds:KeyInfo>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:UseKeyWith Application Identifier>* <xkms:TimeInstant Time>?
XML Schema:
<element name="ValidateRequest" type="xkms:ValidateRequestType"> <complexType name="ValidateRequestType"> <complexContent> <extension base="xkms:RequestAbstractType"> <sequence> <element ref="xkms:QueryKeyBinding"> </sequence> </extension> </complexContent> </complexType>
xmlSecXkmsServerRequestValidateNodeWrite(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr, xmlNodePtr)
<xkms:ValidateResult Id Service Nonce? ResultMajor ResultMinor? RequestId?> <ds:Signature>? <xkms:MessageExtension>* (<xkms:OpaqueClientData> <xkms:OpaqueData>? )? <xkms:RequestSignatureValue>* (<xkms:KeyBinding Id?> <ds:KeyInfo>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:KeyUsage>? <xkms:UseKeyWith Application Identifier>* <xkms:ValidityInterval NotBefore NotOnOrAfter>? <xkms:Status StatusValue> (<xkms:ValidReason>? <xkms:IndeterminateReason>? <xkms:InvalidReason>? )* )*
XML Schema:
<element name="ValidateResult" type="xkms:ValidateResultType"> <complexType name="ValidateResultType"> <complexContent> <extension base="xkms:ResultType"> <sequence> <element ref="xkms:KeyBinding" minoccurs="0" maxoccurs="unbounded"> </sequence> </extension> </complexContent> </complexType>
xmlSecXkmsServerRequestValidateExecute(xmlSecXkmsServerRequestId, xmlSecXkmsServerCtxPtr)
xmlSecXkmsServerRequestKlass
xmlSecXkmsServerRequestValidateKlass
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.