pub struct PqcKeySpec {
pub public_usages: KeyUsageRequest,
pub private_usages: KeyUsageRequest,
pub private_visibility: ObjectVisibility,
pub public_admission: ObjectAdmission,
pub private_admission: ObjectAdmission,
pub algorithm: PqcAlgorithm,
pub id: Vec<u8>,
pub label: String,
pub persistent: bool,
}Expand description
Native PQC generation selector. Private bytes are never supplied or returned.
Fields§
§public_usages: KeyUsageRequestExact native public-key usage requests, independent of observations.
private_usages: KeyUsageRequestExact native private-key usage requests, independent of observations.
private_visibility: ObjectVisibilityExact CKA_PRIVATE request for the private native object.
public_admission: ObjectAdmissionIndependent observations for the public object, when produced.
private_admission: ObjectAdmissionIndependent observations for the private object, when produced.
algorithm: PqcAlgorithmExact standardized parameter set.
id: Vec<u8>Native CKA_ID bytes; destination observations are selected independently.
label: StringUTF-8 native label; no library-defined presentation policy.
persistent: boolToken objects require an authorized read/write session. Session objects remain attached to the creating session and are not portable handles.
Auto Trait Implementations§
impl Freeze for PqcKeySpec
impl RefUnwindSafe for PqcKeySpec
impl Send for PqcKeySpec
impl Sync for PqcKeySpec
impl Unpin for PqcKeySpec
impl UnsafeUnpin for PqcKeySpec
impl UnwindSafe for PqcKeySpec
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