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 IAS4CryptoFactoryAbstractAS4Client.getCryptoFactoryCrypt()final IAS4CryptoFactoryAbstractAS4Client.getCryptoFactorySign()protected IAS4CryptoFactoryAbstractAS4Client.internalGetCryptoFactoryCrypt()protected IAS4CryptoFactoryAbstractAS4Client.internalGetCryptoFactorySign()Methods in com.helger.phase4.client with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionfinal IMPLTYPEAbstractAS4Client.setCryptoFactory(IAS4CryptoFactory aCryptoFactory) Set all the crypto properties at once.final IMPLTYPEAbstractAS4Client.setCryptoFactoryCrypt(IAS4CryptoFactory aCryptoFactoryCrypt) Set the crypto factory to be used for crypting.final IMPLTYPEAbstractAS4Client.setCryptoFactorySign(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.classDeprecated, for removal: This API element is subject to removal in a future version. -
Uses of IAS4CryptoFactory in com.helger.phase4.dump
Methods in com.helger.phase4.dump with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionstatic voidAS4DumpReader.decryptAS4In(String sAS4ProfileID, byte[] aAS4InData, IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, Consumer<com.helger.commons.http.HttpHeaderMap> aHttpHeaderConsumer, 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 TypeMethodDescriptionAS4IncomingMessageState.getCryptoFactoryCrypt()final IAS4CryptoFactoryAS4RequestHandler.getCryptoFactoryCrypt()IAS4IncomingMessageState.getCryptoFactoryCrypt()AS4IncomingMessageState.getCryptoFactorySign()final IAS4CryptoFactoryAS4RequestHandler.getCryptoFactorySign()IAS4IncomingMessageState.getCryptoFactorySign()Methods in com.helger.phase4.incoming with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionstatic Ebms3SignalMessageAS4IncomingHandler.parseSignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aAS4ProfileSelector, AS4ResourceHelper aResHelper, IPMode aSendingPMode, Locale aLocale, IAS4IncomingMessageMetadata aIncomingMessageMetadata, org.apache.hc.core5.http.HttpResponse aHttpResponse, byte[] aMessagePayload, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4SignalMessageConsumer aSignalMsgConsumer) static Ebms3UserMessageAS4IncomingHandler.parseUserMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aAS4ProfileSelector, AS4ResourceHelper aResHelper, IPMode aSendingPMode, Locale aLocale, IAS4IncomingMessageMetadata aIncomingMessageMetadata, org.apache.hc.core5.http.HttpResponse aHttpResponse, byte[] aMessagePayload, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4UserMessageConsumer aUserMsgConsumer) static com.helger.commons.state.ESuccessAS4IncomingHandler.parseUserOrSignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aAS4ProfileSelector, AS4ResourceHelper aResHelper, IPMode aSendingPMode, Locale aLocale, IAS4IncomingMessageMetadata aIncomingMessageMetadata, org.apache.hc.core5.http.HttpResponse aHttpResponse, byte[] aMessagePayload, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4UserMessageConsumer aUserMsgConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer) final AS4RequestHandlerAS4RequestHandler.setCryptoFactory(IAS4CryptoFactory aCryptoFactory) Set the same crypto factory for signing and crypting.voidAS4IncomingMessageState.setCryptoFactoryCrypt(IAS4CryptoFactory aCryptoFactoryCrypt) final AS4RequestHandlerAS4RequestHandler.setCryptoFactoryCrypt(IAS4CryptoFactory aCryptoFactoryCrypt) Set the crypto factory crypting.voidAS4IncomingMessageState.setCryptoFactorySign(IAS4CryptoFactory aCryptoFactorySign) final AS4RequestHandlerAS4RequestHandler.setCryptoFactorySign(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 TypeMethodDescriptionSoapHeaderElementProcessorRegistry.createDefault(IAS4PModeResolver aPModeResolver, IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IPMode aFallbackPMode, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration) Constructors in com.helger.phase4.incoming.soap with parameters of type IAS4CryptoFactoryModifierConstructorDescriptionAS4KeyStoreCallbackHandler(IAS4CryptoFactory aCryptoFactoryCrypt) SoapHeaderElementProcessorWSS4J(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, Provider aSecurityProviderSignVerify, Supplier<? extends IPMode> aFallbackPModeProvider, IAS4DecryptParameterModifier aDecryptParameterModifier) -
Uses of IAS4CryptoFactory in com.helger.phase4.messaging.crypto
Methods in com.helger.phase4.messaging.crypto with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionstatic DocumentAS4Signer.createSignedMessage(IAS4CryptoFactory aCryptoFactorySign, Document aPreSigningMessage, ESoapVersion eSoapVersion, String sMessagingID, com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, AS4ResourceHelper aResHelper, boolean bMustUnderstand, AS4SigningParams aSigningParams) This method must be used if the message does not contain attachments, that should be in a additional mime message part.static DocumentAS4Encryptor.encryptSoapBodyPayload(IAS4CryptoFactory aCryptoFactoryCrypt, ESoapVersion eSoapVersion, Document aDoc, boolean bMustUnderstand, AS4CryptParams aCryptParams) Encrypt the SOAP "Body" content.static AS4MimeMessageAS4Encryptor.encryptToMimeMessage(ESoapVersion eSoapVersion, Document aDoc, com.helger.commons.collection.impl.ICommonsList<WSS4JAttachment> aAttachments, IAS4CryptoFactory aCryptoFactoryCrypt, boolean bMustUnderstand, AS4ResourceHelper aResHelper, 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 IAS4CryptoFactoryAbstractAS4MessageBuilder.cryptoFactoryCrypt()final IAS4CryptoFactoryAbstractAS4MessageBuilder.cryptoFactorySign()Methods in com.helger.phase4.sender with parameters of type IAS4CryptoFactoryModifier and TypeMethodDescriptionfinal IMPLTYPEAbstractAS4MessageBuilder.cryptoFactory(IAS4CryptoFactory aCryptoFactory) Set the crypto factory to be used for signing and crypting.final IMPLTYPEAbstractAS4MessageBuilder.cryptoFactoryCrypt(IAS4CryptoFactory aCryptoFactoryCrypt) Set the crypto factory to be used for crypting.final IMPLTYPEAbstractAS4MessageBuilder.cryptoFactorySign(IAS4CryptoFactory aCryptoFactorySign) Set the crypto factory to be used for signing.static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientPullRequestMessage aClientPullRequest, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aResponseConsumer, IAS4UserMessageConsumer aUserMsgConsumer, IPMode aPMode) static voidAS4BidirectionalClientHelper.sendAS4PullRequestAndReceiveAS4UserOrSignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientPullRequestMessage aClientPullRequest, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aResponseConsumer, IAS4UserMessageConsumer aUserMsgConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer, IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler, IPMode aPMode) static voidAS4BidirectionalClientHelper.sendAS4UserMessageAndReceiveAS4SignalMessage(IAS4CryptoFactory aCryptoFactorySign, IAS4CryptoFactory aCryptoFactoryCrypt, IAS4PModeResolver aPModeResolver, IAS4IncomingAttachmentFactory aIAF, IAS4IncomingProfileSelector aIncomingProfileSelector, AS4ClientUserMessage aClientUserMsg, Locale aLocale, String sURL, IAS4ClientBuildMessageCallback aBuildMessageCallback, IAS4OutgoingDumper aOutgoingDumper, IAS4IncomingDumper aIncomingDumper, IAS4IncomingSecurityConfiguration aIncomingSecurityConfiguration, IAS4IncomingReceiverConfiguration aIncomingReceiverConfiguration, IAS4RetryCallback aRetryCallback, IAS4RawResponseConsumer aRawResponseConsumer, IAS4SignalMessageConsumer aSignalMsgConsumer, IAS4SignalMessageValidationResultHandler aSignalMsgValidationResultHandler)
AS4CryptoFactoryConfigurationinstead.