Class EncryptingUtils

java.lang.Object
org.apache.camel.component.as2.api.util.EncryptingUtils

public final class EncryptingUtils extends Object
  • Method Details

    • createEnvelopDataGenerator

      public static org.bouncycastle.cms.CMSEnvelopedDataGenerator createEnvelopDataGenerator(Certificate[] encryptionCertificateChain) throws org.apache.hc.core5.http.HttpException
      Throws:
      org.apache.hc.core5.http.HttpException
    • createEncryptor

      public static org.bouncycastle.operator.OutputEncryptor createEncryptor(AS2EncryptionAlgorithm encryptionAlgorithm) throws org.apache.hc.core5.http.HttpException
      Throws:
      org.apache.hc.core5.http.HttpException