certificateDetailLevel
If certificateDetailLevel
is set, the response can contain the following information:
EXCLUDE
: No certificate information is returned.
LOW
:credentialExtId
state
subjectDn
MEDIUM
:credentialExtId
state
subjectDn
userExtId
shaFingerprint
certificate
serial
issuerDn
subjectKeyIdentifier
HIGH
: All elements from theMEDIUM
detail level plus:ctlCreUid
ctlCreDat
ctlModUid
ctlModDat
ctlTcn
The following detail levels can be useful in combination with certificateDetailLevel
:
credentialDetailLevel
defaultDetailLevel
Example of a request and response with certificateDetailLevel
set to MEDIUM
:
Request:
<v1:queryCredentials>
<query>
<clientName>Default</clientName>
<detailLevels>
<credentialDetailLevel>MEDIUM</credentialDetailLevel>
<certificateDetailLevel>MEDIUM</certificateDetailLevel>
</detailLevels>
<credential>
<type>CERTIFICATE</type>
<userExtId>9999999404</userExtId>
</credential>
</query>
</v1:queryCredentials>
Response:
<ns2:queryCredentialsResponse
xmlns:ns2="http://adnovum.ch/nevisidm/ws/services/v1">
<return>
<userExtId>9999999404</userExtId>
<state>ACTIVE</state>
<type>CERTIFICATE</type>
<lastLogin>2011-11-11T00:00:00.000+01:00</lastLogin>
<lastLoginFailure>2004-04-04T00:00:00.000+02:00</lastLoginFailure>
<lastChange>2024-05-17T13:24:29.000+02:00</lastChange>
<validFrom>2018-08-07T00:00:00.000+02:00</validFrom>
<validTo>2052-06-03T00:00:00.000+02:00</validTo>
<failureCount>4</failureCount>
<successCount>2</successCount>
<resetCount>0</resetCount>
<value>-----BEGIN CERTIFICATE-----
MIID5TCCAs2gAwIBAgIJAL/DrP3r+KPNMA0GCSqGSIb3DQEBBQUAMIGHMQswCQYD
VQQGEwJVUzERMA8GA1UECAwITWljaGlnYW4xETAPBgNVBAcMCEhvdWdodG9uMSow
KAYDVQQKDCFNaWNoaWdhbiBUZWNobm9sb2dpY2FsIFVuaXZlcnNpdHkxDjAMBgNV
BAsMBU5FVklTMRYwFAYDVQQDDA1ORVZJUyBBZE5vdnVtMCAXDTE4MDgwNzE0MDA1
NVoYDzIwNTIwN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n0y5AEIto1q8aLpcd+Q=
-----END CERTIFICATE-----</value>
<extId>99999994010</extId>
<policyName>Default password policy</policyName>
<policyExtId>100</policyExtId>
<certificate>
<userExtId>9999999404</userExtId>
<credentialExtId>99999994010</credentialExtId>
<state>ACTIVE</state>
<shaFingerprint>42:2D:4D:16:47:C5:FC:46:8F:1D:97:3E:DB:8B:4B:60:56:F1:D7:A7</shaFingerprint>
<certificate>-----BEGIN CERTIFICATE-----
MIID5TCCAs2gAwIBAgIJAL/DrP3r+KPNMA0GCSqGSIb3DQEBBQUAMIGHMQswCQYD
VQQGEwJVUzERMA8GA1UECAwITWljaGlnYW4xETAPBgNVBAcMCEhvdWdodG9uMSow
KAYDVQQKDCFNaWNoaWdhbiBUZWNobm9sb2dpY2FsIFVuaXZlcnNpdHkxDjAMBgNV
BAsMBU5FVklTMRYwFAYDVQQDDA1ORVZJUyBBZE5vdnVtMCAXDTE4MDgwNzE0MDA1
NVoYDzIwNTIwNjAzMTQwMDU1WjCBhzELMAkGA1UEBhMCVVMxETAPBgNVBAgMCE1p
Y2hpZ2FuMREwDwYDVQQHDAhIb3VnaHRvbjEqMCgGA1UECgwhTWljaGlnYW4gVGVj
aG5vbG9naWNhbCBVbml2ZXJzaXR5MQ4wDAYDVQQLDAVORVZJUzEWMBQGA1UEAwwN
TkVWSVMgQWROb3Z1bTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAMjP
2nleSeiejSNylAWIMePBnhcs9ZIJO/Jzn6mNMfCGd+4W6gYJx/iCWAHPAqVDe57w
KXPghUflynKhgsIVgCZpzrtVcNlBwfEpIpyp1OxNAgL3qmU1qXZVmJzuFltFUxa8
4GmdG2fbf8JLx4JIZzSbq4qcE1fgpAvNP8uikSieOzWgvQ+M5S/QaXG9OcG0ll7A
ORIhTifO8tNnDhyeDZ1qi8IQbqkHsnSpU18P4TccalhVZv8RWLMl8LQj/KmjJtrh
dMLERYyEjRMXL6D6xsk69zzAVzb5mxVyAWMuQqJ6RGzUDOo9bQnUjVR0r6yrQStG
fWL3CnGl7Z/DXH/5Fk8CAwEAAaNQME4wHQYDVR0OBBYEFLZXF9gf5tdaKc5OS+DT
qgCdB5bJMB8GA1UdIwQYMBaAFLZXF9gf5tdaKc5OS+DTqgCdB5bJMAwGA1UdEwQF
MAMBAf8wDQYJKoZIhvcNAQEFBQADggEBAK9A80OL2d/JOq7KhWjCNT+lGMNA53zE
FrIIqtZijypOK2QmkmqPpgk/RO88y93OVbs+Jbn4xsJI97YjEyBrUbW9oPieZMBd
zDsiJ55+9GzVCCQvAmFXK740Pd4r/txCoykBkTUYr1Ro/gkwwe2xL+y1oT5qoF6I
M1uPlLRARxPryIKdygkHC4TWcwSseIfjfBd/GYRzPjUiYLN5WU4ZpXX1YzAt3m8O
8/UPSE6B9LsTxNBmMmXFC4i62EeJE9NaeSvd5yO1N8rGUlA84TR4zpQ86KyHBlya
gE3jfr2DT0JUpzQhRDWOOQTTh43TmTvPzpdVn0y5AEIto1q8aLpcd+Q=
-----END CERTIFICATE-----</certificate>
<serial>12944643904094573006</serial>
<issuerDn>CN=www.getCertificateISSUER_DN.com</issuerDn>
<subjectDn>CN=www.getCertificateSUBJECT_DN.com</subjectDn>
<subjectKeyIdentifier>1178e0b26a1f4df8c706c51437157cce56f80316</subjectKeyIdentifier>
</certificate>
</return>
</ns2:queryCredentialsResponse>