pub struct ManualSigningIdentityInput { /* private fields */ }Expand description
Secret, bounded PKCS#12 identity input retained for one remote upload.
This separates the identity from target profiles so multi-target validation never duplicates the private key or password in memory.
Implementations§
Source§impl ManualSigningIdentityInput
impl ManualSigningIdentityInput
Sourcepub fn new(
certificate_pkcs12: SecretBytes,
certificate_password: SecretBytes,
) -> Result<Self, ManualSigningAssetError>
pub fn new( certificate_pkcs12: SecretBytes, certificate_password: SecretBytes, ) -> Result<Self, ManualSigningAssetError>
Validate structural bounds and take ownership of one signing identity.
§Errors
Returns a field-only error without retaining caller-controlled content.
Sourcepub fn into_parts(self) -> (SecretBytes, SecretBytes)
pub fn into_parts(self) -> (SecretBytes, SecretBytes)
Consume the identity into its exact secret buffers.
Auto Trait Implementations§
impl Freeze for ManualSigningIdentityInput
impl RefUnwindSafe for ManualSigningIdentityInput
impl Send for ManualSigningIdentityInput
impl Sync for ManualSigningIdentityInput
impl Unpin for ManualSigningIdentityInput
impl UnsafeUnpin for ManualSigningIdentityInput
impl UnwindSafe for ManualSigningIdentityInput
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