Struct ethers::core::k256::elliptic_curve::pkcs8::Attributes [−][src]
pub struct Attributes<'a>(_);
Expand description
Attributes as defined in RFC 5958 Section 2.
attributes is OPTIONAL. It contains information corresponding to the public key (e.g., certificates). The attributes field uses the class
ATTRIBUTE
which is restricted by theOneAsymmetricKeyAttributes
information object set.OneAsymmetricKeyAttributes
is an open ended set in this document. Others documents can constrain these values. Attributes from RFC2985 MAY be supported.
Attributes have the following ASN.1 schema:
Attributes ::= SET OF Attribute { { OneAsymmetricKeyAttributes } }
Trait Implementations
Compute the length of this value in bytes when encoded as ASN.1 DER.
Encode this value as ASN.1 DER using the provided Encoder
.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl<'a> RefUnwindSafe for Attributes<'a>
impl<'a> Send for Attributes<'a>
impl<'a> Sync for Attributes<'a>
impl<'a> Unpin for Attributes<'a>
impl<'a> UnwindSafe for Attributes<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more