pub enum PeSignErrorKind {
Show 25 variants
IoError,
InvalidPeFile,
InvalidContentInfo,
InvalidContentType,
InvalidSignedData,
InvalidEncapsulatedContentType,
EmptyEncapsulatedContent,
InvalidSpcIndirectDataContent,
EmptyCertificate,
UnsupportedCertificateFormat,
UnsupportedAlgorithm,
InvalidCertificateExtension,
WrongCertChainBuildParam,
InvalidPEMCertificate,
InvalidPublicKey,
NoFoundSignerInfo,
UnknownSigner,
NoFoundMessageDigest,
InvalidCounterSignature,
InvalidSigningTime,
NoFoundSigningTime,
InvalidTSTInfo,
ExportDerError,
ExportPemError,
Unknown,
}
Variants§
IoError
IO Error.
InvalidPeFile
Invalid PE File.
InvalidContentInfo
Invalid Certificate ContentInfo.
InvalidContentType
Invalid ContentType.
InvalidSignedData
Invalid SignedData.
InvalidEncapsulatedContentType
Invalid Encapsulated ContentType.
EmptyEncapsulatedContent
Empty EncapsulatedContent.
InvalidSpcIndirectDataContent
Invalid SpcIndirectDataContent.
EmptyCertificate
Empty Certificate.
UnsupportedCertificateFormat
Unsupported Certificate Format.
UnsupportedAlgorithm
Unsupported Algorithm.
InvalidCertificateExtension
Invalid Certificate Extension.
WrongCertChainBuildParam
Wrong Certificate Chain Build Param.
InvalidPEMCertificate
Invalid PEM Certificate.
InvalidPublicKey
Invalid Public Key.
NoFoundSignerInfo
No Found SignerInfo.
UnknownSigner
Unknown Signer.
NoFoundMessageDigest
No Found Message Digest.
InvalidCounterSignature
Invalid Counter Signature.
InvalidSigningTime
Invalid SigningTime.
NoFoundSigningTime
No Found SigningTime.
InvalidTSTInfo
Invalid TSTInfo.
ExportDerError
Export as DER Error.
ExportPemError
Export as PEM Error.
Unknown
Unknown Error.
Trait Implementations§
Source§impl Clone for PeSignErrorKind
impl Clone for PeSignErrorKind
Source§fn clone(&self) -> PeSignErrorKind
fn clone(&self) -> PeSignErrorKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PeSignErrorKind
impl Debug for PeSignErrorKind
Source§impl PartialEq for PeSignErrorKind
impl PartialEq for PeSignErrorKind
impl Copy for PeSignErrorKind
impl Eq for PeSignErrorKind
impl StructuralPartialEq for PeSignErrorKind
Auto Trait Implementations§
impl Freeze for PeSignErrorKind
impl RefUnwindSafe for PeSignErrorKind
impl Send for PeSignErrorKind
impl Sync for PeSignErrorKind
impl Unpin for PeSignErrorKind
impl UnwindSafe for PeSignErrorKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more