[−][src]Struct kerberos_asn1::S4uUserId
(S4UUserID) Used in PA-S4U-X509-USER, to specify the user certificate. Defined in MS-SFU, section 2.2.2.
S4UUserID ::= SEQUENCE {
nonce [0] UInt32, -- the nonce in KDC-REQ-BODY
cname [1] PrincipalName OPTIONAL,
-- Certificate mapping hints
crealm [2] Realm,
subject-certificate [3] OCTET STRING OPTIONAL,
options [4] BIT STRING OPTIONAL,
...
}
Fields
nonce: UInt32
cname: Option<PrincipalName>
crealm: Realm
subject_certificate: Option<OctetString>
options: Option<BitString>
Trait Implementations
impl Asn1Object for S4uUserId
[src]
pub fn tag() -> Tag
[src]
pub fn build(&self) -> Vec<u8>
[src]
pub fn parse(raw: &[u8]) -> Result<(&[u8], Self)>
[src]
pub fn build_value(&self) -> Vec<u8>
[src]
pub fn parse_value(&mut self, raw: &[u8]) -> Result<()>
[src]
impl Clone for S4uUserId
[src]
impl Debug for S4uUserId
[src]
impl Default for S4uUserId
[src]
impl PartialEq<S4uUserId> for S4uUserId
[src]
impl StructuralPartialEq for S4uUserId
[src]
Auto Trait Implementations
impl RefUnwindSafe for S4uUserId
[src]
impl Send for S4uUserId
[src]
impl Sync for S4uUserId
[src]
impl Unpin for S4uUserId
[src]
impl UnwindSafe for S4uUserId
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,