pub struct VerifySignedDataRequestBuilder { /* private fields */ }
Expand description
Builder for VerifySignedDataRequest
.
Implementations§
source§impl VerifySignedDataRequestBuilder
impl VerifySignedDataRequestBuilder
pub fn mount<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn name<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
sourcepub fn hash_algorithm<VALUE: Into<HashAlgorithm>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn hash_algorithm<VALUE: Into<HashAlgorithm>>( &mut self, value: VALUE, ) -> &mut Self
Specifies the hash algorithm to use.
sourcepub fn input<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn input<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies the base64 encoded input data.
sourcepub fn signature<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn signature<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies the signature output from the /transit/sign function. Either this must be supplied or hmac must be supplied.
sourcepub fn hmac<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn hmac<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Specifies the signature output from the /transit/hmac function. Either this must be supplied or signature must be supplied.
sourcepub fn context<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn context<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
Base64 encoded context for key derivation. Required if key derivation is enabled; currently only available with ed25519 keys.
sourcepub fn prehashed<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn prehashed<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Set to true when the input is already hashed. If the key type is rsa-2048, rsa-3072 or rsa-4096, then the algorithm used to hash the input should be indicated by the hash_algorithm parameter.
sourcepub fn signature_algorithm<VALUE: Into<SignatureAlgorithm>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn signature_algorithm<VALUE: Into<SignatureAlgorithm>>( &mut self, value: VALUE, ) -> &mut Self
When using a RSA key, specifies the RSA signature algorithm to use for signature verification.
sourcepub fn marshaling_algorithm<VALUE: Into<MarshalingAlgorithm>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn marshaling_algorithm<VALUE: Into<MarshalingAlgorithm>>( &mut self, value: VALUE, ) -> &mut Self
Specifies the way in which the signature was originally marshaled. This currently only applies to ECDSA keys.
sourcepub fn build(
&self,
) -> Result<VerifySignedDataRequest, VerifySignedDataRequestBuilderError>
pub fn build( &self, ) -> Result<VerifySignedDataRequest, VerifySignedDataRequestBuilderError>
Trait Implementations§
source§impl Clone for VerifySignedDataRequestBuilder
impl Clone for VerifySignedDataRequestBuilder
source§fn clone(&self) -> VerifySignedDataRequestBuilder
fn clone(&self) -> VerifySignedDataRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for VerifySignedDataRequestBuilder
impl RefUnwindSafe for VerifySignedDataRequestBuilder
impl Send for VerifySignedDataRequestBuilder
impl Sync for VerifySignedDataRequestBuilder
impl Unpin for VerifySignedDataRequestBuilder
impl UnwindSafe for VerifySignedDataRequestBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)