PEM certificate
hexadecimal string of ASN.1 IssuerSerial of certificate
This function will return a hexadecimal string of IssuerSerial of the certificate.
IssuerSerial ::= SEQUENCE {
issuer GeneralNames,
serialNumber CertificateSerialNumber }
Here is a ASN.1 dump of an hexadecimal string output of this function.
SEQUENCE {
SEQUENCE {
[4] {
SEQUENCE {
SET {
SEQUENCE {
OBJECT IDENTIFIER countryName (2 5 4 6)
PrintableString 'JP'
}
}
SET {
SEQUENCE {
OBJECT IDENTIFIER organizationName (2 5 4 10)
UTF8String 'T-P256-ES-256'
}
}
}
}
}
INTEGER 1
}
0.2.0
RFC5035 Section 4. IssuerSerial
certtoIssuerSerialHex("-----BEGIN CERT...") -> "302531..."
get IssuerSerial hexadecimal value from certificate PEM