Function kerberos_parser::krb5_parser::parse_encrypted[][src]

pub fn parse_encrypted(i: &[u8]) -> IResult<&[u8], EncryptedData<'_>, BerError>
Expand description

Parse Kerberos EncryptedData

EncryptedData   ::= SEQUENCE {
        etype   [0] Int32 -- EncryptionType --,
        kvno    [1] UInt32 OPTIONAL,
        cipher  [2] OCTET STRING -- ciphertext
}