summaryrefslogtreecommitdiff
path: root/BKUOnline/src/main/webapp/slRequestForm.html
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-02-11 20:06:57 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-02-11 20:06:57 +0000
commit26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5 (patch)
treecb72a55262cecd5d0560f3a9b52190078ba5e1d7 /BKUOnline/src/main/webapp/slRequestForm.html
parent942b845ba651d2acf269fabdbcc1eedf25f27dd7 (diff)
downloadmocca-26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5.tar.gz
mocca-26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5.tar.bz2
mocca-26fd7c97a6cc333d00800c4c98a4f58a3dc7c2c5.zip
activation support, GetStatusRequest in stal schema
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@299 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUOnline/src/main/webapp/slRequestForm.html')
-rw-r--r--BKUOnline/src/main/webapp/slRequestForm.html183
1 files changed, 110 insertions, 73 deletions
diff --git a/BKUOnline/src/main/webapp/slRequestForm.html b/BKUOnline/src/main/webapp/slRequestForm.html
index ff96a6fa..76cd1be9 100644
--- a/BKUOnline/src/main/webapp/slRequestForm.html
+++ b/BKUOnline/src/main/webapp/slRequestForm.html
@@ -16,53 +16,67 @@
-->
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
-<head>
-<title>Security-Layer v1.2 Request Formular</title>
-<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
-</head>
-<body>
-<h1>Security-Layer v1.2 Request Formular</h1>
-<style type="text/css">
-fieldset {
- padding: 1em;
- font: 80%/ 1 sans-serif;
- background-color: #F2EFE9;
- padding-left: 5em;
-}
+ <head>
+ <title>Security-Layer v1.2 Request Formular</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+ <script language="JavaScript">
+ <!--
+ function setAppletDimension(width, height)
+ {
+ document.forms.slform.appletWidth.value=width;
+ document.forms.slform.appletHeight.value=height;
+ }
+ function setNOPRequest() {
+ document.forms.slform.XMLRequest.value='<?xml version="1.0" encoding="UTF-8"?><NullOperationRequest xmlns="http://www.buergerkarte.at/namespaces/securitylayer/1.2#"/>';
+ }
+
+ //-->
+ </script>
-fieldset.submit {
- float: none;
- width: auto;
- border: 0 none #FFF;
- padding-left: 14em;
- border-style: none;
- background-color: transparent;
-}
+ </head>
+ <body>
+ <h1>Security-Layer v1.2 Request Formular</h1>
+ <style type="text/css">
+ fieldset {
+ padding: 1em;
+ font: 80%/ 1 sans-serif;
+ background-color: #F2EFE9;
+ padding-left: 5em;
+ }
-label {
- float: left;
- width: 8em;
- margin-right: 0.5em;
- padding-top: 0.2em;
- text-align: right;
- font-weight: bold;
- color: #000;
- padding-top: 0.2em;
-}
+ fieldset.submit {
+ float: none;
+ width: auto;
+ border: 0 none #FFF;
+ padding-left: 14em;
+ border-style: none;
+ background-color: transparent;
+ }
-legend {
- border: 1px solid;
- padding: 2px 6px
-}
-</style>
+ label {
+ float: left;
+ width: 8em;
+ margin-right: 0.5em;
+ padding-top: 0.2em;
+ text-align: right;
+ font-weight: bold;
+ color: #000;
+ padding-top: 0.2em;
+ }
-<p>
-<form action="./http-security-layer-request" method="Post"
- enctype="application/x-www-form-urlencoded">
- <!--input name="locale" value="es_MX" type="hidden" /-->
-<fieldset><legend>Enter XML Request</legend>
-<p><label for="XMLRequest">XML Request</label> <textarea
- name="XMLRequest" rows=15 cols="60" id="XMLRequest">
+ legend {
+ border: 1px solid;
+ padding: 2px 6px
+ }
+ </style>
+
+ <p>
+ <form action="./http-security-layer-request" method="Post"
+ enctype="application/x-www-form-urlencoded" name="slform">
+ <!--input name="locale" value="es_MX" type="hidden" /-->
+ <fieldset><legend>Enter XML Request</legend>
+ <p><label for="XMLRequest">XML Request</label> <textarea
+ name="XMLRequest" rows=15 cols="60" id="XMLRequest">
<?xml version="1.0" encoding="UTF-8"?>
<sl:CreateXMLSignatureRequest
xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#">
@@ -78,40 +92,63 @@ legend {
</sl:TransformsInfo>
</sl:DataObjectInfo>
</sl:CreateXMLSignatureRequest>
-</textarea></p>
-<!--
+ </textarea></p>
+ <!--
<?xml version="1.0" encoding="UTF-8" ?>
<sl:InfoboxReadRequest
- xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#">
-<sl:InfoboxIdentifier>IdentityLink</sl:InfoboxIdentifier>
-<sl:BinaryFileParameters ContentIsXMLEntity="true" />
+ xmlns:sl="http://www.buergerkarte.at/namespaces/securitylayer/1.2#">
+ <sl:InfoboxIdentifier>IdentityLink</sl:InfoboxIdentifier>
+ <sl:BinaryFileParameters ContentIsXMLEntity="true" />
</sl:InfoboxReadRequest>
-->
-<p><label for="appletWidth">Applet Width</label> <input
- name="appletWidth" value="190" id="appletWidth">
-<p><label for="appletHeight">Applet Height</label> <input
- name="appletHeight" value="130" id="appletHeight">
-<p><label for="appletBackground">Applet Background</label> <input
- name="appletBackground" value="" id="appletBackground">
-<p>
- <label for="appletGuiStyle">GUI Style</label>
- <input type="radio" name="appletGuiStyle" value="tiny">tiny
- <input type="radio" name="appletGuiStyle" value="simple" checked="checked">simple
- <input type="radio" name="appletGuiStyle" value="advanced">advanced
- <input type="radio" name="appletGuiStyle" value="activation">activation
-</p>
+<!--
+<?xml version='1.0' encoding='UTF-8'?>
+<sl10:InfoboxUpdateRequest xmlns:sl10='http://www.buergerkarte.at/namespaces/securitylayer/1.2#'>
+ <sl10:InfoboxIdentifier>CardChannel</sl10:InfoboxIdentifier>
+ <sl10:BinaryFileParameters>
+ <sl10:XMLContent>
+ <Script>
+ <Reset cold='true' />
+ <CommandAPDU sequence='1' of='2' expectedSW='9000'>00A4000C023F00</CommandAPDU>
+ <CommandAPDU sequence='2' of='2' expectedSW='9000'>00B0820000</CommandAPDU>
+ </Script>
+ </sl10:XMLContent>
+ </sl10:BinaryFileParameters>
+</sl10:InfoboxUpdateRequest>
+-->
+
+ <p>
+ <label for="appletGuiStyle">GUI Style</label>
+ <input type="radio" name="appletGuiStyle" value="tiny" onclick="setAppletDimension(152, 145)">tiny
+ <input type="radio" name="appletGuiStyle" value="simple" checked="checked" onclick="setAppletDimension(190,130)">simple
+ <input type="radio" name="appletGuiStyle" value="advanced" onclick="setAppletDimension(300, 180)">advanced
+ </p>
+ <p><label for="appletWidth">Applet Width</label> <input
+ name="appletWidth" value="190" id="appletWidth">
+ <p><label for="appletHeight">Applet Height</label> <input
+ name="appletHeight" value="130" id="appletHeight">
+ <p><label for="appletBackground">Applet Background</label> <input
+ name="appletBackground" value="" id="appletBackground">
-<!--
-<p><label for="RedirectURL">RedirectURL</label> <input
- name="RedirectURL" value="" id="RedirectURL"></p>
-<p><label for="DataURL">DataURL</label> <input name="DataURL"
- value="" id="DataURL"></p>
-<p><label for="StyleSheetURL">StyleSheetURL</label> <input
- name="StyleSheetURL" value="" id="StyleSheetURL"></p>
-<p>
- --></fieldset>
-<fieldset class="submit"><input type="submit" class="submit"></fieldset>
-</form>
-</body>
+ <p>
+ <label for="appletExtension">Extension</label>
+ <input type="radio" name="appletExtension" value="activation" onclick="setInfoboxUpdateRequest()">Activation
+ <input type="radio" name="appletExtension" value="pin" onclick="setAppletDimension(400, 200)">PIN Management
+ </p>
+
+<!--
+ <p><label for="RedirectURL">RedirectURL</label> <input
+ name="RedirectURL" value="" id="RedirectURL"></p>
+ <p><label for="DataURL">DataURL</label> <input name="DataURL"
+ value="" id="DataURL"></p>
+ <p><label for="StyleSheetURL">StyleSheetURL</label> <input
+ name="StyleSheetURL" value="" id="StyleSheetURL"></p>
+ <p>
+-->
+ </fieldset>
+ <fieldset class="submit"><input type="submit" class="submit"></fieldset>
+ </form>
+
+ </body>
</html>