pub type SubjectPublicKeyInfoRef<'a> = SubjectPublicKeyInfo<AnyRef<'a>, BitStringRef<'a>>;
Expand description
SubjectPublicKeyInfo
with AnyRef
algorithm parameters, and BitStringRef
params.
Aliased Type§
struct SubjectPublicKeyInfoRef<'a> {
pub algorithm: AlgorithmIdentifier<AnyRef<'a>>,
pub subject_public_key: BitStringRef<'a>,
}
Fields§
§algorithm: AlgorithmIdentifier<AnyRef<'a>>
X.509 AlgorithmIdentifier
for the public key type
subject_public_key: BitStringRef<'a>
Public key data
Trait Implementations§
Source§impl<'a> RefToOwned<'a> for SubjectPublicKeyInfoRef<'a>
impl<'a> RefToOwned<'a> for SubjectPublicKeyInfoRef<'a>
Source§type Owned = SubjectPublicKeyInfo<Any, BitString>
type Owned = SubjectPublicKeyInfo<Any, BitString>
The resulting type after obtaining ownership.
Source§fn ref_to_owned(&self) -> Self::Owned
fn ref_to_owned(&self) -> Self::Owned
Creates a new object taking ownership of the data
Source§impl<Params: Clone, Key: Clone> Clone for SubjectPublicKeyInfo<Params, Key>
impl<Params: Clone, Key: Clone> Clone for SubjectPublicKeyInfo<Params, Key>
Source§fn clone(&self) -> SubjectPublicKeyInfo<Params, Key>
fn clone(&self) -> SubjectPublicKeyInfo<Params, Key>
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<'a: 'k, 'k, Params, Key> DecodeValue<'a> for SubjectPublicKeyInfo<Params, Key>
impl<'a: 'k, 'k, Params, Key> DecodeValue<'a> for SubjectPublicKeyInfo<Params, Key>
Source§impl<'a, Params, Key> EncodeValue for SubjectPublicKeyInfo<Params, Key>
impl<'a, Params, Key> EncodeValue for SubjectPublicKeyInfo<Params, Key>
Source§impl<Params: PartialEq, Key: PartialEq> PartialEq for SubjectPublicKeyInfo<Params, Key>
impl<Params: PartialEq, Key: PartialEq> PartialEq for SubjectPublicKeyInfo<Params, Key>
Source§fn eq(&self, other: &SubjectPublicKeyInfo<Params, Key>) -> bool
fn eq(&self, other: &SubjectPublicKeyInfo<Params, Key>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.