Signer.Digital
User guide (Under Construction)
×
Menu
Index
X509 Certificate Verification API
 
API Action: Verify validity of X509 Certificate.
 
Url: https//<baseurl>/api/VerifyCertV1/VerifyCertificate
 
HTTP Method: POST
 
 
Request Model:
 
    class VerifyCertReq
    {
        public string B64OfCert;
        public bool GetCertChain;
    }
 
Response Model:
    class VerifyCertResult
    {
        public bool CertValid;
        public List<X509CertChainStatus> ChainStatus;
        public List<string> B64CertChain;
    }
    class X509CertChainStatus
    {
        public string Status;
        public string StatusInformation;
    }
 
 
 
Sample Response Json for Valid Certificate:
{"CertValid":true,"ChainStatus":[],"B64CertChain":["<Base64 of UserCert>","<Base64 of CA Cert>","<Base64 of Root Cert>"]}
 
Sample Response Json for Revoked Certificate:
 
{"CertValid":false,"ChainStatus":[{"Status":"Revoked","StatusInformation":"The certificate is revoked."}], "B64CertChain":["<Base64 of UserCert>","<Base64 of CA Cert>","<Base64 of Root Cert>"]}
 
 
---------------