scim2 icon indicating copy to clipboard operation
scim2 copied to clipboard

Certificates are not displayed in Base64

Open beldahanit opened this issue 5 years ago • 0 comments

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.

beldahanit avatar Jul 02 '19 09:07 beldahanit