[][src]Struct google_cloudkms1::ImportCryptoKeyVersionRequest

pub struct ImportCryptoKeyVersionRequest {
    pub import_job: Option<String>,
    pub algorithm: Option<String>,
    pub rsa_aes_wrapped_key: Option<String>,
}

Request message for KeyManagementService.ImportCryptoKeyVersion.

Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields

import_job: Option<String>

Required. The name of the ImportJob that was used to wrap this key material.

algorithm: Option<String>

Required. The algorithm of the key being imported. This does not need to match the version_template of the CryptoKey this version imports into.

rsa_aes_wrapped_key: Option<String>

Wrapped key material produced with RSA_OAEP_3072_SHA1_AES_256 or RSA_OAEP_4096_SHA1_AES_256.

This field contains the concatenation of two wrapped keys:

  1. An ephemeral AES-256 wrapping key wrapped with the public_key using RSAES-OAEP with SHA-1, MGF1 with SHA-1, and an empty label.
  2. The key to be imported, wrapped with the ephemeral AES-256 key using AES-KWP (RFC 5649).

This format is the same as the format produced by PKCS#11 mechanism CKM_RSA_AES_KEY_WRAP.

Trait Implementations

impl RequestValue for ImportCryptoKeyVersionRequest[src]

impl Clone for ImportCryptoKeyVersionRequest[src]

impl Default for ImportCryptoKeyVersionRequest[src]

impl Debug for ImportCryptoKeyVersionRequest[src]

impl Serialize for ImportCryptoKeyVersionRequest[src]

impl<'de> Deserialize<'de> for ImportCryptoKeyVersionRequest[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T, U> Into<U> for T where
    U: From<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 = !

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]