Encontrar

Artículo
· 22 ago, 2024 Lectura de 2 min

第六章 设置和其他常见活动 - 编辑 IRIS 凭证集

第六章 设置和其他常见活动 - 编辑 IRIS 凭证集

编辑 IRIS 凭证集

创建 IRIS 凭证集后,可以按如下方式编辑它:

  1. 在管理门户中,选择系统管理 > 安全 > X.509 凭证。
  2. 在凭证集表中,别名列的值用作标识符。对于要编辑的凭证集,请单击编辑。
  3. 根据需要进行编辑。有关这些字段的信息,请参阅上一节。
  4. 单击“保存”以保存更改。

无法更改凭证集的别名或证书;也无法添加、更改或删除关联的私钥。要进行此类更改,请创建新的凭证集。

通过编程方式检索凭证集

执行加密或签名时,必须指定要使用的证书。为此,可以选择 IRIS 凭证集。

当手动创建 WS-Security 标头时,必须以编程方式检索凭据集并使用它。

作为参考,本节讨论以下常见活动:

Comentarios (0)1
Inicie sesión o regístrese para continuar
Pregunta
· 22 ago, 2024

Access to current line text

Is there a general way to set a variable XYZ equal to the text of the code line being executed now? Debugger or production. For example, for a code below if code is currently assigning a to 1, XYZ would be equal "S a=1". The same question about a variable containing current routine name.

S a=1

2 comentarios
Comentarios (2)1
Inicie sesión o regístrese para continuar
Artículo
· 22 ago, 2024 Lectura de 1 min

How to download an image file from a web server using ObjectScript language

InterSystems FAQ rubric

The following code downloads https://www.intersystems.com/assets/intersystems-logo.png and saves the file as c:\temp\test.png.

You need to define an SSL configuration called SSLTEST before executing this code

 

ClassMethod download() As %Status
{
    Set sc = $$$OK
    Set httprequest=##class(%Net.HttpRequest).%New()
    set httprequest.Port = 443
    set httprequest.Https = 1
    set httprequest.SSLConfiguration = "SSLTEST"
    Set httprequest.Server="www.intersystems.com"
    Do httprequest.Get("/assets/intersystems-logo.png")
    Set httpresponse=httprequest.HttpResponse
    Set file=##class(%File).%New("c:\temp\test.png")
    Do file.Open("NWUK\BIN\")
    Do file.CopyFrom(httpresponse.Data)
    Do file.Close()
    Return sc
}
Comentarios (0)1
Inicie sesión o regístrese para continuar
Anuncio
· 22 ago, 2024

[Video] Planning Your Generative AI Project

Hi, Community!

Are you ready to start developing a generative AI application? Learn how you can make it as effective as possible:

Planning Your Generative AI Project

In this video,  @Alvin Ryanputra, Systems Developer at InterSystems, explains how to :

  • Define a use case.
  • Identify helpful approaches.
  • Set up a process to continually evaluate your model.

This video is the first in a series about developing generative AI applications. Follow the full Gen AI learning path for developers (2h)!

Comentarios (0)1
Inicie sesión o regístrese para continuar
Comentarios (1)1
Inicie sesión o regístrese para continuar