[][src]Struct sdkms::api_model::UnwrapKeyRequest

pub struct UnwrapKeyRequest {
    pub key: Option<SobjectDescriptor>,
    pub alg: Algorithm,
    pub obj_type: ObjectType,
    pub rsa: Option<RsaOptions>,
    pub wrapped_key: Blob,
    pub mode: Option<CryptMode>,
    pub iv: Option<Blob>,
    pub ad: Option<Blob>,
    pub tag: Option<Blob>,
    pub name: Option<String>,
    pub group_id: Option<Uuid>,
    pub enabled: Option<bool>,
    pub description: Option<String>,
    pub custom_metadata: Option<HashMap<String, String>>,
    pub key_ops: Option<KeyOperations>,
    pub transient: Option<bool>,
}

Request to perform key unwrapping.

Fields

key: Option<SobjectDescriptor>alg: Algorithmobj_type: ObjectType

Object type of the key being unwrapped.

rsa: Option<RsaOptions>wrapped_key: Blob

A Security Object previously wrapped with another key.

mode: Option<CryptMode>

Mode is required for symmetric algorithms.

iv: Option<Blob>

Initialization vector is required for symmetric algorithms.

ad: Option<Blob>

Authenticated data is only applicable if mode is GCM.

tag: Option<Blob>

Tag is required if mode is GCM.

name: Option<String>

Name to be given to the resulting security object if persisted.

group_id: Option<Uuid>

Group ID of the security group that the resulting security object should belong to. The user or application creating this security object must be a member of this group. If no group is specified, the default group for the requesting application will be used.

enabled: Option<bool>description: Option<String>custom_metadata: Option<HashMap<String, String>>

User-defined metadata for the resulting key stored as key-value pairs.

key_ops: Option<KeyOperations>

Optional array of key operations to be enabled for the resulting security object. If not provided the service will provide a default set of key operations. Note that if you provide an empty array, all key operations will be disabled.

transient: Option<bool>

Trait Implementations

impl Clone for UnwrapKeyRequest[src]

impl Debug for UnwrapKeyRequest[src]

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

impl Eq for UnwrapKeyRequest[src]

impl PartialEq<UnwrapKeyRequest> for UnwrapKeyRequest[src]

impl Serialize for UnwrapKeyRequest[src]

impl StructuralEq for UnwrapKeyRequest[src]

impl StructuralPartialEq for UnwrapKeyRequest[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<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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 = 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<T> Typeable for T where
    T: Any