Enum googapis::google::cloud::security::privateca::v1beta1::certificate_authority::SignHashAlgorithm [−][src]
#[repr(i32)]
pub enum SignHashAlgorithm {
Unspecified,
RsaPss2048Sha256,
RsaPss3072Sha256,
RsaPss4096Sha256,
RsaPkcs12048Sha256,
RsaPkcs13072Sha256,
RsaPkcs14096Sha256,
EcP256Sha256,
EcP384Sha384,
}
Expand description
The algorithm of a Cloud KMS CryptoKeyVersion of a
[CryptoKey][google.cloud.kms.v1.CryptoKey] with the
[CryptoKeyPurpose][google.cloud.kms.v1.CryptoKey.CryptoKeyPurpose] value
ASYMMETRIC_SIGN
. These values correspond to the
[CryptoKeyVersionAlgorithm][google.cloud.kms.v1.CryptoKeyVersion.CryptoKeyVersionAlgorithm]
values. For RSA signing algorithms, the PSS algorithms should be preferred,
use PKCS1 algorithms if required for compatibility. For further
recommandations, see
https://cloud.google.com/kms/docs/algorithms#algorithm_recommendations.
Variants
Not specified.
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_2048_SHA256
maps to CryptoKeyVersionAlgorithm. RSA_SIGN_PSS_3072_SHA256
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PSS_4096_SHA256
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_2048_SHA256
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_3072_SHA256
maps to CryptoKeyVersionAlgorithm.RSA_SIGN_PKCS1_4096_SHA256
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P256_SHA256
maps to CryptoKeyVersionAlgorithm.EC_SIGN_P384_SHA384
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
Performs the conversion.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for SignHashAlgorithm
impl Send for SignHashAlgorithm
impl Sync for SignHashAlgorithm
impl Unpin for SignHashAlgorithm
impl UnwindSafe for SignHashAlgorithm
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more