Uses of Interface
com.helger.phase4.crypto.IAS4CryptoFactory
Packages that use IAS4CryptoFactory
Package
Description
-
Uses of IAS4CryptoFactory in com.helger.phase4.client
Methods in com.helger.phase4.client that return IAS4CryptoFactoryModifier and TypeMethodDescriptionfinal @Nullable IAS4CryptoFactoryAbstractAS4Client.getCryptoFactoryCrypt()final @Nullable IAS4CryptoFactoryAbstractAS4Client.getCryptoFactorySign()protected @NonNull IAS4CryptoFactoryAbstractAS4Client.internalGetCryptoFactoryCrypt()protected @NonNull IAS4CryptoFactoryAbstractAS4Client.internalGetCryptoFactorySign()Methods in com.helger.phase4.client with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionfinal @NonNull IMPLTYPEAbstractAS4Client.setCryptoFactory(@Nullable IAS4CryptoFactory aCryptoFactory) Set all the crypto properties at once.final @NonNull IMPLTYPEAbstractAS4Client.setCryptoFactoryCrypt(@Nullable IAS4CryptoFactory aCryptoFactoryCrypt) Set the crypto factory to be used for crypting.final @NonNull IMPLTYPEAbstractAS4Client.setCryptoFactorySign(@Nullable IAS4CryptoFactory aCryptoFactorySign) Set the crypto factory to be used for signing. -
Uses of IAS4CryptoFactory in com.helger.phase4.crypto
Subinterfaces of IAS4CryptoFactory in com.helger.phase4.cryptoModifier and TypeInterfaceDescriptioninterfaceAn extendedIAS4CryptoFactorywith the capability to receive a P-Mode that was successfully resolved during reception phase.Classes in com.helger.phase4.crypto that implement IAS4CryptoFactoryModifier and TypeClassDescriptionclassAbstract implementation ofIAS4CryptoFactory.classphase4 crypto factory settings based onIConfig.classThis class contains an implementation ofIAS4CryptoFactoryin which case theKeyStoreis available in memory and the settings are NOT read from a file. -
Uses of IAS4CryptoFactory in com.helger.phase4.dump
Methods in com.helger.phase4.dump with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionstatic voidAS4DumpReader.decryptAS4In(@NonNull @Nonempty String sAS4ProfileID, byte @NonNull [] aAS4InData, @NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @Nullable Consumer<com.helger.http.header.HttpHeaderMap> aHttpHeaderConsumer, @NonNull AS4DumpReader.IDecryptedPayloadConsumer aDecryptedConsumer) Utility method to decrypt dumped .as4in message late.
Note: this method was mainly created for internal use and does not win the prize for the most sexy piece of software in the world ;-) -
Uses of IAS4CryptoFactory in com.helger.phase4.incoming
Methods in com.helger.phase4.incoming that return IAS4CryptoFactoryModifier and TypeMethodDescription@Nullable IAS4CryptoFactoryAS4IncomingMessageState.getCryptoFactoryCrypt()final @Nullable IAS4CryptoFactoryAS4RequestHandler.getCryptoFactoryCrypt()@Nullable IAS4CryptoFactoryIAS4IncomingMessageState.getCryptoFactoryCrypt()@Nullable IAS4CryptoFactoryAS4IncomingMessageState.getCryptoFactorySign()final @Nullable IAS4CryptoFactoryAS4RequestHandler.getCryptoFactorySign()@Nullable IAS4CryptoFactoryIAS4IncomingMessageState.getCryptoFactorySign()Methods in com.helger.phase4.incoming with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionstatic @Nullable Ebms3SignalMessageAS4IncomingHandler.parseSignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aAS4ProfileSelector, @NonNull AS4ResourceHelper aResHelper, @Nullable IPMode aSendingPMode, @NonNull Locale aLocale, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull org.apache.hc.core5.http.HttpResponse aHttpResponse, byte @NonNull [] aMessagePayload, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer) static @Nullable Ebms3UserMessageAS4IncomingHandler.parseUserMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aAS4ProfileSelector, @NonNull AS4ResourceHelper aResHelper, @Nullable IPMode aSendingPMode, @NonNull Locale aLocale, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull org.apache.hc.core5.http.HttpResponse aHttpResponse, byte @NonNull [] aMessagePayload, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4UserMessageConsumer aUserMsgConsumer) static @NonNull com.helger.base.state.ESuccessAS4IncomingHandler.parseUserOrSignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aAS4ProfileSelector, @NonNull AS4ResourceHelper aResHelper, @Nullable IPMode aSendingPMode, @NonNull Locale aLocale, @NonNull IAS4IncomingMessageMetadata aIncomingMessageMetadata, @NonNull org.apache.hc.core5.http.HttpResponse aHttpResponse, byte @NonNull [] aMessagePayload, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4UserMessageConsumer aUserMsgConsumer, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer) final @NonNull AS4RequestHandlerAS4RequestHandler.setCryptoFactory(@NonNull IAS4CryptoFactory aCryptoFactory) Set the same crypto factory for signing and crypting.voidAS4IncomingMessageState.setCryptoFactoryCrypt(@Nullable IAS4CryptoFactory aCryptoFactoryCrypt) final @NonNull AS4RequestHandlerAS4RequestHandler.setCryptoFactoryCrypt(@NonNull IAS4CryptoFactory aCryptoFactoryCrypt) Set the crypto factory crypting.voidAS4IncomingMessageState.setCryptoFactorySign(@Nullable IAS4CryptoFactory aCryptoFactorySign) final @NonNull AS4RequestHandlerAS4RequestHandler.setCryptoFactorySign(@NonNull IAS4CryptoFactory aCryptoFactorySign) Set the crypto factory for signing. -
Uses of IAS4CryptoFactory in com.helger.phase4.incoming.soap
Methods in com.helger.phase4.incoming.soap with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionstatic @NonNull SoapHeaderElementProcessorRegistrySoapHeaderElementProcessorRegistry.createDefault(@NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @Nullable IPMode aFallbackPMode, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration) Constructors in com.helger.phase4.incoming.soap with parameters of type IAS4CryptoFactoryModifierConstructorDescriptionAS4KeyStoreCallbackHandler(@NonNull IAS4CryptoFactory aCryptoFactoryCrypt) SoapHeaderElementProcessorWSS4J(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @Nullable Provider aSecurityProviderSignVerify, @NonNull Supplier<? extends IPMode> aFallbackPModeProvider, @Nullable IAS4DecryptParameterModifier aDecryptParameterModifier, @Nullable AS4SigningParams aSigningParams) -
Uses of IAS4CryptoFactory in com.helger.phase4.messaging.crypto
Methods in com.helger.phase4.messaging.crypto with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionstatic @NonNull DocumentAS4Signer.createSignedMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull Document aPreSigningMessage, @NonNull ESoapVersion eSoapVersion, @NonNull @Nonempty String sMessagingID, @Nullable com.helger.collection.commons.ICommonsList<WSS4JAttachment> aAttachments, @NonNull AS4ResourceHelper aResHelper, boolean bMustUnderstand, @NonNull AS4SigningParams aSigningParams) This method must be used if the message does not contain attachments, that should be in a additional mime message part.static @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 IAS4CryptoFactory in com.helger.phase4.sender
Fields in com.helger.phase4.sender declared as IAS4CryptoFactoryModifier and TypeFieldDescriptionprotected IAS4CryptoFactoryAbstractAS4MessageBuilder.m_aCryptoFactoryCryptprotected IAS4CryptoFactoryAbstractAS4MessageBuilder.m_aCryptoFactorySignMethods in com.helger.phase4.sender that return IAS4CryptoFactoryModifier and TypeMethodDescriptionfinal @Nullable IAS4CryptoFactoryAbstractAS4MessageBuilder.cryptoFactoryCrypt()final @Nullable IAS4CryptoFactoryAbstractAS4MessageBuilder.cryptoFactorySign()Methods in com.helger.phase4.sender with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionfinal @NonNull IMPLTYPEAbstractAS4MessageBuilder.cryptoFactory(@Nullable IAS4CryptoFactory aCryptoFactory) Set the crypto factory to be used for signing and crypting.final @NonNull IMPLTYPEAbstractAS4MessageBuilder.cryptoFactoryCrypt(@Nullable IAS4CryptoFactory aCryptoFactoryCrypt) Set the crypto factory to be used for crypting.final @NonNull IMPLTYPEAbstractAS4MessageBuilder.cryptoFactorySign(@Nullable IAS4CryptoFactory aCryptoFactorySign) Set the crypto factory to be used for signing.static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aIncomingProfileSelector, @NonNull AS4ClientPullRequestMessage aClientPullRequest, @NonNull Locale aLocale, @NonNull String sURL, @Nullable IAS4ClientBuildMessageCallback aBuildMessageCallback, @Nullable IAS4OutgoingDumper aOutgoingDumper, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aResponseConsumer, @Nullable IAS4UserMessageConsumer aUserMsgConsumer, @Nullable IPMode aPMode) static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserOrSignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aIncomingProfileSelector, @NonNull AS4ClientPullRequestMessage aClientPullRequest, @NonNull Locale aLocale, @NonNull String sURL, @Nullable IAS4ClientBuildMessageCallback aBuildMessageCallback, @Nullable IAS4OutgoingDumper aOutgoingDumper, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aResponseConsumer, @Nullable IAS4UserMessageConsumer aUserMsgConsumer, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer, @Nullable IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler, @Nullable IPMode aPMode) static voidAS4BidirectionalClientHelper.sendAS4UserMessageAndReceiveAS4SignalMessage(@NonNull IAS4CryptoFactory aCryptoFactorySign, @NonNull IAS4CryptoFactory aCryptoFactoryCrypt, @NonNull IAS4PModeResolver aPModeResolver, @NonNull IAS4IncomingAttachmentFactory aIAF, @NonNull IAS4IncomingProfileSelector aIncomingProfileSelector, @NonNull AS4ClientUserMessage aClientUserMsg, @NonNull Locale aLocale, @NonNull String sURL, @Nullable IAS4ClientBuildMessageCallback aBuildMessageCallback, @Nullable IAS4OutgoingDumper aOutgoingDumper, @Nullable IAS4IncomingDumper aIncomingDumper, @NonNull IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, @NonNull IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, @Nullable IAS4RetryCallback aRetryCallback, @Nullable IAS4RawResponseConsumer aRawResponseConsumer, @Nullable IAS4SignalMessageConsumer aSignalMsgConsumer, @Nullable IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler)