pub struct ChallengePassword(pub DirectoryString);Expand description
ChallengePassword as defined in RFC 2985 Section 5.4.1
challengePassword ATTRIBUTE ::= {
WITH SYNTAX DirectoryString {pkcs-9-ub-challengePassword}
EQUALITY MATCHING RULE caseExactMatch
SINGLE VALUE TRUE
ID pkcs-9-at-challengePassword
}Tuple Fields§
§0: DirectoryStringTrait Implementations§
Source§impl AsAttribute for ChallengePassword
impl AsAttribute for ChallengePassword
Source§fn to_attribute(&self) -> Result<Attribute>
fn to_attribute(&self) -> Result<Attribute>
Returns the Attribute with the content encoded.
Source§impl AssociatedOid for ChallengePassword
impl AssociatedOid for ChallengePassword
Source§const OID: ObjectIdentifier
const OID: ObjectIdentifier
The OID associated with this type.
Source§impl EncodeValue for ChallengePassword
impl EncodeValue for ChallengePassword
Auto Trait Implementations§
impl Freeze for ChallengePassword
impl RefUnwindSafe for ChallengePassword
impl Send for ChallengePassword
impl Sync for ChallengePassword
impl Unpin for ChallengePassword
impl UnsafeUnpin for ChallengePassword
impl UnwindSafe for ChallengePassword
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> 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 T
impl<T> Encode for T
Source§fn encoded_len(&self) -> Result<Length, Error>
fn encoded_len(&self) -> Result<Length, Error>
Compute the length of this TLV object in bytes when encoded as ASN.1 DER. Read more
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 TLV object to the provided byte slice, returning a sub-slice
containing the encoded message. Read more