pub struct ServiceLocator {
pub issuer: Name,
pub locator: Option<AuthorityInfoAccessSyntax>,
}Expand description
ServiceLocator structure as defined in RFC 6960 Section 4.4.6.
ServiceLocator ::= SEQUENCE {
issuer Name,
locator AuthorityInfoAccessSyntax }Fields§
§issuer: Name§locator: Option<AuthorityInfoAccessSyntax>Trait Implementations§
Source§impl AsExtension for ServiceLocator
impl AsExtension for ServiceLocator
Source§impl AssociatedOid for ServiceLocator
impl AssociatedOid for ServiceLocator
Source§const OID: ObjectIdentifier = ID_PKIX_OCSP_SERVICE_LOCATOR
const OID: ObjectIdentifier = ID_PKIX_OCSP_SERVICE_LOCATOR
The OID associated with this type.
Source§impl Clone for ServiceLocator
impl Clone for ServiceLocator
Source§fn clone(&self) -> ServiceLocator
fn clone(&self) -> ServiceLocator
Returns a duplicate 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 ServiceLocator
impl Debug for ServiceLocator
Source§impl<'__der_lifetime> DecodeValue<'__der_lifetime> for ServiceLocator
impl<'__der_lifetime> DecodeValue<'__der_lifetime> for ServiceLocator
Source§impl<'__der_lifetime> EncodeValue for ServiceLocator
impl<'__der_lifetime> EncodeValue for ServiceLocator
Source§impl PartialEq for ServiceLocator
impl PartialEq for ServiceLocator
impl Eq for ServiceLocator
impl<'__der_lifetime> Sequence<'__der_lifetime> for ServiceLocator
impl StructuralPartialEq for ServiceLocator
Auto Trait Implementations§
impl Freeze for ServiceLocator
impl RefUnwindSafe for ServiceLocator
impl Send for ServiceLocator
impl Sync for ServiceLocator
impl Unpin for ServiceLocator
impl UnwindSafe for ServiceLocator
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
impl<'a, T> Decode<'a> for Twhere
T: DecodeValue<'a> + FixedTag,
Source§impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
impl<T> DynAssociatedOid for Twhere
T: AssociatedOid,
Source§fn oid(&self) -> ObjectIdentifier
fn oid(&self) -> ObjectIdentifier
Get the OID associated with this value.
Source§impl<T> Encode for Twhere
T: EncodeValue + Tagged,
impl<T> Encode for Twhere
T: EncodeValue + Tagged,
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this value in bytes when encoded as ASN.1 DER.
Source§fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
fn encode(&self, writer: &mut impl Writer) -> Result<(), Error>
Encode this value as ASN.1 DER using the provided Writer.
Source§fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
fn encode_to_slice<'a>(&self, buf: &'a mut [u8]) -> Result<&'a [u8], Error>
Encode this value to the provided byte slice, returning a sub-slice
containing the encoded message.