pub enum SigstoreError {
Show 70 variants
UrlParseError(ParseError),
RedirectUrlRequestLineError,
CodePairError,
InvalidKeyFormat {
error: String,
},
IdentityTokenError(String),
UnmatchedKeyAndSigningScheme {
key_typ: String,
scheme: String,
},
X509Error(String),
FromPEMError(PemError),
Base64DecodeError(DecodeError),
PublicKeyUnsupportedAlgorithmError(String),
PublicKeyVerificationError,
CertificateUnsupportedVersionError,
CertificateValidityError(String),
CertificateInvalidEmail(String),
CertificateExpiredBeforeSignaturesSubmittedToRekor {
integrated_time: String,
not_before: String,
},
CertificateIssuedAfterSignaturesSubmittedToRekor {
integrated_time: String,
not_after: String,
},
CertificateWithoutDigitalSignatureKeyUsage,
CertificateWithoutCodeSigningKeyUsage,
CertificateWithoutSubjectAlternativeName,
CertificateWithIncompleteSubjectAlternativeName,
CertificatePoolError(String),
ExpiredSigningSession(),
FulcioClientError(String),
RegistryFetchManifestError {
image: String,
error: String,
},
RegistryPullManifestError {
image: String,
error: String,
},
RegistryPullError {
image: String,
error: String,
},
RegistryPushError {
image: String,
error: String,
},
RekorClientError(String),
JoinError(JoinError),
KeyringError(KeyringError),
SCTError(SCTError),
ReqwestError(Error),
OciReferenceNotValidError {
reference: String,
},
SigstoreBundleMalformedError(String),
SigstoreMediaTypeNotFoundError,
SigstoreLayerDigestMismatchError,
SigstoreAnnotationNotFoundError,
SigstoreRekorBundleNotFoundError,
SigstoreFulcioCertificatesNotProvidedError,
SigstoreNoVerifiedLayer,
TufError(Box<Error>),
TufTargetNotFoundError(String),
TufMetadataError(String),
IOError(Error),
UnexpectedError(String),
VerificationConstraintError(String),
VerificationMaterialError(String),
ApplyConstraintError(String),
ClaimsVerificationError,
ClaimsConfigurationError(ConfigurationError),
ClaimsAccessPointError,
NoIDToken,
PKCS8Error(String),
PKCS8SpkiError(String),
PKCS8DerError(String),
ECDSAError(Error),
ECError(Error),
ScryptKDFInvalidParamsError(InvalidParams),
ScryptKDFInvalidOutputLenError(InvalidOutputLen),
PrivateKeyEncryptError(String),
PrivateKeyDecryptError(String),
SerdeJsonError(Error),
Utf8Error(Utf8Error),
WebPKIError(Error),
KeyParseError(String),
RSAError(Error),
PKCS1Error(Error),
Ed25519PKCS8Error(Error),
X509ParseError(Error),
X509BuilderError(Error),
}
Variants§
UrlParseError(ParseError)
RedirectUrlRequestLineError
CodePairError
InvalidKeyFormat
IdentityTokenError(String)
UnmatchedKeyAndSigningScheme
X509Error(String)
FromPEMError(PemError)
Base64DecodeError(DecodeError)
PublicKeyUnsupportedAlgorithmError(String)
PublicKeyVerificationError
CertificateUnsupportedVersionError
CertificateValidityError(String)
CertificateInvalidEmail(String)
CertificateExpiredBeforeSignaturesSubmittedToRekor
CertificateIssuedAfterSignaturesSubmittedToRekor
CertificateWithoutDigitalSignatureKeyUsage
CertificateWithoutCodeSigningKeyUsage
CertificateWithoutSubjectAlternativeName
CertificateWithIncompleteSubjectAlternativeName
CertificatePoolError(String)
ExpiredSigningSession()
FulcioClientError(String)
RegistryFetchManifestError
RegistryPullManifestError
RegistryPullError
RegistryPushError
RekorClientError(String)
JoinError(JoinError)
KeyringError(KeyringError)
SCTError(SCTError)
ReqwestError(Error)
Available on crate features
fulcio
or oauth
only.OciReferenceNotValidError
SigstoreBundleMalformedError(String)
SigstoreMediaTypeNotFoundError
SigstoreLayerDigestMismatchError
SigstoreAnnotationNotFoundError
SigstoreRekorBundleNotFoundError
SigstoreFulcioCertificatesNotProvidedError
SigstoreNoVerifiedLayer
TufError(Box<Error>)
Available on crate feature
sigstore-trust-root
only.TufTargetNotFoundError(String)
TufMetadataError(String)
IOError(Error)
UnexpectedError(String)
VerificationConstraintError(String)
VerificationMaterialError(String)
ApplyConstraintError(String)
ClaimsVerificationError
ClaimsConfigurationError(ConfigurationError)
ClaimsAccessPointError
NoIDToken
PKCS8Error(String)
PKCS8SpkiError(String)
PKCS8DerError(String)
ECDSAError(Error)
ECError(Error)
ScryptKDFInvalidParamsError(InvalidParams)
ScryptKDFInvalidOutputLenError(InvalidOutputLen)
PrivateKeyEncryptError(String)
PrivateKeyDecryptError(String)
SerdeJsonError(Error)
Utf8Error(Utf8Error)
WebPKIError(Error)
KeyParseError(String)
RSAError(Error)
PKCS1Error(Error)
Ed25519PKCS8Error(Error)
X509ParseError(Error)
X509BuilderError(Error)
Trait Implementations§
Source§impl Debug for SigstoreError
impl Debug for SigstoreError
Source§impl Display for SigstoreError
impl Display for SigstoreError
Source§impl Error for SigstoreError
impl Error for SigstoreError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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()
Source§impl From<ConfigurationError> for SigstoreError
impl From<ConfigurationError> for SigstoreError
Source§fn from(source: ConfigurationError) -> Self
fn from(source: ConfigurationError) -> Self
Converts to this type from the input type.
Source§impl From<DecodeError> for SigstoreError
impl From<DecodeError> for SigstoreError
Source§fn from(source: DecodeError) -> Self
fn from(source: DecodeError) -> Self
Converts to this type from the input type.
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<Error> for SigstoreError
impl From<Error> for SigstoreError
Source§impl From<InvalidOutputLen> for SigstoreError
impl From<InvalidOutputLen> for SigstoreError
Source§fn from(source: InvalidOutputLen) -> Self
fn from(source: InvalidOutputLen) -> Self
Converts to this type from the input type.
Source§impl From<InvalidParams> for SigstoreError
impl From<InvalidParams> for SigstoreError
Source§fn from(source: InvalidParams) -> Self
fn from(source: InvalidParams) -> Self
Converts to this type from the input type.
Source§impl From<JoinError> for SigstoreError
impl From<JoinError> for SigstoreError
Source§impl From<ParseError> for SigstoreError
impl From<ParseError> for SigstoreError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<PemError> for SigstoreError
impl From<PemError> for SigstoreError
Auto Trait Implementations§
impl Freeze for SigstoreError
impl !RefUnwindSafe for SigstoreError
impl Send for SigstoreError
impl Sync for SigstoreError
impl Unpin for SigstoreError
impl !UnwindSafe for SigstoreError
Blanket Implementations§
Source§impl<T> AsErrorSource for Twhere
T: Error + 'static,
impl<T> AsErrorSource for Twhere
T: Error + 'static,
Source§fn as_error_source(&self) -> &(dyn Error + 'static)
fn as_error_source(&self) -> &(dyn Error + 'static)
For maximum effectiveness, this needs to be called as a method
to benefit from Rust’s automatic dereferencing of method
receivers.
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
fn as_unordered(&self) -> &Unordered<T>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string
, but without panic on OOM.