You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by bu...@apache.org on 2013/12/06 08:23:52 UTC
svn commit: r889323 - in /websites/production/camel/content:
book-dataformat-appendix.html book-in-one-page.html cache/main.pageCache
crypto.html
Author: buildbot
Date: Fri Dec 6 07:23:51 2013
New Revision: 889323
Log:
Production update by buildbot for camel
Modified:
websites/production/camel/content/book-dataformat-appendix.html
websites/production/camel/content/book-in-one-page.html
websites/production/camel/content/cache/main.pageCache
websites/production/camel/content/crypto.html
Modified: websites/production/camel/content/book-dataformat-appendix.html
==============================================================================
--- websites/production/camel/content/book-dataformat-appendix.html (original)
+++ websites/production/camel/content/book-dataformat-appendix.html Fri Dec 6 07:23:51 2013
@@ -3901,8 +3901,8 @@ from("direct:inline-sign")
<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
Map<String, String> userId2Passphrase = new HashMap<String, String>(2);
// add passphrases of several private keys whose corresponding public keys have been used to encrypt the messages
-userId2Passphrase.put("key1","passphrase1");
-userId2Passphrase.put("key2","passphrase2");
+userId2Passphrase.put("UserIdOfKey1","passphrase1"); // you must specify the exact User ID!
+userId2Passphrase.put("UserIdOfKey2","passphrase2");
PGPPassphraseAccessor passphraseAccessor = new PGPPassphraseAccessorDefault(userId2Passphrase);
PGPDataFormat pgpVerifyAndDecrypt = new PGPDataFormat();
@@ -3911,7 +3911,7 @@ pgpVerifyAndDecrypt.setPassphraseAccesso
pgpVerifyAndDecrypt.setEncryptionKeyRing(getSecKeyRing()); // alternatively you can use setKeyFileName(keyfileName)
// the method getPublicKeyRing() provides the public keyring as byte array containing the public keys
pgpVerifyAndDecrypt.setSignatureKeyRing((getPublicKeyRing()); // alternatively you can use setSignatureKeyFileName(signatgureKeyfileName)
-// it is not necessary to specify the User Id
+// it is not necessary to specify the encryption or signer User Id
from("direct:start")
...
Modified: websites/production/camel/content/book-in-one-page.html
==============================================================================
--- websites/production/camel/content/book-in-one-page.html (original)
+++ websites/production/camel/content/book-in-one-page.html Fri Dec 6 07:23:51 2013
@@ -15092,8 +15092,8 @@ from("direct:inline-sign")
<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
Map<String, String> userId2Passphrase = new HashMap<String, String>(2);
// add passphrases of several private keys whose corresponding public keys have been used to encrypt the messages
-userId2Passphrase.put("key1","passphrase1");
-userId2Passphrase.put("key2","passphrase2");
+userId2Passphrase.put("UserIdOfKey1","passphrase1"); // you must specify the exact User ID!
+userId2Passphrase.put("UserIdOfKey2","passphrase2");
PGPPassphraseAccessor passphraseAccessor = new PGPPassphraseAccessorDefault(userId2Passphrase);
PGPDataFormat pgpVerifyAndDecrypt = new PGPDataFormat();
@@ -15102,7 +15102,7 @@ pgpVerifyAndDecrypt.setPassphraseAccesso
pgpVerifyAndDecrypt.setEncryptionKeyRing(getSecKeyRing()); // alternatively you can use setKeyFileName(keyfileName)
// the method getPublicKeyRing() provides the public keyring as byte array containing the public keys
pgpVerifyAndDecrypt.setSignatureKeyRing((getPublicKeyRing()); // alternatively you can use setSignatureKeyFileName(signatgureKeyfileName)
-// it is not necessary to specify the User Id
+// it is not necessary to specify the encryption or signer User Id
from("direct:start")
...
Modified: websites/production/camel/content/cache/main.pageCache
==============================================================================
Binary files - no diff available.
Modified: websites/production/camel/content/crypto.html
==============================================================================
--- websites/production/camel/content/crypto.html (original)
+++ websites/production/camel/content/crypto.html Fri Dec 6 07:23:51 2013
@@ -432,8 +432,8 @@ from("direct:inline-sign")
<script class="theme: Default; brush: java; gutter: false" type="syntaxhighlighter"><![CDATA[
Map<String, String> userId2Passphrase = new HashMap<String, String>(2);
// add passphrases of several private keys whose corresponding public keys have been used to encrypt the messages
-userId2Passphrase.put("key1","passphrase1");
-userId2Passphrase.put("key2","passphrase2");
+userId2Passphrase.put("UserIdOfKey1","passphrase1"); // you must specify the exact User ID!
+userId2Passphrase.put("UserIdOfKey2","passphrase2");
PGPPassphraseAccessor passphraseAccessor = new PGPPassphraseAccessorDefault(userId2Passphrase);
PGPDataFormat pgpVerifyAndDecrypt = new PGPDataFormat();
@@ -442,7 +442,7 @@ pgpVerifyAndDecrypt.setPassphraseAccesso
pgpVerifyAndDecrypt.setEncryptionKeyRing(getSecKeyRing()); // alternatively you can use setKeyFileName(keyfileName)
// the method getPublicKeyRing() provides the public keyring as byte array containing the public keys
pgpVerifyAndDecrypt.setSignatureKeyRing((getPublicKeyRing()); // alternatively you can use setSignatureKeyFileName(signatgureKeyfileName)
-// it is not necessary to specify the User Id
+// it is not necessary to specify the encryption or signer User Id
from("direct:start")
...