- Enroll disposable certificate with eID assertion
Enrolls a disposable certificate using an eID assertion. Returns certificate details and OTP identifier (if otpType=SMS or otpType=EMAIL). See enrollDisposableWitheIDAssertion and How to enroll with eID assertion.
eID assertion holder data. Contains the eID type, country, and base64-encoded assertion.
Certificate configuration. Specifies password, security code, certificate type, and OTP type.
Contact information. Required if certificate.otpType=SMS (provide mobile) or certificate.otpType=EMAIL (provide email).
- Production environmenthttps://lean.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/enrollDisposableWitheIDAssertion
- Development and testing environmenthttps://lean.test.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/enrollDisposableWitheIDAssertion
Enroll with IT-EIDNAMIRIAL eID assertion. The assertion is a base64-encoded JSON with current iat timestamp.
curl -i -X POST \
-u '<username>:<password>' \
'https://lean.namirialtsp.com/RAWS_DISPOSABLE/api/certificate/{lraId}/enrollDisposableWitheIDAssertion' \
-H 'Content-Type: application/json' \
-d '{
"eidAssertionHolder": {
"country": "IT",
"eIDType": "EIDNAMIRIAL",
"assertion": "eyJnaXZlbl9uYW1lIjoiTWFyaW8iLCJmYW1pbHlfbmFtZSI6IlJvc3NpIiwicGVyc29uX2lkZW50aWZpZXIiOiJUSU5JVC1SU1NNUkE4MEEwMUg1MDFVIiwiYmlydGhfZGF0ZSI6IjE5ODAtMDEtMDEiLCJkb2NfdHlwZSI6Ik5BVElPTkFMX0lERU5USVRZX0NBUkQiLCJjb3VudHJ5IjoiSVQiLCJycF9uYW1lIjoiTmFtaXJpYWwgVGVzdCBSUCIsInJwX2lkIjoidGVzdC1ycC0wMDEiLCJvcmlnaW5hbF9hc3NlcnRpb24iOiJiYXNlNjRfZW5jb2RlZF9zYW1sX2Fzc2VydGlvbl9oZXJlIiwiaWF0IjoxNzA5NTY4MDAwfQ=="
},
"contacts": {
"mobile": "+390000000000"
},
"certificate": {
"fullData": false,
"otpType": "SMS",
"password": "Password01",
"securityCode": "Security01",
"type": "DISPOSABLE"
}
}'Disposable certificate enrolled successfully. Returns certificate details and OTP identifier (if applicable). See DisposableIssued.
Certificate type, as specified in disposableCertificate.type.
OTP certificate identifier. Pass this value to sendOtp and validate. null if otpType=NO_OTP or otpType=EXTERNAL_OTP.
{ "cert": "string", "certType": "DISPOSABLE", "certUsageLimit": "string", "certSerialNumber": "60F2373BFCEB569E", "certIdOtp": 1234567, "deviceCode": "RHIDP0000000000000" }