[−][src]Struct google_cloudkms1::ImportCryptoKeyVersionRequest
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:
- 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.
- The key to be imported, wrapped with the ephemeral AES-256 key using AES-KWP (RFC 5649).
If importing symmetric key material, it is expected that the unwrapped key contains plain bytes. If importing asymmetric key material, it is expected that the unwrapped key is in PKCS#8-encoded DER format (the PrivateKeyInfo structure from RFC 5208).
This format is the same as the format produced by PKCS#11 mechanism CKM_RSA_AES_KEY_WRAP.
Trait Implementations
impl Clone for ImportCryptoKeyVersionRequest[src]
fn clone(&self) -> ImportCryptoKeyVersionRequest[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for ImportCryptoKeyVersionRequest[src]
impl Default for ImportCryptoKeyVersionRequest[src]
impl<'de> Deserialize<'de> for ImportCryptoKeyVersionRequest[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
__D: Deserializer<'de>,
impl RequestValue for ImportCryptoKeyVersionRequest[src]
impl Serialize for ImportCryptoKeyVersionRequest[src]
Auto Trait Implementations
impl RefUnwindSafe for ImportCryptoKeyVersionRequest
impl Send for ImportCryptoKeyVersionRequest
impl Sync for ImportCryptoKeyVersionRequest
impl Unpin for ImportCryptoKeyVersionRequest
impl UnwindSafe for ImportCryptoKeyVersionRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>, [src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Typeable for T where
T: Any,
T: Any,