Class AS2SignedDataGenerator

java.lang.Object
org.bouncycastle.cms.CMSSignedGenerator
org.bouncycastle.cms.CMSSignedDataGenerator
org.apache.camel.component.as2.api.AS2SignedDataGenerator

public class AS2SignedDataGenerator extends org.bouncycastle.cms.CMSSignedDataGenerator
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String[]
    Signing algorithms for DSA keys in order of preference
    static final String[]
    Signing algorithms for EC keys in order of preference
    static final String[]
    Signing algorithms for RSA keys in order of preference
    static final Map<org.bouncycastle.asn1.ASN1ObjectIdentifier,String>
     

    Fields inherited from class org.bouncycastle.cms.CMSSignedGenerator

    _signers, certs, crls, DATA, DIGEST_GOST3411, DIGEST_MD5, DIGEST_RIPEMD128, DIGEST_RIPEMD160, DIGEST_RIPEMD256, DIGEST_SHA1, DIGEST_SHA224, DIGEST_SHA256, DIGEST_SHA384, DIGEST_SHA512, digestAlgIdFinder, digests, ENCRYPTION_DSA, ENCRYPTION_ECDSA, ENCRYPTION_ECGOST3410, ENCRYPTION_ECGOST3410_2012_256, ENCRYPTION_ECGOST3410_2012_512, ENCRYPTION_GOST3410, ENCRYPTION_RSA, ENCRYPTION_RSA_PSS, signerGens
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.hc.core5.http.ContentType
    Creates a multipart/signed content type containing the algorithms used by this generator.
    static String[]
     

    Methods inherited from class org.bouncycastle.cms.CMSSignedDataGenerator

    generate, generate, generateCounterSigners, setDefiniteLengthEncoding

    Methods inherited from class org.bouncycastle.cms.CMSSignedGenerator

    addAttributeCertificate, addAttributeCertificates, addCertificate, addCertificates, addCRL, addCRLs, addOtherRevocationInfo, addOtherRevocationInfo, addSignerInfoGenerator, addSigners, getBaseParameters, getGeneratedDigests

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • STANDARD_MICALGS

      public static final Map<org.bouncycastle.asn1.ASN1ObjectIdentifier,String> STANDARD_MICALGS
    • DSA_SIGNING_ALGORITHMS

      public static final String[] DSA_SIGNING_ALGORITHMS
      Signing algorithms for DSA keys in order of preference
    • RSA_SIGNING_ALGORITHMS

      public static final String[] RSA_SIGNING_ALGORITHMS
      Signing algorithms for RSA keys in order of preference
    • EC_SIGNING_ALGORITHMS

      public static final String[] EC_SIGNING_ALGORITHMS
      Signing algorithms for EC keys in order of preference
  • Constructor Details

    • AS2SignedDataGenerator

      public AS2SignedDataGenerator()
  • Method Details

    • createMultipartSignedContentType

      public org.apache.hc.core5.http.ContentType createMultipartSignedContentType(String boundary)
      Creates a multipart/signed content type containing the algorithms used by this generator.
      Parameters:
      boundary - - boundary to use to demarcate content.
      Returns:
      A multipart/signed content type
    • getSupportedSignatureAlgorithmNamesForKey

      public static String[] getSupportedSignatureAlgorithmNamesForKey(Key key)