pub struct ManualSigningAssetsInput { /* private fields */ }Expand description
Secret, bounded inputs for one manual-signing identity and profile.
This type deliberately implements neither Clone, Debug, serialization,
nor field accessors. All three byte buffers are overwritten by
SecretBytes when cleared or dropped.
Implementations§
Source§impl ManualSigningAssetsInput
impl ManualSigningAssetsInput
Sourcepub fn new(
certificate_pkcs12: SecretBytes,
certificate_password: SecretBytes,
provisioning_profile: SecretBytes,
) -> Result<Self, ManualSigningAssetError>
pub fn new( certificate_pkcs12: SecretBytes, certificate_password: SecretBytes, provisioning_profile: SecretBytes, ) -> Result<Self, ManualSigningAssetError>
Validate input bounds and take ownership of all secret buffers.
Empty PKCS#12 passwords are supported.
§Errors
Returns a field-only error for empty, oversized, non-UTF-8, or NUL-containing input. No input content is retained in the error.
Sourcepub fn into_parts(self) -> (SecretBytes, SecretBytes, SecretBytes)
pub fn into_parts(self) -> (SecretBytes, SecretBytes, SecretBytes)
Consume the input into the exact secret buffers supplied by the caller.
This is intended for forwarding already-validated assets to a remote
worker without rereading or duplicating them. Each returned buffer
remains protected by SecretBytes and is overwritten when dropped.
Auto Trait Implementations§
impl Freeze for ManualSigningAssetsInput
impl RefUnwindSafe for ManualSigningAssetsInput
impl Send for ManualSigningAssetsInput
impl Sync for ManualSigningAssetsInput
impl Unpin for ManualSigningAssetsInput
impl UnsafeUnpin for ManualSigningAssetsInput
impl UnwindSafe for ManualSigningAssetsInput
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
Mutably borrows from an owned value. Read more