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 String[]
DSA_SIGNING_ALGORITHMS
Signing algorithms for DSA keys in order of preferencestatic String[]
EC_SIGNING_ALGORITHMS
Signing algorithms for EC keys in order of preferencestatic String[]
RSA_SIGNING_ALGORITHMS
Signing algorithms for RSA keys in order of preferencestatic 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
-
-
Constructor Summary
Constructors Constructor Description AS2SignedDataGenerator()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.http.entity.ContentType
createMultipartSignedContentType(String boundary)
Creates amultipart/signed
content type containing the algorithms used by this generator.static String[]
getSupportedSignatureAlgorithmNamesForKey(Key key)
-
Methods inherited from class org.bouncycastle.cms.CMSSignedDataGenerator
generate, generate, generateCounterSigners
-
-
-
-
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
-
-
Method Detail
-
createMultipartSignedContentType
public org.apache.http.entity.ContentType createMultipartSignedContentType(String boundary)
Creates amultipart/signed
content type containing the algorithms used by this generator.- Parameters:
boundary
- - boundary to use to demarcate content.- Returns:
- A
multipart/signed
content type
-
-