RE: How to use BTS.EncryptionCert
- From: Mihai Dan <miha_da_@xxxxxxxxxxx>
- Date: Tue, 5 Feb 2022 08:06:02 -0800
You cannot reuse your existing send port because it is static and your
scenario requires a dynamic send port. So, the Binding property the Send Port
in your orchestration has to be Dynamic. Next, you have to set the its Send
Pipeline property… of course your send pipeline needs to have the MIME/SMIME
Encoder component plugged in it; I think you can reuse your pipeline
(although you may need to reconfigure its properties)... same with the
encryption certificate.
The BTS.EncryptionCert is of type string; I’ve just checked the property
schema… so, that’s an error in the documentation.
Please, let me know your thoughts or questions, or if you’ve found my reply
helpful,
Mihai Dan
"g-forsmo@xxxxxxxxxxx" wrote:
Hi!.
I am about to reconstruct my orchestration to deliver a message to
several receivers using a dynamic ftp send port. The receivers must
send us their public key so we can encrypt the messages before sending
them. Because we are building a ftp address, the file names and so on
during running the orchestration, we can't use a single send port
which can only hold one certificate. Some have told me to use
BTS.EncryptionCert and I hope it can set this property during running
the orchestration the same way that I do setting up the ftp address.
Like this
FTPXMLfile(Microsoft.XLANGs.BaseTypes.Address) = Filename + ".xml";
MydataXML(FTP.UserName) = UserName;
MydataXML(FTP.Password) = Password;
thumbprint = "96 1d 96 27 16 96 61 5e 0c f5 94 a5 c7 83 96 8e ad 96 3c
e4";
MydataXML(BTS.EncryptionCert) = thumbprint;
Will this work so I can just use one send port overriding the
certificate there? If this is possible, I can put the thumbprint in a
database table....
One more thing. Checking the documentation the BTS.EncryptionCert is
an integer ????
If this code is totally wrong, please send me a code that works.
Regards
Geir F
- Follow-Ups:
- Re: How to use BTS.EncryptionCert
- From: Geir Forsmo
- Re: How to use BTS.EncryptionCert
- References:
- How to use BTS.EncryptionCert
- From: g-forsmo
- How to use BTS.EncryptionCert
- Prev by Date: Re: how XSLT grouping works?
- Next by Date: RE: How to set the value of an envelope element?
- Previous by thread: How to use BTS.EncryptionCert
- Next by thread: Re: How to use BTS.EncryptionCert
- Index(es):
Relevant Pages
|