Find

Article
· Sep 26, 2024 2m read

第三十四章 使用派生密钥令牌进行加密和签名 - 使用 DerivedKeyToken 进行签名

第三十四章 使用派生密钥令牌进行加密和签名 - 使用 进行签名

要使用 <DerivedKeyToken>进行签名,请使用以下步骤:

  1. 如果想要签署任何安全标头元素,请创建这些安全标头元素。
  2. 创建 <DerivedKeyToken> 并将其添加到 WS-Security 标头,如创建和添加 <DerivedKeyToken> 中所述。

请注意,此步骤还会创建并添加 <DerivedKeyToken> 所基于的 <EncryptedKey> 元素。

Discussion (0)1
Log in or sign up to continue
Announcement
· Sep 26, 2024

DX Jetpack 2024 edition brings three new extensions to VS Code users

See the new team members in action:

Try them online for yourself:

https://gitpod.io#snapshot/b31bdf9c-4657-402a-a2d

Get it from the Extensions view inside VS Code, or here in Marketplace.

Vote for it here in the current Developer Tools 2024 contest (voting ends: 29 Sep, 2024, 11:59:59 PM EST).

Discuss it below.

Most of all, enjoy DX Jetpack with its added booster rockets!

Discussion (0)1
Log in or sign up to continue
Question
· Sep 26, 2024

inserting a row into a sql server table

I am trying to insert a single row into an external MS SQL Server table. I have set up the SQL Gateway. The insert query runs, but it is inserting an extra row each time. 

What am I missing:

#include %occInclude
set gc = ##class(%SQLGatewayConnection).%New()
if gc = $$$NULLOREF quit $$$ERROR($$$GeneralError, "Can not create sql gateway connection.")

set pDSN = "xxxx"
set usr = "xxx"
set pwd = "xxxx"
set sc = gc.Connect(pDSN,usr,pwd,0)
if $$$ISERR(sc) quit sc
if gc.ConnectionHandle = "" quit $$$ERROR($$$GeneralError,"connection failed") set sc=gc.AllocateStatement(.hstmt)
if $$$ISERR(sc) quit sc

pQuery="insert into testRx (RxIndex, PatientName, PatientStreet1, PatientCity, PatientState, PatientZipCode, PatientPhoneNumber, DrugName, DrugId, Quantity, DaysSupply, RefillText, Provider, SiteId) values ('500-12345-1','test,one','123 oak st','reno','nv','99999','5555555555','aspirin 81mg','A0008','90','90','(1of5)','provider,one','500')"
 

set sc = gc.Prepare(.hstmt,pQuery)

if $$$ISERR(sc) quit sc
set sc = gc.Execute(hstmt)

if $$$ISERR(sc) quit sc

sc
}
 

1 Comment
Discussion (1)1
Log in or sign up to continue
Announcement
· Sep 26, 2024

[Video] Setting Up SQL Foreign Key Constraints

Hi, Community!

Want to improve accuracy and data integrity in your relational databases? Learn a key strategy in this video:

Setting Up SQL Foreign Key Constraints

In this video, you will learn:

  • What foreign key constraints are, and how they support data integrity
  • A step-by-step process for setting up foreign key constraints in InterSystems IRIS® data platform.

Be sure to subscribe to the Learning Services YouTube channel!

Discussion (0)1
Log in or sign up to continue
Question
· Sep 26, 2024

CHARSET options for the FTP outbound adapter

Hi ,

I am sending my DTL response (which is an xml stream) to an FTP out location.

My XML stream has CRLF , but after sending FTP'ing out , it displays as LF

before writing it to FTP

 

At FTP out location

What Chatset will do it ? Currently Charset is set as Binary.

 

Appreciate quick response.

3 Comments
Discussion (3)1
Log in or sign up to continue