scim2
scim2 copied to clipboard
Certificates are not displayed in Base64
I have implemented a RESTful API using Unboundid SCIM server classes. At one path it returns a user data including certificates. I am using this class to return the certificates com.unboundid.scim2.common.types.X509Certificate this is set on the com.unboundid.scim2.common.types.UserResource by resource.setX509Certificates(certLst);
When I test it I get in an output in JSON: @Produces({MEDIA_TYPE_SCIM, MediaType.APPLICATION_JSON})
data like this
"x509Certificates": [ { "value": [ 48, -126, 6, -104, 48, -126, 4, -128,
However, I would expect according to the RCF: https://tools.ietf.org/html/rfc7643 that this will be displayed in Base64?
Or do I do anything wrong?
Thanks.