diff options
Diffstat (limited to 'pages/wot/14.php')
-rw-r--r-- | pages/wot/14.php | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/pages/wot/14.php b/pages/wot/14.php new file mode 100644 index 0000000..21c5873 --- /dev/null +++ b/pages/wot/14.php @@ -0,0 +1,47 @@ +<? /* + LibreSSL - CAcert web application + Copyright (C) 2004-2008 CAcert Inc. + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; version 2 of the License. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA +*/ ?> + +<p>This is a demo page, which isn't fully functional yet.</p> + +<p><?=sprintf(_("If you have a %sSignaturecard%s (also called 'Buergerkarte'), you can digitally sign your assurance request here, and get 50 CAcert points:"),"<a href='http://www.buergerkarte.at/'>","</a>")?><br /></p> + +<p><?=sprintf(_("To get assured with your Signaturecard, you need the Software from <a href='http://www.buergerkarte.at/bku/'>http://www.buergerkarte.at/bku/</a>. To activate your E-Card, please go to <a href='https://www.sozialversicherung.at/signon2-Registrierung/'>https://www.sozialversicherung.at/signon2-Registrierung/</a>."))?></p> + + +<pre><?=sanitizeHTML($_REQUEST['XMLResponse'])?></pre> + +<h1>1. Step: Assurance form</h1> + +<form name="form" method="post" action="http://localhost:3495/http-security-layer-request"/> + <input type="submit" name="Weiter" value="Start Assurance"> + <input type="hidden" name="XMLRequest" value="<CreateXMLSignatureRequest xmlns='http://www.buergerkarte.at/namespaces/securitylayer/20020831#' xmlns:dsig='http://www.w3.org/2000/09/xmldsig#' xmlns:sl10='http://www.buergerkarte.at/namespaces/securitylayer/20020225#'><KeyboxIdentifier>CertifiedKeypair</KeyboxIdentifier><DataObjectInfo Structure='enveloping'><sl10:DataObject><sl10:XMLContent>Mit dieser Signatur beantragen Sie die Assurance ihres CAcert Accounts '<?=$_SESSION['profile']['email']?>' mit ihrer Buergerkarte.</sl10:XMLContent></sl10:DataObject><sl10:TransformsInfo><sl10:FinalDataMetaInfo><sl10:MimeType>text/plain</sl10:MimeType></sl10:FinalDataMetaInfo></sl10:TransformsInfo></DataObjectInfo></CreateXMLSignatureRequest>"/> + <input type="hidden" name="actualtest_" value="4"/> + <input type="hidden" name="DataURL" value="https://www.cacert.org/tverify/seclayer.php?id=14&user=<?=$_SESSION['profile']['email']?>"/> + <input type="hidden" name="TestResult_" value="<strong>TestResult</strong>"/> +</form> + +<h1>2. Step: Person binding (Birthday)</h1> + +<form name="form" method="post" action="http://localhost:3495/http-security-layer-request"/> + <input type="submit" name="Weiter" value="Read birthday from Card"> + <input type="hidden" name="XMLRequest" value="<InfoboxReadRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/20020225#"><InfoboxIdentifier>IdentityLink</InfoboxIdentifier><BinaryFileParameters ContentIsXMLEntity="true"/></InfoboxReadRequest>"/> + <input type="hidden" name="actualtest_" value="4"/> + <input type="hidden" name="DataURL" value="https://www.cacert.org/tverify/seclayer.php?id=14&user=<?=$_SESSION['profile']['email']?>"/> + <input type="hidden" name="TestResult_" value="<strong>TestResult</strong>"/> +</form> + |