Class Reference
IRIS for UNIX 2019.2
InterSystems: The power behind what matters   
Documentation  Search
  [%SYS] >  [PKI] >  [Certificate]
Private  Storage   

persistent class PKI.Certificate extends %Persistent, %XML.Adaptor

X.509 Certificate. For use with PKI.CAClient and PKI.CAServer.

Inventory

Parameters Properties Methods Queries Indices ForeignKeys Triggers
6 1 2 1


Summary

Properties
Contents Filename Hostname Instance Number
Subject

Methods
%AddToSaveSet %AddToSyncSet %BMEBuilt %CheckConstraints
%CheckConstraintsForExtent %ClassIsLatestVersion %ClassName %ComposeOid
%ConstructClone %Delete %DeleteExtent %DeleteId
%DispatchClassMethod %DispatchGetModified %DispatchGetProperty %DispatchMethod
%DispatchSetModified %DispatchSetMultidimProperty %DispatchSetProperty %Exists
%ExistsId %Extends %GUID %GUIDSet
%GetLock %GetParameter %GetSwizzleObject %Id
%InsertBatch %IsA %IsModified %IsNull
%KillExtent %KillExtentData %LoadFromMemory %LockExtent
%LockId %New %NormalizeObject %ObjectIsNull
%ObjectModified %Oid %OnBeforeAddToSync %OnDetermineClass
%Open %OpenId %OriginalNamespace %PackageName
%PhysicalAddress %PurgeIndices %Reload %RemoveFromSaveSet
%ResolveConcurrencyConflict %RollBack %Save %SaveDirect
%SaveIndices %SerializeObject %SetModified %SortBegin
%SortEnd %SyncObjectIn %SyncTransport %UnlockExtent
%UnlockId %ValidateIndices %ValidateObject GetSHA256Fingerprint
XMLDTD XMLExport XMLExportToStream XMLExportToString
XMLNew XMLSchema XMLSchemaNamespace XMLSchemaType


Properties

• property Contents as %String(MAXLEN=5000) [ Required ];
PEM encoding of this X.509 certificate
• property Filename as %String [ Required ];
Filename specified by the PKI.CAClient that requested this X.509 Certificate
• property Hostname as %String(MAXLEN=100) [ Required ];
DNS hostname of the PKI.CAClient that requested this X.509 Certificate
• property Instance as %String [ Required ];
InterSystems IRIS instance of the PKI.CAClient that requested this X.509 Certificate
• property Number as %String [ Required ];
Serial number. Max length = 20 octets = 49 digits.
• property Subject as %String(MAXLEN=200) [ Required ];
String representation of the Subject Distinguished Name of this X.509 Certificate

Methods

• method GetSHA256Fingerprint() as %String
Return a text representation of the SHA-256 Fingerprint of this X.509 Certificate.

Queries

• query ListAll()
SQL Query :
SELECT Number,Hostname,Instance,Filename FROM Certificate
WHERE Number <> 0 ORDER BY Number
• query ListMy(Hostname As %String, Instance As %String)
SQL Query :
SELECT Number,Filename FROM Certificate
WHERE Number <> 0 AND Hostname=:Hostname And Instance=:Instance
ORDER BY Number

Indices

•index (NumberIndex on Number) [IdKey];


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