iris-pkcs7-util

Downloads2
Subscribe
0
Bookmark
1
This application is not supported by InterSystems Corporation. Please be notified that you use it at your own responsibility.
Details
Releases
Reviews
Issues

What's new in this version

Initial Release

iris-pkcs7-utils

This is a set of utilities for working with PKCS#7 files. It is based on the python libraries asn1crypto and pyopenssl.

This utility is intended to be used with IRIS and IRIS for Heath from an COS environment.

It's distributed on ZPM/IPM.

Installation

zpm "install pkcs7-utils"

Usage

    set tUtils = ##class(dc.cms.Utils).%New()
    set tCertFileName = "cert.pem"
    set tKeyFileName = "key.pem"
    set tPassPhrase = "TOTO"
    set tContent = ##class(%Stream.FileCharacter).%New()
    $$$ThrowOnError(tContent.LinkToFile("content.txt"))
$$$ThrowOnError(<span class="pl-v">tUtils</span>.<span class="pl-e">CreateCMSStream</span>(<span class="pl-v">tContent</span>,<span class="pl-v">tCertFileName</span>, <span class="pl-v">tKeyFileName</span>, <span class="pl-v">tPassPhrase</span>, .<span class="pl-e">tStream</span>))
<span class="pl-k">zwrite</span> <span class="pl-v">tStream</span></pre></div>
IPM installation
zpm "install pkcs7-utils"
Rating
3.5 (1)
ObjectScript quality test
Passed
Updated on 27 September 2023
ObjectScript quality report
Category
Technology Example
Works with
InterSystems IRISInterSystems IRIS for Health
Tags
Info
Version
1.0.2
Last updated
2023-05-30
Repository
Open
Documentation
Open
License
Link