Class AS2SignedDataGenerator


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

      Fields 
      Modifier and Type Field Description
      static String[] DSA_SIGNING_ALGORITHMS
      Signing algorithms for DSA keys in order of preference
      static String[] EC_SIGNING_ALGORITHMS
      Signing algorithms for EC keys in order of preference
      static String[] RSA_SIGNING_ALGORITHMS
      Signing algorithms for RSA keys in order of preference
      static Map<org.bouncycastle.asn1.ASN1ObjectIdentifier,​String> STANDARD_MICALGS  
      • 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, digests, ENCRYPTION_DSA, ENCRYPTION_ECDSA, ENCRYPTION_ECGOST3410, ENCRYPTION_ECGOST3410_2012_256, ENCRYPTION_ECGOST3410_2012_512, ENCRYPTION_GOST3410, ENCRYPTION_RSA, ENCRYPTION_RSA_PSS, signerGens
    • Field Detail

      • 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 Detail

      • AS2SignedDataGenerator

        public AS2SignedDataGenerator()
    • Method Detail

      • createMultipartSignedContentType

        public org.apache.http.entity.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)