pub struct CryptographicDomainParameters {
pub q_length: Option<i32>,
pub recommended_curve: Option<RecommendedCurve>,
}Expand description
See KMIP 1.0 section 3.7 Cryptographic Domain Parameters.
Fields§
§q_length: Option<i32>§recommended_curve: Option<RecommendedCurve>Implementations§
Source§impl CryptographicDomainParameters
impl CryptographicDomainParameters
pub fn with_q_length(self, value: i32) -> Self
pub fn with_recommended_curve(self, value: RecommendedCurve) -> Self
Source§impl CryptographicDomainParameters
impl CryptographicDomainParameters
pub const TAG: Tag
pub const Q_LENGTH_TAG: Tag
pub fn fast_scan(scanner: &mut FastScanner<'_>) -> Result<Self, FastScanError>
pub fn fast_scan_with( scanner: &mut FastScanner<'_>, tag: Tag, ) -> Result<Self, FastScanError>
pub fn format(&self, formatter: &mut Formatter<'_>) -> FormatResult
pub fn format_with( &self, formatter: &mut Formatter<'_>, tag: Tag, ) -> FormatResult
Trait Implementations§
impl Copy for CryptographicDomainParameters
impl Eq for CryptographicDomainParameters
Source§impl From<CryptographicDomainParameters> for AttributeValue
impl From<CryptographicDomainParameters> for AttributeValue
Source§fn from(params: CryptographicDomainParameters) -> Self
fn from(params: CryptographicDomainParameters) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for CryptographicDomainParameters
Auto Trait Implementations§
impl Forget for CryptographicDomainParameters
impl Freeze for CryptographicDomainParameters
impl RefUnwindSafe for CryptographicDomainParameters
impl Send for CryptographicDomainParameters
impl Sync for CryptographicDomainParameters
impl Unpin for CryptographicDomainParameters
impl UnsafeUnpin for CryptographicDomainParameters
impl UnwindSafe for CryptographicDomainParameters
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