Struct pkix::x509::PolicyInformation
source · pub struct PolicyInformation {
pub policy_identifier: CertPolicyId,
pub policy_qualifiers: Option<Vec<PolicyQualifierInfo>>,
}
Expand description
PolicyInformation as defined in RFC 5280 Section 4.2.1.4.
PolicyInformation ::= SEQUENCE {
policyIdentifier CertPolicyId,
policyQualifiers SEQUENCE SIZE (1..MAX) OF PolicyQualifierInfo OPTIONAL
}
CertPolicyId ::= OBJECT IDENTIFIER
Fields§
§policy_identifier: CertPolicyId
§policy_qualifiers: Option<Vec<PolicyQualifierInfo>>
Trait Implementations§
source§impl BERDecodable for PolicyInformation
impl BERDecodable for PolicyInformation
source§fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
source§impl Clone for PolicyInformation
impl Clone for PolicyInformation
source§fn clone(&self) -> PolicyInformation
fn clone(&self) -> PolicyInformation
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 PolicyInformation
impl Debug for PolicyInformation
source§impl Hash for PolicyInformation
impl Hash for PolicyInformation
source§impl PartialEq for PolicyInformation
impl PartialEq for PolicyInformation
source§fn eq(&self, other: &PolicyInformation) -> bool
fn eq(&self, other: &PolicyInformation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for PolicyInformation
impl StructuralEq for PolicyInformation
impl StructuralPartialEq for PolicyInformation
Auto Trait Implementations§
impl RefUnwindSafe for PolicyInformation
impl Send for PolicyInformation
impl Sync for PolicyInformation
impl Unpin for PolicyInformation
impl UnwindSafe for PolicyInformation
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