Enum windows_ctl::CtlError
source · pub enum CtlError {
Io(Error),
Der(Error),
ContentType(ContentType),
MissingSignedData,
Content(ObjectIdentifier),
MissingSignedDataContent,
}Expand description
Possible errors while parsing a certificate trust list.
Variants§
Io(Error)
I/O errors.
Der(Error)
Invalid DER.
ContentType(ContentType)
Valid PKCS#7, but the wrong content-type.
MissingSignedData
Valid PKCS#7, but no encapsulated signed-data.
Content(ObjectIdentifier)
Valid PKCS#7 with signed-data, but not a CertificateTrustList.
MissingSignedDataContent
Valid PKCS#7 that claims to have a CertificateTrustList, but not present.
Trait Implementations§
source§impl Error for CtlError
impl Error for CtlError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()