pub enum SvidAlg {
EdDsa,
Rs256,
Es256,
Es384,
}Expand description
The JWS alg for a JWT-SVID, derived from the issuer key’s catalog key type.
EdDSA is raw Ed25519 (RFC 8037); RS256 is RSASSA-PKCS1-v1_5 over SHA-256;
ES256 is ECDSA P-256 over SHA-256 and ES384 is ECDSA P-384 over SHA-384,
both with raw fixed-width r || s signatures. In all cases the backend
signs the signing input, so the private key never leaves the vault.
Variants§
EdDsa
Ed25519 issuer (ed25519 / ed25519-nkey).
Rs256
RSA-2048 issuer (rsa-2048).
Es256
ECDSA P-256 issuer (ecdsa-p256).
Es384
ECDSA P-384 issuer (ecdsa-p384).
Trait Implementations§
impl Copy for SvidAlg
impl Eq for SvidAlg
impl StructuralPartialEq for SvidAlg
Auto Trait Implementations§
impl Freeze for SvidAlg
impl RefUnwindSafe for SvidAlg
impl Send for SvidAlg
impl Sync for SvidAlg
impl Unpin for SvidAlg
impl UnsafeUnpin for SvidAlg
impl UnwindSafe for SvidAlg
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request