IceSSL: getSubjectAlternativeNames() doesn't work
I have a self signed certificate that has subject alternative names in it. Example:
Version: 3 (0x2)
Serial Number: 699767278 (0x29b599ee)
Signature Algorithm: sha256WithRSAEncryption
Issuer: O = HP ZCentral Remote Boost, CN = test
Not Before: Mar 25 20:07:26 2021 GMT
Not After : Mar 25 20:07:26 2022 GMT
Subject: O = HP ZCentral Remote Boost, CN = test
Subject Public Key Info:
Public Key Algorithm: rsaEncryption
RSA Public-Key: (2048 bit)
Exponent: 65537 (0x10001)
X509v3 Subject Alternative Name:
The cert is loaded in an IceSSL::Certificate. When I call getSubjectAlternativeNames(), nothing is returned.
If I use the approach of getX509Extension(oid) followed by getData(), it works, but the data is in raw format and not nicely parsed into a vector of values.
Why doesn't getSubjectAlternativeNames() work? Is it indended for a different type of format in the certificate?