#[non_exhaustive]pub struct CreateRawRsaKeyringInput {
pub key_name: Option<String>,
pub key_namespace: Option<String>,
pub padding_scheme: Option<PaddingScheme>,
pub private_key: Option<Blob>,
pub public_key: Option<Blob>,
}Expand description
Inputs for creating a Raw RAW Keyring.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.key_name: Option<String>A name associated with this wrapping key.
key_namespace: Option<String>A namespace associated with this wrapping key.
padding_scheme: Option<PaddingScheme>The RSA padding scheme to use with this keyring.
private_key: Option<Blob>The private RSA Key responsible for wrapping data keys, as a UTF8 encoded, PEM encoded PKCS #8 PrivateKeyInfo structure. If not specified, this Keyring cannot be used on decrypt. A public key and/or a private key must be specified.
public_key: Option<Blob>The public RSA Key responsible for wrapping data keys, as a UTF8 encoded, PEM encoded X.509 SubjectPublicKeyInfo structure. If not specified, this Keyring cannot be used on encrypt. A public key and/or a private key must be specified.
Implementations§
Source§impl CreateRawRsaKeyringInput
impl CreateRawRsaKeyringInput
Sourcepub fn key_namespace(&self) -> &Option<String>
pub fn key_namespace(&self) -> &Option<String>
A namespace associated with this wrapping key.
Sourcepub fn padding_scheme(&self) -> &Option<PaddingScheme>
pub fn padding_scheme(&self) -> &Option<PaddingScheme>
The RSA padding scheme to use with this keyring.
Sourcepub fn private_key(&self) -> &Option<Blob>
pub fn private_key(&self) -> &Option<Blob>
The private RSA Key responsible for wrapping data keys, as a UTF8 encoded, PEM encoded PKCS #8 PrivateKeyInfo structure. If not specified, this Keyring cannot be used on decrypt. A public key and/or a private key must be specified.
Sourcepub fn public_key(&self) -> &Option<Blob>
pub fn public_key(&self) -> &Option<Blob>
The public RSA Key responsible for wrapping data keys, as a UTF8 encoded, PEM encoded X.509 SubjectPublicKeyInfo structure. If not specified, this Keyring cannot be used on encrypt. A public key and/or a private key must be specified.
Source§impl CreateRawRsaKeyringInput
impl CreateRawRsaKeyringInput
Sourcepub fn builder() -> CreateRawRsaKeyringInputBuilder
pub fn builder() -> CreateRawRsaKeyringInputBuilder
Creates a new builder-style object to manufacture CreateRawRsaKeyringInput.
Trait Implementations§
Source§impl Clone for CreateRawRsaKeyringInput
impl Clone for CreateRawRsaKeyringInput
Source§fn clone(&self) -> CreateRawRsaKeyringInput
fn clone(&self) -> CreateRawRsaKeyringInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateRawRsaKeyringInput
impl Debug for CreateRawRsaKeyringInput
Source§impl PartialEq for CreateRawRsaKeyringInput
impl PartialEq for CreateRawRsaKeyringInput
impl StructuralPartialEq for CreateRawRsaKeyringInput
Auto Trait Implementations§
impl Freeze for CreateRawRsaKeyringInput
impl RefUnwindSafe for CreateRawRsaKeyringInput
impl Send for CreateRawRsaKeyringInput
impl Sync for CreateRawRsaKeyringInput
impl Unpin for CreateRawRsaKeyringInput
impl UnwindSafe for CreateRawRsaKeyringInput
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more