pub fn parse_ap_req(i: &[u8]) -> IResult<&[u8], ApReq<'_>, Error>
👎Deprecated since 0.8.0: Parsing functions are deprecated. Users should instead use the FromDer trait
Expand description
Parse a Kerberos AP Request
AP-REQ ::= [APPLICATION 14] SEQUENCE { pvno [0] INTEGER (5), msg-type [1] INTEGER (14), ap-options [2] APOptions, ticket [3] Ticket, authenticator [4] EncryptedData -- Authenticator } APOptions ::= KerberosFlags -- reserved(0), -- use-session-key(1), -- mutual-required(2)