PSOSPMKY ;BIRM/MFR - State Prescription Monitoring Program - SSH Key Management ;01/06/16
Source file <PSOSPMKY.m>
action | A | extended action | Ea | event driver | Ed | subscriber | Su | protocol | O | limited protocol | LP | run routine | RR | broker | B | edit | E | server | Se | P | screenman | SM | inquire | I |
Package | Total | Caller Graph |
---|---|---|
Kernel | 1 | ^DIC(19 |
Outpatient Pharmacy | 1 | PSO SPMP SSH KEY MANAGEMENT |
Name | Comments | DBIA/ICR reference |
---|---|---|
EN | ; Entry-point
|
|
ACTION | ; SSH Key Action
|
|
END | ||
NEWKEY(STATEIEN,ENCRTYPE,ENCRBITS) | ; Generate and store a pair of SSH keys for a specific state
; Input: (r) STATEIEN - State that will be using the new key pair. Pointer to the STATE file (#5) ; (o) ENCRTYPE - SSH Encryption Type (DSA / RSA) (Default: RSA) |
|
RETRIEVE(STATEIEN,KEYTYPE) | ; Retrieve the SSH Key into the ^TMP global
; Input: (r) STATEIEN - State to retrieve the SSH Key from ; (o) KEYTYPE - SSH Key Type (PUB - Public / PRV - PRivate) (Default: Public) |
|
VIEW(STATEIEN) | ; Displays the SSH Public Key
|
|
DELETE(STATEIEN) | ; Delete Both SSH Keys associated with the State
|
|
OPENSSH() | ; Returns the SSH Public Key in OpenSSH Format (Converts if necessary)
|
|
BKENDOS() | ; Returns the Backend Server Operating System (OS)
|
|
SETOS(JOB) | ; Sets the Operating Systems in ^XTMP("PSOSPMKY",$J,"OS") (Called via Taskman)
|
|
HELP | ; SSH Key Help Text
|
|
ETHELP | ; Encryption Type Help
|
Name | Field # of Occurrence |
---|---|
$$FTG^%ZISH | NEWKEY+38, NEWKEY+41 |
CLOSE^%ZISH | NEWKEY+25 |
DEL^%ZISH | NEWKEY+45 |
OPEN^%ZISH | NEWKEY+21 |
USE^%ZISUTL | NEWKEY+22 |
$$OS^%ZOSV | NEWKEY+6, BKENDOS+9, SETOS+2 |
^%ZTLOAD | BKENDOS+6 |
^DIC | EN+4 |
^DIE | NEWKEY+64, DELETE+3 |
UPDATE^DIE | NEWKEY+59 |
$$GET1^DIQ | ACTION+9, ACTION+19, ACTION+21, ACTION+36, ACTION+61, ACTION+63, NEWKEY+7, RETRIEVE+7, RETRIEVE+13, VIEW+7 |
^DIR | ACTION+4, ACTION+25, ACTION+32, ACTION+37, ACTION+64 |
$$DIREXIST^PSOSPMU1 | NEWKEY+31 |
MAKEDIR^PSOSPMU1 | NEWKEY+31 |
PAUSE^PSOSPMU1 | ACTION+9, ACTION+14, ACTION+22, ACTION+53, HELP+14 |
$$FMTHL7^XLFDT | NEWKEY+12 |
$$HTFM^XLFDT | NEWKEY+12 |
$$NOW^XLFDT | BKENDOS+6 |
$$LOW^XLFSTR | NEWKEY+24, NEWKEY+33 |
SIG^XUSESIG | ACTION+10 |
$$DECRYP^XUSRB1 | RETRIEVE+11 |
$$ENCRYP^XUSRB1 | NEWKEY+56, NEWKEY+57 |
Name | Line Occurrences |
---|---|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Function Call: WRITE |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
Routine Call |
|
FileNo | Call Tags |
---|---|
^DIC(5 - [#5] | GET1^DIQ |
^PS(58.41 - [#58.41] | Classic Fileman Calls, GET1^DIQ |
Name | Line Occurrences (* Changed, ! Killed) |
---|---|
^PS(58.41 - [#58.41] | EN+3 |
^TMP( | NEWKEY+50, NEWKEY+53, NEWKEY+54, NEWKEY+55, NEWKEY+56, NEWKEY+60!, RETRIEVE+9!, RETRIEVE+11*, RETRIEVE+12, RETRIEVE+13* |
^TMP("PSOPRVKY" | NEWKEY+36!, NEWKEY+38, NEWKEY+39, DELETE+4! |
^TMP("PSOPUBKY" | ACTION+7!, ACTION+8, ACTION+34, ACTION+39, ACTION+51, ACTION+60, NEWKEY+36!, NEWKEY+41, NEWKEY+42, VIEW+7 , DELETE+4!, OPENSSH+5, OPENSSH+6, OPENSSH+7, OPENSSH+8, OPENSSH+9, OPENSSH+12, OPENSSH+13 |
^XTMP("PSOSPMKY" | BKENDOS+3!, BKENDOS+7, BKENDOS+8!, SETOS+2* |
^XUSEC("PSO SPMP ADMIN" | ACTION+5 |
Name | Line Occurrences |
---|---|
$$BKENDOS | ACTION+18 |
$$OPENSSH | VIEW+6 |
ACTION | ACTION+5, ACTION+8, ACTION+10, ACTION+13, ACTION+17, ACTION+58, ACTION+68, ACTION+70 |
DELETE | ACTION+39, ACTION+65, NEWKEY+15 |
EN | EN+5 |
END | EN+4, ACTION+4 |
ETHELP | HELP+14 |
HELP | ACTION+68 |
NEWKEY | ACTION+50 |
RETRIEVE | ACTION+7, ACTION+50, ACTION+59 |
VIEW | ACTION+14 |
>> | Not killed explicitly |
* | Changed |
! | Killed |
~ | Newed |
Name | Field # of Occurrence |
---|---|
BKENDOS | BKENDOS+2~, BKENDOS+4*, BKENDOS+7*, BKENDOS+9 |
COMFILE | NEWKEY+19~, NEWKEY+20*, NEWKEY+21, NEWKEY+26, NEWKEY+27 |
DA | NEWKEY+3~, NEWKEY+63*, DELETE+2~, DELETE+3* |
DASHLN | VIEW+4~, VIEW+6*, VIEW+8, VIEW+10 |
DATETIME | NEWKEY+3~, NEWKEY+12*, NEWKEY+20 |
DIC | EN+1~, EN+2!* |
DIC("A" | EN+2*, EN+5! |
DIC("B" | EN+3* |
DIC(0 | EN+2* |
DIE | NEWKEY+3~, NEWKEY+63!*, DELETE+2~, DELETE+3* |
DIR | EN+1~, ACTION+1!, ACTION+23!, ACTION+30!, ACTION+36!, ACTION+63! |
DIR("?" | ACTION+23*, ACTION+30* |
DIR("A" | ACTION+1*, ACTION+23*, ACTION+30*, ACTION+36*, ACTION+63* |
DIR("B" | ACTION+4*, ACTION+25*, ACTION+32*, ACTION+36*, ACTION+63* |
DIR(0 | ACTION+2*, ACTION+3*, ACTION+24*, ACTION+31*, ACTION+36*, ACTION+63* |
DIRUT | EN+1~, ACTION+4, ACTION+25, ACTION+29, ACTION+37, ACTION+64 |
DR | NEWKEY+3~, NEWKEY+64*, DELETE+2~, DELETE+3* |
DTOUT | EN+1~, EN+4 |
DUOUT | EN+1~, EN+4, ACTION+4, ACTION+25, ACTION+29, ACTION+37, ACTION+64 |
DUZ | ACTION+5 |
ENCRBITS | ACTION+33*, ACTION+50, ACTION+55!, NEWKEY~, NEWKEY+32*, NEWKEY+33 |
ENCRTYPE | ACTION+26*, ACTION+29, ACTION+33, ACTION+36, ACTION+50, NEWKEY~, NEWKEY+9*, NEWKEY+24, NEWKEY+33, NEWKEY+64 , OPENSSH+3~, OPENSSH+6*, OPENSSH+10 |
FILE2DEL | NEWKEY+3~ |
FILE2DEL( | NEWKEY+27*, NEWKEY+34* |
I | BKENDOS+2~, BKENDOS+7* |
>> IOBOFF | ACTION+27, ACTION+35, ACTION+62 |
>> IOBON | ACTION+27, ACTION+35, ACTION+62 |
JOB | SETOS~, SETOS+2 |
KEYFILE | NEWKEY+3~, NEWKEY+12*, NEWKEY+24, NEWKEY+27, NEWKEY+33, NEWKEY+34, NEWKEY+38, NEWKEY+41, NEWKEY+66 |
KEYTXT | NEWKEY+3~, NEWKEY+49!, RETRIEVE+5~ |
KEYTXT( | NEWKEY+56*, RETRIEVE+10, RETRIEVE+11 |
KEYTXT(1 | NEWKEY+53*, NEWKEY+55*, NEWKEY+57* |
KEYTYPE | RETRIEVE~, RETRIEVE+6*, RETRIEVE+7, RETRIEVE+8 |
LINE | NEWKEY+3~, NEWKEY+50*, NEWKEY+53, NEWKEY+54, NEWKEY+55, NEWKEY+56, RETRIEVE+5~, RETRIEVE+10*, RETRIEVE+11, OPENSSH+3~ , OPENSSH+7*, OPENSSH+8, OPENSSH+9, OPENSSH+12*, OPENSSH+13 |
LOCALDIR | EN+1~, ACTION+19*, ACTION+20, NEWKEY+3~, NEWKEY+7*, NEWKEY+21, NEWKEY+24, NEWKEY+26, NEWKEY+31, NEWKEY+33 , NEWKEY+38, NEWKEY+41, NEWKEY+45 |
NMSPC | NEWKEY+3~, NEWKEY+48*, NEWKEY+50, NEWKEY+52, NEWKEY+53, NEWKEY+54, NEWKEY+55, NEWKEY+56, NEWKEY+57, NEWKEY+58 , NEWKEY+60, RETRIEVE+5~, RETRIEVE+8*, RETRIEVE+9, RETRIEVE+11, RETRIEVE+12, RETRIEVE+13 |
OPENSSH | OPENSSH+3~, OPENSSH+4*, OPENSSH+6*, OPENSSH+9*, OPENSSH+10*, OPENSSH+13*, OPENSSH+14 |
OVFLINE | NEWKEY+3~, NEWKEY+54*, NEWKEY+55 |
PSOOS | EN+1~, ACTION+18*, ACTION+19, ACTION+21, NEWKEY+3~, NEWKEY+6*, NEWKEY+7, NEWKEY+18, NEWKEY+30, NEWKEY+38 , NEWKEY+41, NEWKEY+52, NEWKEY+57, NEWKEY+64 |
PV | NEWKEY+3~ |
SAVEKEY | NEWKEY+3~, NEWKEY+49! |
SAVEKEY( | NEWKEY+58* |
SSHKEY | VIEW+4~, VIEW+6*, VIEW+9* |
STATEIEN | EN+1~, EN+5*, ACTION+7, ACTION+9, ACTION+14, ACTION+19, ACTION+21, ACTION+36, ACTION+39, ACTION+50 , ACTION+59, ACTION+61, ACTION+63, ACTION+65, NEWKEY~, NEWKEY+5, NEWKEY+7, NEWKEY+15, NEWKEY+58, NEWKEY+63 , RETRIEVE~, RETRIEVE+7, RETRIEVE+13, VIEW~, VIEW+5, VIEW+7, DELETE~, DELETE+3 |
X | EN+1~, EN+4, ACTION+10, NEWKEY+38*, NEWKEY+41*, RETRIEVE+5~, RETRIEVE+7* |
X1 | EN+1~, ACTION+10 |
Y | EN+1~, EN+5, ACTION+5, ACTION+8, ACTION+10, ACTION+13, ACTION+17, ACTION+26, ACTION+33, ACTION+37 , ACTION+58, ACTION+64, ACTION+68 |
ZTDESC | BKENDOS+2~, BKENDOS+5* |
ZTDTH | BKENDOS+2~, BKENDOS+6* |
ZTIO | BKENDOS+2~, BKENDOS+4* |
ZTRTN | BKENDOS+2~, BKENDOS+4* |
ZTSK | BKENDOS+2~ |