***UNCHECKED*** [jira] [Commented] (CAMEL-12605) Enhance the AS2 Component to send and receive encrypted AS2 messages

2018-09-19 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16620225#comment-16620225
 ] 

ASF GitHub Bot commented on CAMEL-12605:


oscerd commented on issue #2524: [CAMEL-12605] Refactored encryption algorithms 
and added tests for al…
URL: https://github.com/apache/camel/pull/2524#issuecomment-422686937
 
 
   Merged. Thanks @punkhorn 


This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


> Enhance the AS2 Component to send and receive encrypted AS2 messages
> 
>
> Key: CAMEL-12605
> URL: https://issues.apache.org/jira/browse/CAMEL-12605
> Project: Camel
>  Issue Type: Improvement
>Affects Versions: 2.23.0
>Reporter: William Collins
>Assignee: William Collins
>Priority: Major
>
> Enhance the AS2 Component to support encrypted AS2 messages per RFC4130



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


***UNCHECKED*** [jira] [Commented] (CAMEL-12605) Enhance the AS2 Component to send and receive encrypted AS2 messages

2018-09-19 Thread ASF GitHub Bot (JIRA)


[ 
https://issues.apache.org/jira/browse/CAMEL-12605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16620226#comment-16620226
 ] 

ASF GitHub Bot commented on CAMEL-12605:


oscerd closed pull request #2524: [CAMEL-12605] Refactored encryption 
algorithms and added tests for al…
URL: https://github.com/apache/camel/pull/2524
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/AS2Algorithm.java
 
b/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/AS2Algorithm.java
deleted file mode 100644
index 8e71f478ff2..000
--- 
a/components/camel-as2/camel-as2-api/src/main/java/org/apache/camel/component/as2/api/AS2Algorithm.java
+++ /dev/null
@@ -1,346 +0,0 @@
-/**
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements.  See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You under the Apache License, Version 2.0
- * (the "License"); you may not use this file except in compliance with
- * the License.  You may obtain a copy of the License at
- *
- *  http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-package org.apache.camel.component.as2.api;
-
-import org.bouncycastle.asn1.ASN1ObjectIdentifier;
-import org.bouncycastle.cms.CMSAlgorithm;
-
-interface AS2AlgorithmConstants {
-static final String DES_CBC = "DES_CBC";
-static final String DES_EDE3_CBC = "DES_EDE3_CBC";
-static final String RC2_CBC = "RC2_CBC";
-static final String IDEA_CBC = "IDEA_CBC";
-static final String CAST5_CBC = "CAST5_CBC";
-static final String AES128_CBC = "AES128_CBC";
-static final String AES192_CBC = "AES192_CBC";
-static final String AES256_CBC = "AES256_CBC";
-static final String AES128_CCM = "AES128_CCM";
-static final String AES192_CCM = "AES192_CCM";
-static final String AES256_CCM = "AES256_CCM";
-static final String AES128_GCM = "AES128_GCM";
-static final String AES192_GCM = "AES192_GCM";
-static final String AES256_GCM = "AES256_GCM";
-static final String CAMELLIA128_CBC = "CAMELLIA128_CBC";
-static final String CAMELLIA192_CBC = "CAMELLIA192_CBC";
-static final String CAMELLIA256_CBC = "CAMELLIA256_CBC";
-static final String GOST28147_GCFB = "GOST28147_GCFB";
-static final String SEED_CBC = "SEED_CBC";
-static final String DES_EDE3_WRAP = "DES_EDE3_WRAP";
-static final String AES128_WRAP = "AES128_WRAP";
-static final String AES192_WRAP = "AES192_WRAP";
-static final String AES256_WRAP = "AES256_WRAP";
-static final String CAMELLIA128_WRAP = "CAMELLIA128_WRAP";
-static final String CAMELLIA192_WRAP = "CAMELLIA192_WRAP";
-static final String CAMELLIA256_WRAP = "CAMELLIA256_WRAP";
-static final String SEED_WRAP = "SEED_WRAP";
-static final String GOST28147_WRAP = "GOST28147_WRAP";
-static final String GOST28147_CRYPTOPRO_WRAP = "GOST28147_CRYPTOPRO_WRAP";
-static final String ECDH_SHA1KDF = "ECDH_SHA1KDF";
-static final String ECCDH_SHA1KDF = "ECCDH_SHA1KDF";
-static final String ECMQV_SHA1KDF = "ECMQV_SHA1KDF";
-static final String ECDH_SHA224KDF = "ECDH_SHA224KDF";
-static final String ECCDH_SHA224KDF = "ECCDH_SHA224KDF";
-static final String ECMQV_SHA224KDF = "ECMQV_SHA224KDF";
-static final String ECDH_SHA256KDF = "ECDH_SHA256KDF";
-static final String ECCDH_SHA256KDF = "ECCDH_SHA256KDF";
-static final String ECMQV_SHA256KDF = "ECMQV_SHA256KDF";
-static final String ECDH_SHA384KDF = "ECDH_SHA384KDF";
-static final String ECCDH_SHA384KDF = "ECCDH_SHA384KDF";
-static final String ECMQV_SHA384KDF = "ECMQV_SHA384KDF";
-static final String ECDH_SHA512KDF = "ECDH_SHA512KDF";
-static final String ECCDH_SHA512KDF = "ECCDH_SHA512KDF";
-static final String ECMQV_SHA512KDF = "ECMQV_SHA512KDF";
-static final String ECDHGOST3410_2001 = "ECDHGOST3410_2001";
-static final String ECDHGOST3410_2012_256 = "ECDHGOST3410_2012_256";
-static final String ECDHGOST3410_2012_512 = "ECDHGOST3410_2012_512";
-static final String SHA1 = "SHA1";
-static final String SHA224 = "SHA224";
-static final String SHA256 = "SHA256";
-static final String SHA384 = "SHA384";
-