This repository has been archived by the owner on Jul 14, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prepare it to be used with v2 security
Related issue: erasmus-without-paper/ewp-specs-sec-intro#1
- Loading branch information
Showing
4 changed files
with
107 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<xs:schema | ||
xmlns:xs="http://www.w3.org/2001/XMLSchema" | ||
xmlns:xml="http://www.w3.org/XML/1998/namespace" | ||
xmlns:ewp="https://github.com/erasmus-without-paper/ewp-specs-architecture/blob/stable-v1/common-types.xsd" | ||
elementFormDefault="qualified" | ||
|
||
targetNamespace="https://github.com/erasmus-without-paper/ewp-specs-sec-cliauth-tlscert/tree/stable-v1" | ||
xmlns="https://github.com/erasmus-without-paper/ewp-specs-sec-cliauth-tlscert/tree/stable-v1" | ||
> | ||
<xs:import | ||
schemaLocation="https://raw.githubusercontent.com/erasmus-without-paper/ewp-specs-architecture/stable-v1/common-types.xsd" | ||
namespace="https://github.com/erasmus-without-paper/ewp-specs-architecture/blob/stable-v1/common-types.xsd" | ||
/> | ||
|
||
<xs:annotation> | ||
<xs:documentation> | ||
This schema is a part of the Erasmus Without Paper project. Before you start | ||
using it, make sure you have read the general rules described here: | ||
|
||
http://developers.erasmuswithoutpaper.eu/ | ||
</xs:documentation> | ||
</xs:annotation> | ||
|
||
<xs:element name="tlscert"> | ||
<xs:annotation> | ||
<xs:documentation> | ||
This element uniquely identifies the TLS Client Certificate Authentication method, as | ||
described here: | ||
|
||
https://github.com/erasmus-without-paper/ewp-specs-sec-cliauth-tlscert | ||
|
||
It can be used in various contexts, whenever someone needs to identify this | ||
particular method of client authentication. In particular, it is often seen | ||
together with `HttpSecurityOptions` data type described here: | ||
|
||
https://github.com/erasmus-without-paper/ewp-specs-sec-intro/blob/stable-v2/schema.md | ||
</xs:documentation> | ||
</xs:annotation> | ||
<xs:complexType> | ||
<xs:sequence> | ||
<!-- Empty. --> | ||
</xs:sequence> | ||
<xs:attribute name="allows-self-signed" use="required" type="xs:boolean"> | ||
<xs:annotation> | ||
<xs:documentation> | ||
If true, then the server states that it allows self-signed client certificates. | ||
(If false, then only CA-signed clients certificates are allowed.) | ||
</xs:documentation> | ||
</xs:annotation> | ||
</xs:attribute> | ||
</xs:complexType> | ||
</xs:element> | ||
|
||
</xs:schema> |