| Modifier and Type | Method and Description |
|---|---|
ECryptoAlgorithmSign |
AS2ClientSettings.getSignAlgo() |
ECryptoAlgorithmSign |
AS2ClientSettings.getSignAlgo() |
| Modifier and Type | Method and Description |
|---|---|
AS2ClientSettings |
AS2ClientSettings.setEncryptAndSign(ECryptoAlgorithmCrypt eCryptAlgo,
ECryptoAlgorithmSign eSignAlgo)
Set the encryption and signing algorithms to use.
|
AS2ClientSettings |
AS2ClientSettings.setEncryptAndSign(ECryptoAlgorithmCrypt eCryptAlgo,
ECryptoAlgorithmSign eSignAlgo)
Set the encryption and signing algorithms to use.
|
| Modifier and Type | Field and Description |
|---|---|
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.DEFAULT_RFC_3851 |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.DEFAULT_RFC_3851 |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.DEFAULT_RFC_5751 |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.DEFAULT_RFC_5751 |
| Modifier and Type | Method and Description |
|---|---|
ECryptoAlgorithmSign |
MIC.getDigestAlgorithm() |
ECryptoAlgorithmSign |
MIC.getDigestAlgorithm() |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.getFromIDOrDefault(String sID,
ECryptoAlgorithmSign eDefault) |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.getFromIDOrDefault(String sID,
ECryptoAlgorithmSign eDefault) |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.getFromIDOrNull(String sID) |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.getFromIDOrNull(String sID) |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.getFromIDOrThrow(String sID) |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.getFromIDOrThrow(String sID) |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECryptoAlgorithmSign[] |
ECryptoAlgorithmSign.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static ECryptoAlgorithmSign[] |
ECryptoAlgorithmSign.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
MIC |
BCCryptoHelper.calculateMIC(javax.mail.internet.MimeBodyPart aPart,
ECryptoAlgorithmSign eDigestAlgorithm,
boolean bIncludeHeaders) |
MIC |
ICryptoHelper.calculateMIC(javax.mail.internet.MimeBodyPart aPart,
ECryptoAlgorithmSign eDigestAlgorithm,
boolean bIncludeHeaders)
Calculate the MIC
|
MIC |
ICryptoHelper.calculateMIC(javax.mail.internet.MimeBodyPart aPart,
ECryptoAlgorithmSign eDigestAlgorithm,
boolean bIncludeHeaders)
Calculate the MIC
|
MIC |
BCCryptoHelper.calculateMIC(javax.mail.internet.MimeBodyPart aPart,
ECryptoAlgorithmSign eDigestAlgorithm,
boolean bIncludeHeaders) |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.getFromIDOrDefault(String sID,
ECryptoAlgorithmSign eDefault) |
static ECryptoAlgorithmSign |
ECryptoAlgorithmSign.getFromIDOrDefault(String sID,
ECryptoAlgorithmSign eDefault) |
javax.mail.internet.MimeBodyPart |
BCCryptoHelper.sign(javax.mail.internet.MimeBodyPart aPart,
X509Certificate aX509Cert,
PrivateKey aPrivateKey,
ECryptoAlgorithmSign eAlgorithm,
boolean bIncludeCertificateInSignedContent,
boolean bUseOldRFC3851MicAlgs,
boolean bRemoveCmsAlgorithmProtect,
com.helger.mail.cte.EContentTransferEncoding eCTE) |
javax.mail.internet.MimeBodyPart |
ICryptoHelper.sign(javax.mail.internet.MimeBodyPart aPart,
X509Certificate aCert,
PrivateKey aKey,
ECryptoAlgorithmSign eAlgorithm,
boolean bIncludeCertificateInSignedContent,
boolean bUseOldRFC3851MicAlgs,
boolean bRemoveCmsAlgorithmProtect,
com.helger.mail.cte.EContentTransferEncoding eCTE)
Sign a MIME body part.
|
javax.mail.internet.MimeBodyPart |
ICryptoHelper.sign(javax.mail.internet.MimeBodyPart aPart,
X509Certificate aCert,
PrivateKey aKey,
ECryptoAlgorithmSign eAlgorithm,
boolean bIncludeCertificateInSignedContent,
boolean bUseOldRFC3851MicAlgs,
boolean bRemoveCmsAlgorithmProtect,
com.helger.mail.cte.EContentTransferEncoding eCTE)
Sign a MIME body part.
|
javax.mail.internet.MimeBodyPart |
BCCryptoHelper.sign(javax.mail.internet.MimeBodyPart aPart,
X509Certificate aX509Cert,
PrivateKey aPrivateKey,
ECryptoAlgorithmSign eAlgorithm,
boolean bIncludeCertificateInSignedContent,
boolean bUseOldRFC3851MicAlgs,
boolean bRemoveCmsAlgorithmProtect,
com.helger.mail.cte.EContentTransferEncoding eCTE) |
| Constructor and Description |
|---|
MIC(byte[] aMICBytes,
ECryptoAlgorithmSign eDigestAlgorithm) |
MIC(byte[] aMICBytes,
ECryptoAlgorithmSign eDigestAlgorithm) |
| Modifier and Type | Method and Description |
|---|---|
ECryptoAlgorithmSign |
DispositionOptions.getFirstMICAlg() |
ECryptoAlgorithmSign |
DispositionOptions.getFirstMICAlg() |
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.collection.impl.ICommonsList<ECryptoAlgorithmSign> |
DispositionOptions.getAllMICAlgs() |
com.helger.commons.collection.impl.ICommonsList<ECryptoAlgorithmSign> |
DispositionOptions.getAllMICAlgs() |
| Modifier and Type | Method and Description |
|---|---|
DispositionOptions |
DispositionOptions.setMICAlg(ECryptoAlgorithmSign... aMICAlgs)
Set the MIC algorithm to use.
|
DispositionOptions |
DispositionOptions.setMICAlg(ECryptoAlgorithmSign... aMICAlgs)
Set the MIC algorithm to use.
|
| Modifier and Type | Method and Description |
|---|---|
DispositionOptions |
DispositionOptions.setMICAlg(Iterable<? extends ECryptoAlgorithmSign> aMICAlgs)
Set the MIC algorithm to use.
|
DispositionOptions |
DispositionOptions.setMICAlg(Iterable<? extends ECryptoAlgorithmSign> aMICAlgs)
Set the MIC algorithm to use.
|
| Modifier and Type | Method and Description |
|---|---|
com.helger.commons.state.EChange |
Partnership.setSigningAlgorithm(ECryptoAlgorithmSign eValue) |
com.helger.commons.state.EChange |
Partnership.setSigningAlgorithm(ECryptoAlgorithmSign eValue) |
| Modifier and Type | Method and Description |
|---|---|
static javax.mail.internet.MimeBodyPart |
AS2SenderModule.secureMimeBodyPart(javax.mail.internet.MimeBodyPart aSrcPart,
com.helger.mail.cte.EContentTransferEncoding eCTE,
ECompressionType eCompressionType,
boolean bCompressBeforeSign,
Consumer<javax.mail.internet.MimeBodyPart> aCompressBeforeSignCallback,
ECryptoAlgorithmSign eSignAlgorithm,
X509Certificate aSenderCert,
PrivateKey aSenderKey,
boolean bIncludeCertificateInSignedContent,
boolean bUseRFC3851MICAlg,
boolean bRemoveCmsAlgorithmProtect,
ECryptoAlgorithmCrypt eCryptAlgorithm,
X509Certificate aReceiverCert,
String sLoggingText) |
static javax.mail.internet.MimeBodyPart |
AS2SenderModule.secureMimeBodyPart(javax.mail.internet.MimeBodyPart aSrcPart,
com.helger.mail.cte.EContentTransferEncoding eCTE,
ECompressionType eCompressionType,
boolean bCompressBeforeSign,
Consumer<javax.mail.internet.MimeBodyPart> aCompressBeforeSignCallback,
ECryptoAlgorithmSign eSignAlgorithm,
X509Certificate aSenderCert,
PrivateKey aSenderKey,
boolean bIncludeCertificateInSignedContent,
boolean bUseRFC3851MICAlg,
boolean bRemoveCmsAlgorithmProtect,
ECryptoAlgorithmCrypt eCryptAlgorithm,
X509Certificate aReceiverCert,
String sLoggingText) |
| Modifier and Type | Method and Description |
|---|---|
static void |
AS2Helper.createMDNData(IAS2Session aSession,
IMessageMDN aMdn,
boolean bSignMDN,
boolean bIncludeCertificateInSignedContent,
ECryptoAlgorithmSign eMICAlg,
boolean bUseOldRFC3851MicAlgs,
boolean bRemoveCmsAlgorithmProtect)
Create and fill the MDN parameter
|
static void |
AS2Helper.createMDNData(IAS2Session aSession,
IMessageMDN aMdn,
boolean bSignMDN,
boolean bIncludeCertificateInSignedContent,
ECryptoAlgorithmSign eMICAlg,
boolean bUseOldRFC3851MicAlgs,
boolean bRemoveCmsAlgorithmProtect)
Create and fill the MDN parameter
|
Copyright © 2013–2022 Philip Helger. All rights reserved.