[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Chip Gateway template and schemes
As offered in the call ... a dummy doc and the schemes ... -- Andreas Kühne phone: +49 177 293 24 97 mailto: kuehne@trustable.de Trustable Ltd. Niederlassung Deutschland Gartenheimstr. 39C - 30659 Hannover Amtsgericht Hannover HRB 212612 Director Andreas Kühne Company UK Company No: 5218868 Registered in England and Wales
Attachment:
chipGateway-18.04.30_18.18.29.docx
Description: Binary data
{"$schema":"http:\/\/json-schema.org\/draft-04\/schema#","definitions":{"cg-CertificateFilterType":{"$xsd-type":"CertificateFilterType","$xsd-full-type":"cg:CertificateFilterType","type":"object","properties":{"policy":{"type":"string"},"iss":{"type":"string"},"usage":{"type":"string"}}},"cg-CertificateInfoType":{"$xsd-type":"CertificateInfoType","$xsd-full-type":"cg:CertificateInfoType","type":"object","properties":{"didname":{"type":"string"},"did":{"type":"string"},"alg":{"type":"string"},"cert":{"type":"array","items":{"type":"string"}},"ssn":{"type":"string"}},"required":["did","alg","cert","ssn"]},"cg-ConnectionHandleType":{"$xsd-type":"ConnectionHandleType","$xsd-full-type":"cg:ConnectionHandleType","type":"object","properties":{"cardType":{"type":"string"},"slot":{"type":"array","items":{"type":"integer"}}},"required":["cardType"]},"cg-ResponseType":{"$xsd-type":"ResponseType","$xsd-full-type":"cg:ResponseType","type":"object","properties":{"result":{"$ref":"#\/definitions\/dsb-ResultType"}},"required":["result"]},"dsb-ResultType":{"$xsd-type":"ResultType","$xsd-full-type":"dsb:ResultType","type":"object","properties":{"maj":{"type":"string","enum":["urn:oasis:names:tc:dss:1.0:resultmajor:Success","urn:oasis:names:tc:dss:1.0:resultmajor:RequesterError","urn:oasis:names:tc:dss:1.0:resultmajor:ResponderError","urn:oasis:names:tc:dss:1.0:resultmajor:InsufficientInformation","urn:oasis:names:tc:dss:1.0:profiles:asynchronousprocessing:resultmajor:Pending"]},"min":{"type":"string"},"msg":{"$ref":"#\/definitions\/dsb-InternationalStringType"},"pRef":{"type":"string"}},"required":["maj"]},"dsb-InternationalStringType":{"$xsd-type":"InternationalStringType","$xsd-full-type":"dsb:InternationalStringType","type":"object","properties":{"value":{"type":"string"},"lang":{"type":"string"}},"required":["lang"]},"cg-TokenInfoType":{"$xsd-type":"TokenInfoType","$xsd-full-type":"cg:TokenInfoType","type":"object","properties":{"conn":{"$ref":"#\/definitions\/cg-ConnectionHandleType"},"protAuthPath":{"type":"boolean"},"certNeedsPin":{"type":"boolean"},"privNeedsPin":{"type":"boolean"},"alg":{"type":"array","items":{"type":"string"}}}},"cg-HelloRequestType":{"$xsd-type":"HelloRequestType","$xsd-full-type":"cg:HelloRequestType","type":"object","properties":{"chall":{"type":"array","items":{"type":"integer"}},"ver":{"type":"string"},"sessId":{"type":"string"}},"required":["chall","ver","sessId"]},"cg-HelloResponseType":{"$xsd-type":"HelloResponseType","$xsd-full-type":"cg:HelloResponseType","type":"object","properties":{"result":{"$ref":"#\/definitions\/dsb-ResultType"},"sig":{"type":"array","items":{"type":"integer"}},"minVer":{"type":"string"},"downloasdAddress":{"type":"string"},"webOrigin":{"type":"array","items":{"type":"string"}}},"required":["sig"]},"cg-GetCommandType":{"$xsd-type":"GetCommandType","$xsd-full-type":"cg:GetCommandType","type":"object","properties":{"sessionIdentifier":{"type":"string"},"tokenInfo":{"type":"array","items":{"$ref":"#\/definitions\/cg-TokenInfoType"}}}},"cg-CommandType":{"$xsd-type":"CommandType","$xsd-full-type":"cg:CommandType","type":"object","properties":{"tokensReq":{"$ref":"#\/definitions\/cg-ListTokensRequestType"},"certsReq":{"$ref":"#\/definitions\/cg-ListCertificatesRequestType"},"signReq":{"$ref":"#\/definitions\/cg-SignRequestType"},"term":{"$ref":"#\/definitions\/cg-TerminateType"}},"minProperties":1,"maxProperties":1},"cg-ListTokensRequestType":{"$xsd-type":"ListTokensRequestType","$xsd-full-type":"cg:ListTokensRequestType","type":"object","properties":{"waitSecs":{"type":"integer"},"tokenInfo":{"type":"array","items":{"$ref":"#\/definitions\/cg-TokenInfoType"}}},"required":["waitSecs","tokenInfo"]},"cg-ListCertificatesRequestType":{"$xsd-type":"ListCertificatesRequestType","$xsd-full-type":"cg:ListCertificatesRequestType","type":"object","properties":{"waitSecs":{"type":"integer"},"slot":{"type":"array","items":{"type":"integer"}},"pin":{"type":"string"},"certFilter":{"type":"array","items":{"$ref":"#\/definitions\/cg-CertificateFilterType"}}},"required":["waitSecs","slot"]},"cg-SignRequestType":{"$xsd-type":"SignRequestType","$xsd-full-type":"cg:SignRequestType dss2:SignRequestType","type":"object","properties":{"didname":{"type":"string"},"waitSecs":{"type":"integer"},"slot":{"type":"array","items":{"type":"integer"}},"did":{"type":"string"},"pin":{"type":"string"},"msg":{"type":"array","items":{"type":"integer"}}},"required":["waitSecs","slot","did","msg"]},"cg-TerminateType":{"$xsd-type":"TerminateType","$xsd-full-type":"cg:TerminateType","type":"object","properties":{"result":{"$ref":"#\/definitions\/dsb-ResultType"},"sessId":{"type":"string"}}},"cg-ListTokensResponseType":{"$xsd-type":"ListTokensResponseType","$xsd-full-type":"cg:ListTokensResponseType","type":"object","properties":{"result":{"$ref":"#\/definitions\/dsb-ResultType"},"sessionId":{"type":"string"},"tokenInfo":{"type":"array","items":{"$ref":"#\/definitions\/cg-TokenInfoType"}}},"required":["sessionId"]},"cg-ListCertificatesResponseType":{"$xsd-type":"ListCertificatesResponseType","$xsd-full-type":"cg:ListCertificatesResponseType","type":"object","properties":{"result":{"$ref":"#\/definitions\/dsb-ResultType"},"sessionId":{"type":"string"},"retryCnt":{"type":"integer"},"certInfo":{"type":"array","items":{"$ref":"#\/definitions\/cg-CertificateInfoType"}}},"required":["sessionId"]},"cg-SignResponseType":{"$xsd-type":"SignResponseType","$xsd-full-type":"cg:SignResponseType dss2:SignResponseType","type":"object","properties":{"result":{"$ref":"#\/definitions\/dsb-ResultType"},"sessId":{"type":"string"},"retryCnt":{"type":"integer"},"sig":{"type":"array","items":{"type":"integer"}}},"required":["sessId"]},"cg-KeyUsageType":{"$xsd-type":"KeyUsageType","$xsd-full-type":"cg:KeyUsageType","type":"string","enum":["AUTHENTICATION","SIGNATURE","ENCRYPTION"]},"cg-NameType":{"$xsd-type":"NameType","$xsd-full-type":"cg:NameType","type":"string","minLength":"1","maxLength":"255"}},"type":"object","properties":{"certFilter":{"$ref":"#\/definitions\/cg-CertificateFilterType"},"certInfo":{"$ref":"#\/definitions\/cg-CertificateInfoType"},"conn":{"$ref":"#\/definitions\/cg-ConnectionHandleType"},"resp":{"$ref":"#\/definitions\/cg-ResponseType"},"tokenInfo":{"$ref":"#\/definitions\/cg-TokenInfoType"},"helloReq":{"$ref":"#\/definitions\/cg-HelloRequestType"},"helloResp":{"$ref":"#\/definitions\/cg-HelloResponseType"},"getCmd":{"$ref":"#\/definitions\/cg-GetCommandType"},"cmd":{"$ref":"#\/definitions\/cg-CommandType"},"tokensReq":{"$ref":"#\/definitions\/cg-ListTokensRequestType"},"tokensResp":{"$ref":"#\/definitions\/cg-ListTokensResponseType"},"certsReq":{"$ref":"#\/definitions\/cg-ListCertificatesRequestType"},"certsResp":{"$ref":"#\/definitions\/cg-ListCertificatesResponseType"},"signReq":{"$ref":"#\/definitions\/cg-SignRequestType"},"signResp":{"$ref":"#\/definitions\/cg-SignResponseType"},"term":{"$ref":"#\/definitions\/cg-TerminateType"}}}
<?xml version="1.0" encoding="UTF-8"?><schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:cg="http://ws.openecard.org/chipgateway" xmlns:dsb="http://docs.oasis-open.org/dss/ns/base" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dss2="http://docs.oasis-open.org/dss/ns/core" xmlns:ds-rw="http://docs.oasis-open.org/dss/ns/xmldsig/rewritten" xmlns:saml-rw="http://docs.oasis-open.org/dss/ns/SAML_1.0/assertion/rewritten" xmlns:saml2-rw="http://docs.oasis-open.org/dss/ns/saml2/rewritten" targetNamespace="http://ws.openecard.org/chipgateway" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1.0.0"> <!-- =============================== --> <!-- Version / Date --> <!-- =============================== --> <!-- 27.02.2016 --> <!-- =============================== --> <!-- =============================== --> <!-- Basic Types and Elements --> <!-- =============================== --> <import namespace="http://docs.oasis-open.org/dss/ns/base" schemaLocation="oasis-dss-base-schema.xsd"/> <element name="CertificateFilter" type="cg:CertificateFilterType"/> <complexType name="CertificateFilterType"> <sequence> <element name="Policy" type="string" maxOccurs="1" minOccurs="0"/> <element name="Issuer" type="string" maxOccurs="1" minOccurs="0"/> <element name="KeyUsage" type="cg:KeyUsageType" maxOccurs="1" minOccurs="0"/> </sequence> </complexType> <element name="CertificateInfo" type="cg:CertificateInfoType"/> <complexType name="CertificateInfoType"> <sequence> <element name="DIDName" type="cg:NameType"/> <element name="Algorithm" type="string"/> <element name="Certificate" type="base64Binary" maxOccurs="unbounded" minOccurs="1"/> <element name="UniqueSSN" type="string"/> </sequence> </complexType> <element name="ConnectionHandle" type="cg:ConnectionHandleType"/> <complexType name="ConnectionHandleType"> <sequence> <element name="CardType" type="anyURI"/> <element name="SlotHandle" type="hexBinary" maxOccurs="1" minOccurs="0"/> </sequence> </complexType> <simpleType name="KeyUsageType"> <restriction base="string"> <enumeration value="AUTHENTICATION"/> <enumeration value="SIGNATURE"/> <enumeration value="ENCRYPTION"/> </restriction> </simpleType> <simpleType name="NameType"> <restriction base="normalizedString"> <minLength value="1"/> <maxLength value="255"/> <whiteSpace value="collapse"/> </restriction> </simpleType> <complexType name="ResponseType"> <sequence> <element name="Result" type="dsb:ResultType"/> </sequence> </complexType> <element name="TokenInfo" type="cg:TokenInfoType"/> <complexType name="TokenInfoType"> <sequence> <element ref="cg:ConnectionHandle" maxOccurs="1" minOccurs="0"/> <element name="HasProtectedAuthPath" type="boolean" maxOccurs="1" minOccurs="0"/> <element name="NeedsPinForCertAccess" type="boolean" maxOccurs="1" minOccurs="0"/> <element name="NeedsPinForPrivateKeyAccess" type="boolean" maxOccurs="1" minOccurs="0"/> <element name="Algorithm" type="string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </complexType> <!-- =============================== --> <!-- HelloRequest / -Response --> <!-- =============================== --> <element name="HelloRequest" type="cg:HelloRequestType"/> <complexType name="HelloRequestType"> <sequence> <element name="Challenge" type="hexBinary"/> <element name="Version" type="string"/> <element name="SessionIdentifier" type="string"/> </sequence> </complexType> <element name="HelloResponse" type="cg:HelloResponseType"/> <complexType name="HelloResponseType"> <complexContent> <extension base="cg:ResponseType"> <sequence maxOccurs="1" minOccurs="0"> <element name="Signature" type="base64Binary"/> <element name="MinimumVersion" type="string" maxOccurs="1" minOccurs="0"/> <element name="DownloadAddress" type="anyURI" maxOccurs="1" minOccurs="0"/> <element name="WebOrigin" type="string" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> <!-- =============================== --> <!-- GetCommand / -Response --> <!-- =============================== --> <element name="GetCommand" type="cg:GetCommandType"/> <complexType name="GetCommandType"> <sequence> <element name="SessionIdentifier" type="string"/> <element ref="cg:TokenInfo" maxOccurs="unbounded" minOccurs="0"> </element> </sequence> </complexType> <element name="Command" type="cg:CommandType"/> <complexType name="CommandType"> <choice> <element ref="cg:ListTokensRequest"/> <element ref="cg:ListCertificatesRequest"/> <element ref="cg:SignRequest"/> <element ref="cg:Terminate"/> </choice> </complexType> <!-- =============================== --> <!-- ListTokens --> <!-- =============================== --> <element name="ListTokensRequest" type="cg:ListTokensRequestType"/> <complexType name="ListTokensRequestType"> <sequence> <element name="MaxWaitSeconds" type="positiveInteger"/> <element name="TokenInfo" type="cg:TokenInfoType" maxOccurs="unbounded" minOccurs="1"/> </sequence> </complexType> <element name="ListTokensResponse" type="cg:ListTokensResponseType"/> <complexType name="ListTokensResponseType"> <complexContent> <extension base="cg:ResponseType"> <sequence> <element name="SessionIdentifier" type="string"/> <element name="TokenInfo" type="cg:TokenInfoType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> <!-- =============================== --> <!-- ListCertificates --> <!-- =============================== --> <element name="ListCertificatesRequest" type="cg:ListCertificatesRequestType"/> <complexType name="ListCertificatesRequestType"> <sequence> <element name="MaxWaitSeconds" type="positiveInteger"/> <element name="SlotHandle" type="hexBinary"/> <element name="PIN" type="string" maxOccurs="1" minOccurs="0"/> <element name="CertificateFilter" type="cg:CertificateFilterType" maxOccurs="unbounded" minOccurs="0"/> </sequence> </complexType> <element name="ListCertificatesResponse" type="cg:ListCertificatesResponseType"/> <complexType name="ListCertificatesResponseType"> <complexContent> <extension base="cg:ResponseType"> <sequence maxOccurs="1" minOccurs="1"> <element name="SessionIdentifier" type="string"/> <element name="RetryCounter" type="nonNegativeInteger" maxOccurs="1" minOccurs="0"/> <element ref="cg:CertificateInfo" maxOccurs="unbounded" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> <!-- =============================== --> <!-- Sign --> <!-- =============================== --> <element name="SignRequest" type="cg:SignRequestType"/> <complexType name="SignRequestType"> <sequence> <element name="MaxWaitSeconds" type="positiveInteger"/> <element name="SlotHandle" type="hexBinary"/> <element name="DIDName" type="cg:NameType"/> <element name="PIN" type="string" maxOccurs="1" minOccurs="0"/> <element name="Message" type="hexBinary"/> </sequence> </complexType> <element name="SignResponse" type="cg:SignResponseType"/> <complexType name="SignResponseType"> <complexContent> <extension base="cg:ResponseType"> <sequence> <element name="SessionIdentifier" type="string"/> <element name="RetryCounter" type="nonNegativeInteger" maxOccurs="1" minOccurs="0"/> <element name="Signature" type="base64Binary" maxOccurs="1" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> <!-- =============================== --> <!-- Terminate --> <!-- =============================== --> <element name="Terminate" type="cg:TerminateType"/> <complexType name="TerminateType"> <complexContent> <extension base="cg:ResponseType"> <sequence> <element name="SessionIdentifier" type="string" maxOccurs="1" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType> </schema>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]