Class Reference
%OAuth2.JWK
Server:appadmin-00044-deployment-6bf4cbc86d-9f4xc
Instance:IRIS
User:SuperUser
 
-
  [USER] >  [%OAuth2] >  [JWK]
Private  Storage

deprecatedclass %OAuth2.JWK extends %RegisteredObject

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
4


Summary

Methods
%AddToSaveSet %ClassIsLatestVersion %ClassName %ConstructClone
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Extends
%GetParameter %IsA %IsModified %New
%NormalizeObject %ObjectModified %OriginalNamespace %PackageName
%RemoveFromSaveSet %SerializeObject %SetModified %ValidateObject
ECASN1toJWK ECJWKtoASN1 RSAASN1toJWK RSAJWKtoASN1


Methods

deprecatedclassmethod ECASN1toJWK(ASN1 As %String, Password As %String = "", Output JWK As %DynamicObject) as %Status
This method converts an EC key in PEM-encoded DER ASN.1 format to JSON Web Key (JWK) format.

Input parameters:

ASN1 - PEM-encoded DER ASN.1 representation of private or public EC key.

Password - Private key password (optional).

Output parameter:

JWK - JWK representation of private or public EC Key This method is deprecated.
deprecatedclassmethod ECJWKtoASN1(JWK As %DynamicObject, Output ASN1 As %String) as %Status
This method converts an EC key in JSON Web Key (JWK) format to PEM-encoded DER ASN.1 format.

Input parameter:

JWK - JWK representation of private or public EC Key

Output parameter:

ASN1 - PEM-encoded DER ASN.1 representation of private or public EC key. This method is deprecated.
deprecatedclassmethod RSAASN1toJWK(ASN1 As %String, Password As %String = "", Output JWK As %DynamicObject) as %Status
This method converts an RSA key in PEM-encoded DER ASN.1 format to JSON Web Key (JWK) format.

Input parameters:

ASN1 - PEM-encoded DER ASN.1 representation of private or public RSA key.

Password - Private key password (optional).

Output parameter:

JWK - JWK representation of private or public RSA Key This method is deprecated.
deprecatedclassmethod RSAJWKtoASN1(JWK As %DynamicObject, Output ASN1 As %String) as %Status
This method converts an RSA key in JSON Web Key (JWK) format to PEM-encoded DER ASN.1 format.

Input parameter:

JWK - JWK representation of private or public RSA Key

Output parameter:

ASN1 - PEM-encoded DER ASN.1 representation of private or public RSA key. This method is deprecated.


Copyright (c) 2025 by InterSystems Corporation. Cambridge, Massachusetts, U.S.A. All rights reserved. Confidential property of InterSystems Corporation.