Flow Register Revoke & Restore
Subject | SubjectType | SubjectIdentifier |
---|---|---|
digitalid | enrollment | revoke-restore |
API Action Digital ID - Revoke & Restore
API REVOKE DOCUMENT
An API used to change the status of a document to 3 (revoke) and delete the certificate data on Authentika (3rd party). This API is used when a user changes a device or other condition according to the needs of mobile apps.
Payload Data
Name | Date Type | Description |
---|---|---|
DocId | String | Document ID Number |
Aidigest | String | Aidigest from Mobile Apps for Mobile Security Authentika |
Reason | String | Reason |
Example Request
{
"Subject":"digitalid",
"SubjectType":"enrollment",
"SubjectIdentifier":"revoke-restore",
"Action":"revoke",
"ResourceType":"data",
"Resource":"nik",
"ResourceId":"321231990",
"Data":{
"DocId":"337",
"Aidigest":"466970075431077F35D038927D58B0075DFC33B298091234FD54520126183FF2",
"Reason":"revoke"
}
}
API GET RESTORE DOCUMENT
API is used to restore the data of documents already in Revoke (status 3) to the status prior to the revoke. This is used when a user logs in with a different device and re-enrolls a document to Authentika to obtain a new certificate.
Payload Data
Name | Date Type | Description |
---|---|---|
DocId | String | Document ID Number |
Aidigest | String | Aidigest from Mobile Apps for Mobile Security Authentika |
Authkey | String | Aidigest from Mobile Apps for Mobile Security Authentika |
Signkey | String | Aidigest from Mobile Apps for Mobile Security Authentika |
LibVersion | String | Aidigest from Mobile Apps for Mobile Security Authentika |
CardType | String | Document Card Type |
Example Request
{
"Subject":"digitalid",
"SubjectType":"enrollment",
"SubjectIdentifier":"revoke-restore",
"Action":"restore",
"ResourceType":"data",
"Resource":"nik",
"ResourceId":"321231990",
"Data":{
"DocId":"337",
"Aidigest":"466970075431077F35D038927D58B0075DFC33B298091234FD54520126183FF2",
"Authkey":"30820122300D06092A864886F70D01010105000382010F003082010A0282010100E60655B4A7726BD501EF039A1A14E72951E81A23F4B9400BF060A5D120EC589F63EF051E4116B7BAA95A0B14036E34AFE7F560560A93B823A0F2CD06A1D3FC7F4F9DCF82001705717F6A9BB7A62BFFAF9B0EB61DE1D6EE032EC218019D61F20BF53F8D71A6AF9DB5D66F3F6705D377757B4FAD35A5080F21269539719AC77A9717C70B78C268D8F0B3C18CA75C6C3627AD93589C91FEEB02400CFC68AA72F94715F2C0CC8524D31E4D9422E3FC4DFA8454495F719E20547C2E2B43E8C4B0063507FC04DDE02955CCF3CAACDE7C6C068B3C3100D0E90B32BF6112794FC2F1DFA8E2E9371FDB4EE8A47C9CB627A3D6332AC2D788F03C4B451A9F70876F34607A330203010001",
"Signkey":"3059301306072A8648CE3D020106082A8648CE3D0301070342000435F497B5C625327DE939EA9753FB26035DAB466A8B1AAB60FBF5F8844B62A9E42FC6AFE6107A4A0424CE5ECABE18C22F7B80122D336A1B9C2A17FB13394E3079",
"LibVersion":"MSPUA0005",
"CardType":"2"
}
}