pub enum CertificateSource {
File(PathBuf),
Fulcio(String),
}Expand description
How the certificate is obtained for Rekor submissions.
Variants§
File(PathBuf)
Load from a PEM file on disk.
Fulcio(String)
Obtain from Fulcio using an OIDC identity token. The DSSE envelope will be signed with an ephemeral ECDSA P-256 key.
Auto Trait Implementations§
impl Freeze for CertificateSource
impl RefUnwindSafe for CertificateSource
impl Send for CertificateSource
impl Sync for CertificateSource
impl Unpin for CertificateSource
impl UnsafeUnpin for CertificateSource
impl UnwindSafe for CertificateSource
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