pub struct CertificationRequestInfo {
pub version: u8,
pub subject: Name,
pub subject_public_key_info: SubjectPublicKeyInfo,
pub attributes: OpenSslAttributes,
}
Expand description
CertificationRequestInfo ::= SEQUENCE {
version INTEGER { v1(0) } (v1,...),
subject Name,
subjectPKInfo SubjectPublicKeyInfo{{ PKInfoAlgorithms }},
attributes [0] Attributes{{ CRIAttributes }}
}
Fields§
§version: u8
§subject: Name
§subject_public_key_info: SubjectPublicKeyInfo
§attributes: OpenSslAttributes
Implementations§
Source§impl CertificationRequestInfo
impl CertificationRequestInfo
pub fn new(subject: Name, subject_public_key_info: SubjectPublicKeyInfo) -> Self
pub fn with_attribute(self, attribute: Attribute) -> Self
pub fn add_attribute(&mut self, attribute: Attribute)
Trait Implementations§
Source§impl Clone for CertificationRequestInfo
impl Clone for CertificationRequestInfo
Source§fn clone(&self) -> CertificationRequestInfo
fn clone(&self) -> CertificationRequestInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CertificationRequestInfo
impl Debug for CertificationRequestInfo
Source§impl<'de> Deserialize<'de> for CertificationRequestInfo
impl<'de> Deserialize<'de> for CertificationRequestInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CertificationRequestInfo
impl PartialEq for CertificationRequestInfo
Source§impl Serialize for CertificationRequestInfo
impl Serialize for CertificationRequestInfo
impl StructuralPartialEq for CertificationRequestInfo
Auto Trait Implementations§
impl Freeze for CertificationRequestInfo
impl RefUnwindSafe for CertificationRequestInfo
impl Send for CertificationRequestInfo
impl Sync for CertificationRequestInfo
impl Unpin for CertificationRequestInfo
impl UnwindSafe for CertificationRequestInfo
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