bc-csharp
bc-csharp copied to clipboard
Extract OCSP reponses from CmsSignedData
Exception while trying to extract OCSPBasic data from the SignedData.crls. RFC 5652 (https://datatracker.ietf.org/doc/html/rfc5652#page-36) defines the crls structure as:
RevocationInfoChoices ::= SET OF RevocationInfoChoice
RevocationInfoChoice ::= CHOICE { crl CertificateList, other [1] IMPLICIT OtherRevocationInfoFormat }
OtherRevocationInfoFormat ::= SEQUENCE { otherRevInfoFormat OBJECT IDENTIFIER, otherRevInfo ANY DEFINED BY otherRevInfoFormat }