I have the same code but for all certificates I'm getting this certStatus. As I know from RFC2560 specification the tagNumber: 2 means status uknown. Can you help me with that, where is the issue? Thank you in advance
certStatus: Primitive {
blockLength: 2,
error: '',
warnings: [],
valueBeforeDecodeView: Uint8Array(2) [ 130, 0 ],
name: '',
optional: false,
idBlock: LocalIdentificationBlock {
blockLength: 1,
error: '',
warnings: [],
valueBeforeDecodeView: Uint8Array(0) [],
isHexOnly: false,
valueHexView: Uint8Array(0) [],
tagClass: 3,
tagNumber: 2,
isConstructed: false
},
lenBlock: LocalLengthBlock {
blockLength: 1,
error: '',
warnings: [],
valueBeforeDecodeView: Uint8Array(0) [],
isIndefiniteForm: false,
longFormUsed: false,
length: 0
},
valueBlock: LocalPrimitiveValueBlock {
blockLength: 0,
error: '',
warnings: [Array],
valueBeforeDecodeView: Uint8Array(0) [],
isHexOnly: true,
valueHexView: Uint8Array(0) []
}
}
And here is the example request
const res = await checkCertificateWithOcsp({
issuerKeyHash:
"f822fe8c66c80c18584716f9d017386399e9fc0146f395b89c02b3e3c223e192",
issuerNameHash:
"ab3060ce70e9bb1e343422e4446e5f0182ba5e859c5fc15d0879396f43b4d50e",
responderURL: "http://ocsp-qa.hubject.com:8080",
serialNumber: "70D1D93DFED232C9E92DB26F3A0B5462",
});