Uses of Class
com.helger.phase4.crypto.AS4CryptParams
Packages that use AS4CryptParams
Package
Description
-
Uses of AS4CryptParams in com.helger.phase4.client
Methods in com.helger.phase4.client that return AS4CryptParams -
Uses of AS4CryptParams in com.helger.phase4.crypto
Methods in com.helger.phase4.crypto that return AS4CryptParamsModifier and TypeMethodDescriptionstatic @NonNull AS4CryptParamsAS4CryptParams.createDefault()@NonNull AS4CryptParamsAS4CryptParams.getClone()final @NonNull AS4CryptParamsAS4CryptParams.setAlgorithmCrypt(@Nullable ECryptoAlgorithmCrypt eAlgorithmCrypt) A encryption algorithm can be set.final @NonNull AS4CryptParamsfinal @NonNull AS4CryptParamsAS4CryptParams.setCertificate(@Nullable X509Certificate aCert) Set the X509 certificate be used.final @NonNull AS4CryptParamsAS4CryptParams.setDigestAlgorithm(@NonNull @Nonempty String sDigestAlgorithm) Set the digest algorithm to use with the RSA-OAEP key transport algorithm.final @NonNull AS4CryptParamsAS4CryptParams.setEDelivery2KeyAgreementECDHES()Convenience method to set all parameters required for eDelivery AS4 2.0 ECDSA/ECDH-ES key agreement: ECDH-ES key agreement, HKDF key derivation, AES-128 key wrap.final @NonNull AS4CryptParamsAS4CryptParams.setEDelivery2KeyAgreementX25519()Convenience method to set all parameters required for eDelivery AS4 2.0 EdDSA/X25519 key agreement: X25519 key agreement, HKDF key derivation, AES-128 key wrap.final @NonNull AS4CryptParamsAS4CryptParams.setEncryptSymmetricSessionKey(boolean b) Enable or disable the inclusion of the symmetric session key into the transmission or not.final @NonNull AS4CryptParamsAS4CryptParams.setFromPMode(@Nullable PModeLegSecurity aSecurity) This method callssetAlgorithmCrypt(ECryptoAlgorithmCrypt)based on the PMode parameters.final @NonNull AS4CryptParamsAS4CryptParams.setKeyAgreementMethod(@Nullable ECryptoKeyAgreementMethod eKeyAgreementMethod) Set the key agreement method to use.final @NonNull AS4CryptParamsAS4CryptParams.setKeyDerivationMethod(@Nullable ECryptoKeyDerivationMethod eKeyDerivationMethod) Set the key derivation function to use with key agreement (e.g.final @NonNull AS4CryptParamsAS4CryptParams.setKeyEncAlgorithm(@NonNull ECryptoKeyEncryptionAlgorithm eKeyEncAlgorithm) final @NonNull AS4CryptParamsAS4CryptParams.setKeyIdentifierType(@NonNull ECryptoKeyIdentifierType eKeyIdentifierType) Set the key identifier type to use.final @NonNull AS4CryptParamsAS4CryptParams.setKeyWrapAlgorithm(@Nullable ECryptoKeyWrapAlgorithm eKeyWrapAlgorithm) Set the key wrap algorithm to use with key agreement (e.g.final @NonNull AS4CryptParamsAS4CryptParams.setMGFAlgorithm(@NonNull @Nonempty String sMGFAlgorithm) Set the mask generation function (MGF) algorithm to use with the RSA-OAEP key transport algorithm.final @NonNull AS4CryptParamsAS4CryptParams.setSecurityProvider(@Nullable Provider aSecurityProvider) Set the security provider to be used for encryption and decryption.final @NonNull AS4CryptParamsAS4CryptParams.setSecurityProviderDecrypt(@Nullable Provider aSecurityProviderDecrypt) Set the security provider to be used for decryption (not for encryption).
Note: this is currently not used by WSS4Jfinal @NonNull AS4CryptParamsAS4CryptParams.setSecurityProviderEncrypt(@Nullable Provider aSecurityProviderEncrypt) Set the security provider to be used for encryption (not for decryption).
Note: this is currently not used by WSS4Jfinal @NonNull AS4CryptParamsAS4CryptParams.setSessionKeyProvider(@NonNull ICryptoSessionKeyProvider aSessionKeyProvider) Set the session key provider to be used for encryption.final @NonNull AS4CryptParamsAS4CryptParams.setWSSecEncryptCustomizer(@Nullable IWSSecEncryptCustomizer a) Methods in com.helger.phase4.crypto with parameters of type AS4CryptParams -
Uses of AS4CryptParams in com.helger.phase4.incoming.crypto
Methods in com.helger.phase4.incoming.crypto that return AS4CryptParamsModifier and TypeMethodDescription@Nullable AS4CryptParamsAS4IncomingSecurityConfiguration.getCryptParams()@Nullable AS4CryptParamsIAS4IncomingSecurityConfiguration.getCryptParams()default @NonNull AS4CryptParamsIAS4IncomingSecurityConfiguration.getCryptParamsCloneOrNew()Methods in com.helger.phase4.incoming.crypto with parameters of type AS4CryptParamsModifier and TypeMethodDescription@NonNull AS4IncomingSecurityConfigurationAS4IncomingSecurityConfiguration.setCryptParams(@Nullable AS4CryptParams a) -
Uses of AS4CryptParams in com.helger.phase4.messaging.crypto
Methods in com.helger.phase4.messaging.crypto with parameters of type AS4CryptParamsModifier and TypeMethodDescriptionstatic @NonNull DocumentAS4Encryptor.encryptSoapBodyPayload(@NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull ESoapVersion eSoapVersion, @NonNull Document aDoc, boolean bMustUnderstand, @NonNull AS4CryptParams aCryptParams) Encrypt the SOAP "Body" content.static @NonNull AS4MimeMessageAS4Encryptor.encryptToMimeMessage(@NonNull ESoapVersion eSoapVersion, @NonNull Document aDoc, @NonNull @Nonempty com.helger.collection.commons.ICommonsList<WSS4JAttachment> aAttachments, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, boolean bMustUnderstand, @NonNull AS4ResourceHelper aResHelper, @NonNull AS4CryptParams aCryptParams) -
Uses of AS4CryptParams in com.helger.phase4.sender
Fields in com.helger.phase4.sender declared as AS4CryptParamsModifier and TypeFieldDescriptionprotected final AS4CryptParamsAbstractAS4MessageBuilder.m_aCryptParamsMethods in com.helger.phase4.sender that return AS4CryptParamsModifier and TypeMethodDescriptionfinal @NonNull AS4CryptParamsAbstractAS4MessageBuilder.cryptParams()Get the mutable AS4 crypt parameters.Method parameters in com.helger.phase4.sender with type arguments of type AS4CryptParamsModifier and TypeMethodDescriptionfinal @NonNull IMPLTYPEAbstractAS4MessageBuilder.withCryptParams(@NonNull Consumer<? super AS4CryptParams> aConsumer) Modify the AS4 crypt parameters for this message.