[rs-commit] r3 - in /rst-interop/trunk: ./ src/ src/site/ src/site/resources/ src/site/resources/crypto.signText/ src/site/resources/images/ src/site/xhtml5/ src/site/xhtml5/crypto.signText/
rs-commit at redwax.eu
rs-commit at redwax.eu
Tue Sep 7 16:01:26 CEST 2021
Author: minfrin at redwax.eu
Date: Tue Sep 7 16:01:25 2021
New Revision: 3
Log:
Initial add of the SignText interop site.
Added:
rst-interop/trunk/pom.xml
rst-interop/trunk/src/
rst-interop/trunk/src/site/
rst-interop/trunk/src/site/resources/
rst-interop/trunk/src/site/resources/crypto.signText/
rst-interop/trunk/src/site/resources/crypto.signText/signtext.js
rst-interop/trunk/src/site/resources/images/
rst-interop/trunk/src/site/resources/images/candles-cyan.jpg (with props)
rst-interop/trunk/src/site/resources/images/candles-green.jpg (with props)
rst-interop/trunk/src/site/resources/images/candles-lightgreen.jpg (with props)
rst-interop/trunk/src/site/resources/images/candles-orange.jpg (with props)
rst-interop/trunk/src/site/resources/images/candles-purple.jpg (with props)
rst-interop/trunk/src/site/resources/images/candles-red.jpg (with props)
rst-interop/trunk/src/site/resources/images/menu-lines.png (with props)
rst-interop/trunk/src/site/site.xml
rst-interop/trunk/src/site/xhtml5/
rst-interop/trunk/src/site/xhtml5/crypto.signText/
rst-interop/trunk/src/site/xhtml5/crypto.signText/index.xhtml5
rst-interop/trunk/src/site/xhtml5/index.xhtml5
Modified:
rst-interop/trunk/ (props changed)
Propchange: rst-interop/trunk/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Tue Sep 7 16:01:25 2021
@@ -0,0 +1 @@
+target
Added: rst-interop/trunk/pom.xml
==============================================================================
--- rst-interop/trunk/pom.xml (added)
+++ rst-interop/trunk/pom.xml Tue Sep 7 16:01:25 2021
@@ -0,0 +1,57 @@
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <groupId>eu.redwax.rs</groupId>
+ <artifactId>rst-interop</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+
+ <name>Redwax SignText Interop</name>
+ <url>http://maven.apache.org/</url>
+ <inceptionYear>2021</inceptionYear>
+
+ <distributionManagement>
+ <site>
+ <id>website</id>
+ <url>scp://webhost.company.com/www/website</url>
+ </site>
+ </distributionManagement>
+
+ <properties>
+ <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ </properties>
+
+ <build>
+ <extensions>
+ <extension>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-webdav-jackrabbit</artifactId>
+ <version>3.2.0</version>
+ </extension>
+ </extensions>
+ <plugins>
+ <plugin>
+ <artifactId>maven-site-plugin</artifactId>
+ <version>3.9.1</version>
+ <configuration>
+ <locales>en,fr</locales>
+<!-- <moduleExcludes><xhtml5>modules.xhtml5</xhtml5></moduleExcludes>-->
+ <saveProcessedContent>true</saveProcessedContent>
+ </configuration>
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.maven.wagon</groupId>
+ <artifactId>wagon-ssh</artifactId>
+ <version>3.3.3</version>
+ </dependency>
+ </dependencies>
+ </plugin>
+ <plugin>
+ <groupId>org.simplify4u.plugins</groupId>
+ <artifactId>sitemapxml-maven-plugin</artifactId>
+ <version>2.0.0</version>
+ </plugin>
+ </plugins>
+ </build>
+</project>
+
Added: rst-interop/trunk/src/site/resources/crypto.signText/signtext.js
==============================================================================
--- rst-interop/trunk/src/site/resources/crypto.signText/signtext.js (added)
+++ rst-interop/trunk/src/site/resources/crypto.signText/signtext.js Tue Sep 7 16:01:25 2021
@@ -0,0 +1,10 @@
+function signRequest(form) {
+ if (crypto.signText) {
+ form['signed'].value = crypto.signText(form['tobesigned'].value, 'ask');
+ return true;
+ }
+ else {
+ alert('An implementation of crypto.signText() is not installed in this browser.');
+ }
+}
+
Added: rst-interop/trunk/src/site/resources/images/candles-cyan.jpg
==============================================================================
Binary file - no diff available.
Propchange: rst-interop/trunk/src/site/resources/images/candles-cyan.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: rst-interop/trunk/src/site/resources/images/candles-green.jpg
==============================================================================
Binary file - no diff available.
Propchange: rst-interop/trunk/src/site/resources/images/candles-green.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: rst-interop/trunk/src/site/resources/images/candles-lightgreen.jpg
==============================================================================
Binary file - no diff available.
Propchange: rst-interop/trunk/src/site/resources/images/candles-lightgreen.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: rst-interop/trunk/src/site/resources/images/candles-orange.jpg
==============================================================================
Binary file - no diff available.
Propchange: rst-interop/trunk/src/site/resources/images/candles-orange.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: rst-interop/trunk/src/site/resources/images/candles-purple.jpg
==============================================================================
Binary file - no diff available.
Propchange: rst-interop/trunk/src/site/resources/images/candles-purple.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: rst-interop/trunk/src/site/resources/images/candles-red.jpg
==============================================================================
Binary file - no diff available.
Propchange: rst-interop/trunk/src/site/resources/images/candles-red.jpg
------------------------------------------------------------------------------
svn:mime-type = image/jpeg
Added: rst-interop/trunk/src/site/resources/images/menu-lines.png
==============================================================================
Binary file - no diff available.
Propchange: rst-interop/trunk/src/site/resources/images/menu-lines.png
------------------------------------------------------------------------------
svn:mime-type = image/png
Added: rst-interop/trunk/src/site/site.xml
==============================================================================
--- rst-interop/trunk/src/site/site.xml (added)
+++ rst-interop/trunk/src/site/site.xml Tue Sep 7 16:01:25 2021
@@ -0,0 +1,66 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<project name="Redwax Server" xmlns="http://maven.apache.org/DECORATION/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/DECORATION/1.0.0 http://maven.apache.org/xsd/decoration-1.0.0.xsd">
+
+ <publishDate position="bottom" />
+ <version position="bottom" />
+
+ <body>
+
+ <breadcrumbs>
+ <item name="Redwax" href="https://redwax.eu/"/>
+ <item name="Redwax SignText" href="https://redwax.eu/rst/"/>
+ <item name="Interop" href="https://interop.redwax.eu/rst/"/>
+ </breadcrumbs>
+
+ <menu name="RST">
+ <item name="About" href="https://redwax.eu/rst/#about"/>
+ <item name="Downloads" href="https://redwax.eu/rst/#downloads"/>
+<!--
+ <item name="Manual" href="https://redwax.eu/rst/#manual"/>
+-->
+ <item name="Getting Involved" href="https://redwax.eu/rst/#getting-involved"/>
+ </menu>
+
+ <menu name="Demo/Interop">
+ <item name="About" href="https://interop.redwax.eu/rs/"/>
+ <item name="Certificate Sign Requests / Microsoft CertEnroll" href="https://interop.redwax.eu/rs/csr/"/>
+ <item name="Simple Certificate Enrollment Protocol" href="https://interop.redwax.eu/rs/scep/"/>
+ <item name="Time Stamp Protocol" href="https://interop.redwax.eu/rs/timestamp/"/>
+ </menu>
+
+ <links>
+ <item name="Home - Redwax Project" href="https://redwax.eu/" />
+ <item name="Jira - Redwax Project" href="https://jira.redwax.eu/"/>
+ <item name="Source - Redwax Project" href="https://source.redwax.eu/"/>
+ <item name="CI - Redwax Project" href="https://ci.redwax.eu/"/>
+ </links>
+
+ </body>
+
+ <skin>
+ <groupId>eu.redwax.maven.skin</groupId>
+ <artifactId>maven-redwax-skin</artifactId>
+ <version>1.0-SNAPSHOT</version>
+ </skin>
+
+ <custom>
+ <redwaxSkin>
+ <bannerStyle>spotlight style2 orient-right content-align-right image-position-left</bannerStyle>
+ <topBarStyle>invert</topBarStyle>
+ <topBarIcon>
+ <name>Redwax</name>
+ <alt>Redwax</alt>
+ <src>/images/menu-lines.png</src>
+ <href>/index.html</href>
+ </topBarIcon>
+
+ <icons>
+ <quora>https://quora.com/redwax</quora>
+ <twitter>https://twitter.com/redwaxproject</twitter>
+ </icons>
+ </redwaxSkin>
+ </custom>
+
+</project>
Added: rst-interop/trunk/src/site/xhtml5/crypto.signText/index.xhtml5
==============================================================================
--- rst-interop/trunk/src/site/xhtml5/crypto.signText/index.xhtml5 (added)
+++ rst-interop/trunk/src/site/xhtml5/crypto.signText/index.xhtml5 Tue Sep 7 16:01:25 2021
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <title>Javascript crypto.signText() Demo/Interop</title>
+ <meta name="description" content="Interoperate with traditional crypto.signText()."/>
+ <link rel="canonical" href="https://interop.redwax.eu/rst/crypto.signText/"/>
+ <script language="javascript" src="signtext.js"></script>
+ </head>
+ <body>
+ <section class="spotlight style2 orient-right content-align-left image-position-left">
+ <div class="content null">
+ <h2>Javascript crypto.signText() Demo/Interop</h2>
+ <p>
+ Use the <a href="https://redwax.eu/rst/">Redwax SignText</a> web extension to
+ allow signing of arbitrary text using a digital certificaste.
+ </p>
+ </div>
+ <div class="image">
+ <img src="../images/candles-cyan.jpg" alt=""/>
+ </div>
+ </section>
+ <div class="none">
+ <section class="wrapper style1 align-center" id="ceertenroll">
+ <div class="inner">
+ <h2>Traditional Javascript crypto.signText()</h2>
+ <p>
+ The following example form shows how to trigger <code>crypto.signText()</code>
+ to sign the given text.
+ </p>
+ <div class="index align-left">
+ <section>
+ <header>
+ <h3>Html Form</h3>
+ </header>
+ <div class="content">
+
+ <p>
+ To request text be signed, submit the form below.
+ </p>
+
+ <form id="createform" method="POST" action="">
+ <input type="hidden" name="signed" id="signed" value="" />
+ <p>
+ <label>Enter text to sign:</label>
+ <textarea name="tobesigned" id="name">I read the terms and conditions.</textarea>
+ </p>
+ <p>
+ <button id="submit" type="button" onclick="javascript:return signRequest(form);">Sign</button>
+ </p>
+
+ </form>
+
+ </div>
+ </section>
+ <section>
+ <header>
+ <h3>
+ Javascript
+ </h3>
+ </header>
+ <div class="content">
+ <p>
+ The javascript used to trigger the <code>crypto.signText()</code>
+ functionality can be downloaded <a href="signtext.js">here</a>, and is included
+ for reference below.
+ </p>
+ <pre>
+<code><![CDATA[function signRequest(form) {
+ if (crypto.signText) {
+ form['signed'].value = crypto.signText(form['tobesigned'].value, 'ask');
+ return true;
+ }
+ else {
+ alert('An implementation of crypto.signText() is not installed in this browser.');
+ }
+}
+]]></code>
+ </pre>
+ </div>
+ </section>
+ </div>
+ </div>
+ </section>
+ </div>
+ <script src="certenroll.js"></script>
+ </body>
+</html>
Added: rst-interop/trunk/src/site/xhtml5/index.xhtml5
==============================================================================
--- rst-interop/trunk/src/site/xhtml5/index.xhtml5 (added)
+++ rst-interop/trunk/src/site/xhtml5/index.xhtml5 Tue Sep 7 16:01:25 2021
@@ -0,0 +1,69 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html>
+<html xmlns="http://www.w3.org/1999/xhtml" lang="en">
+ <head>
+ <title>Redwax SignText Demo/Interop Site</title>
+ <meta name="description" content="Interoperate with Redwax SignText." />
+ <link rel="canonical" href="https://interop.redwax.eu/rst/" />
+ </head>
+ <body>
+
+ <section class="spotlight style1 orient-left content-align-left image-position-left" id="introduction">
+ <div class="content null">
+ <h2>Redwax SignText Demo/Interop Site</h2>
+ <p>
+ View examples of Redwax SignText inmplemented below.
+ </p>
+ </div>
+ <div class="image">
+ <img src="images/candles-red.jpg" alt="" />
+ </div>
+ </section>
+
+ <section class="spotlight style1 orient-right content-align-left image-position-left" id="reference">
+ <div class="content null">
+ <h2>Demo/Interop Examples</h2>
+ <dl class="alt">
+ <dt><a href="crypto.signText/">Traditional crypto.signText() javascript call</a></dt>
+ <dd>
+ <p>
+ Use a working example of the traditional Firefox compatible <code>crypto.signText()</code>
+ call.
+ </p>
+ </dd>
+ </dl>
+ </div>
+ <div class="image">
+ <img src="images/candles-green.jpg" alt="" />
+ </div>
+ </section>
+
+<!--
+ <section class="spotlight style1 orient-left content-align-left image-position-left" id="userguide">
+ <div class="content null">
+ <h2>User's Guide</h2>
+ <ul class="alt">
+ <li><a href="subjects.html">Subjects and Subject Alternative Names</a></li>
+ </ul>
+ </div>
+ <div class="image">
+ <img src="images/candles-purple.jpg" alt="" />
+ </div>
+ </section>
+
+ <section class="spotlight style1 orient-right content-align-left image-position-left" id="userguide">
+ <div class="content null">
+ <h2>Other Topics</h2>
+ <ul class="alt">
+ <li><a href="faq.html">Frequently Asked Questions</a></li>
+ <li><a href="architecture.html">Architecture Principles</a></li>
+ </ul>
+ </div>
+ <div class="image">
+ <img src="images/candles-orange.jpg" alt="" />
+ </div>
+ </section>
+-->
+ </body>
+</html>
+
More information about the rs-commit
mailing list