[][src]Enum gcp_client::google::cloud::kms::v1::import_job::ImportMethod

#[repr(i32)]pub enum ImportMethod {
    Unspecified,
    RsaOaep3072Sha1Aes256,
    RsaOaep4096Sha1Aes256,
}

[ImportMethod][google.cloud.kms.v1.ImportJob.ImportMethod] describes the key wrapping method chosen for this [ImportJob][google.cloud.kms.v1.ImportJob].

Variants

Unspecified

Not specified.

RsaOaep3072Sha1Aes256

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 3072 bit RSA key. For more details, see RSA AES key wrap mechanism.

RsaOaep4096Sha1Aes256

This ImportMethod represents the CKM_RSA_AES_KEY_WRAP key wrapping scheme defined in the PKCS #11 standard. In summary, this involves wrapping the raw key with an ephemeral AES key, and wrapping the ephemeral AES key with a 4096 bit RSA key. For more details, see RSA AES key wrap mechanism.

Implementations

impl ImportMethod[src]

pub fn is_valid(value: i32) -> bool[src]

Returns true if value is a variant of ImportMethod.

pub fn from_i32(value: i32) -> Option<ImportMethod>[src]

Converts an i32 to a ImportMethod, or None if value is not a valid variant.

Trait Implementations

impl Clone for ImportMethod[src]

impl Copy for ImportMethod[src]

impl Debug for ImportMethod[src]

impl Default for ImportMethod[src]

impl Eq for ImportMethod[src]

impl From<ImportMethod> for i32[src]

impl Hash for ImportMethod[src]

impl Ord for ImportMethod[src]

impl PartialEq<ImportMethod> for ImportMethod[src]

impl PartialOrd<ImportMethod> for ImportMethod[src]

impl StructuralEq for ImportMethod[src]

impl StructuralPartialEq for ImportMethod[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]