PKI.Certificate
persistent class PKI.Certificate extends %Library.Persistent, %XML.Adaptor
SQL Table Name: PKI.Certificate
X.509 Certificate. For use with PKI.CAClient and PKI.CAServer.Property Inventory
Method Inventory
Properties
property Contents as %String (MAXLEN = 5000) [ Required ];
PEM encoding of this X.509 certificate
Property methods: ContentsDisplayToLogical(), ContentsGet(), ContentsGetStored(), ContentsIsValid(), ContentsLogicalToDisplay(), ContentsLogicalToOdbc(), ContentsNormalize(), ContentsSet()
property Filename as %String [ Required ];
Filename specified by the PKI.CAClient that requested this X.509 Certificate
Property methods: FilenameDisplayToLogical(), FilenameGet(), FilenameGetStored(), FilenameIsValid(), FilenameLogicalToDisplay(), FilenameLogicalToOdbc(), FilenameNormalize(), FilenameSet()
property Hostname as %String (MAXLEN = 100) [ Required ];
DNS hostname of the PKI.CAClient that requested this X.509 Certificate
Property methods: HostnameDisplayToLogical(), HostnameGet(), HostnameGetStored(), HostnameIsValid(), HostnameLogicalToDisplay(), HostnameLogicalToOdbc(), HostnameNormalize(), HostnameSet()
property Instance as %String [ Required ];
InterSystems IRIS instance of the PKI.CAClient that requested this X.509 Certificate
Property methods: InstanceDisplayToLogical(), InstanceGet(), InstanceGetStored(), InstanceIsValid(), InstanceLogicalToDisplay(), InstanceLogicalToOdbc(), InstanceNormalize(), InstanceSet()
property Number as %String [ Required ];
Serial number. Max length = 20 octets = 49 digits.
Property methods: NumberDisplayToLogical(), NumberGet(), NumberGetStored(), NumberIsValid(), NumberLogicalToDisplay(), NumberLogicalToOdbc(), NumberNormalize(), NumberSet()
property Subject as %String (MAXLEN = 200) [ Required ];
String representation of the Subject Distinguished Name of this X.509 Certificate
Property methods: SubjectDisplayToLogical(), SubjectGet(), SubjectGetStored(), SubjectIsValid(), SubjectLogicalToDisplay(), SubjectLogicalToOdbc(), SubjectNormalize(), SubjectSet()
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
SELECT Number,Hostname,Instance,Filename FROM Certificate WHERE Number <> 0 ORDER BY Number
SQL Query:
SELECT Number,Filename FROM Certificate WHERE Number <> 0 AND Hostname=:Hostname And Instance=:Instance ORDER BY Number
SELECT Number,Filename FROM Certificate WHERE Number <> 0 AND Hostname=:Hostname And Instance=:Instance ORDER BY Number
Indexes
index (NumberIndex on Number) [IdKey, Type = key];
Index methods: NumberIndexCheck(), NumberIndexDelete(), NumberIndexExists(), NumberIndexOpen(), NumberIndexSQLCheckUnique(), NumberIndexSQLExists(), NumberIndexSQLFindPKeyByConstraint(), NumberIndexSQLFindRowIDByConstraint()
Inherited Members
Inherited Methods
- %%CLASSNAMELogicalToStorage()
- %%CLASSNAMEStorageToLogical()
- %AddToSaveSet()
- %AddToSyncSet()
- %BMEBuilt()
- %BuildIndicesAsync()
- %BuildIndicesAsyncResponse()
- %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()
- %OnDeleteFinally()
- %OnDetermineClass()
- %OnOpenFinally()
- %OnSaveFinally()
- %Open()
- %OpenId()
- %OriginalNamespace()
- %PackageName()
- %PhysicalAddress()
- %PurgeIndices()
- %Reload()
- %RemoveFromSaveSet()
- %ResolveConcurrencyConflict()
- %RollBack()
- %Save()
- %SaveDirect()
- %SaveIndices()
- %SerializeObject()
- %SetModified()
- %SortBegin()
- %SortEnd()
- %SyncObjectIn()
- %SyncTransport()
- %UnlockExtent()
- %UnlockId()
- %ValidateIndices()
- %ValidateObject()
- %ValidateTable()
- XMLDTD()
- XMLExport()
- XMLExportToStream()
- XMLExportToString()
- XMLNew()
- XMLSchema()
- XMLSchemaNamespace()
- XMLSchemaType()
Storage
Storage Model: Storage (PKI.Certificate)
^PKI.CertificateD(ID) |
= | %%CLASSNAME
Contents
Name
FileName
Subject
Filename
Hostname
Instance
|