pub struct AttributeCertificateInfo {
pub version: AttCertVersion,
pub holder: Holder,
pub issuer: AttCertIssuer,
pub signature: AlgorithmIdentifier,
pub serial_number: CertificateSerialNumber,
pub attr_cert_validity_period: AttCertValidityPeriod,
pub attributes: Vec<Attribute>,
pub issuer_unique_ud: Option<UniqueIdentifier>,
pub extensions: Option<Extensions>,
}
Expand description
Attribute certificate info.
AttributeCertificateInfo ::= SEQUENCE {
version AttCertVersion -- version is v2,
holder Holder,
issuer AttCertIssuer,
signature AlgorithmIdentifier,
serialNumber CertificateSerialNumber,
attrCertValidityPeriod AttCertValidityPeriod,
attributes SEQUENCE OF Attribute,
issuerUniqueID UniqueIdentifier OPTIONAL,
extensions Extensions OPTIONAL
}
Fields§
§version: AttCertVersion
§holder: Holder
§issuer: AttCertIssuer
§signature: AlgorithmIdentifier
§serial_number: CertificateSerialNumber
§attr_cert_validity_period: AttCertValidityPeriod
§attributes: Vec<Attribute>
§issuer_unique_ud: Option<UniqueIdentifier>
§extensions: Option<Extensions>
Implementations§
source§impl AttributeCertificateInfo
impl AttributeCertificateInfo
pub fn take_from<S: Source>( cons: &mut Constructed<'_, S> ) -> Result<Self, DecodeError<S::Error>>
Trait Implementations§
source§impl Clone for AttributeCertificateInfo
impl Clone for AttributeCertificateInfo
source§fn clone(&self) -> AttributeCertificateInfo
fn clone(&self) -> AttributeCertificateInfo
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 AttributeCertificateInfo
impl Debug for AttributeCertificateInfo
source§impl PartialEq for AttributeCertificateInfo
impl PartialEq for AttributeCertificateInfo
source§fn eq(&self, other: &AttributeCertificateInfo) -> bool
fn eq(&self, other: &AttributeCertificateInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for AttributeCertificateInfo
impl StructuralEq for AttributeCertificateInfo
impl StructuralPartialEq for AttributeCertificateInfo
Auto Trait Implementations§
impl RefUnwindSafe for AttributeCertificateInfo
impl Send for AttributeCertificateInfo
impl Sync for AttributeCertificateInfo
impl Unpin for AttributeCertificateInfo
impl UnwindSafe for AttributeCertificateInfo
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.