Function parse_encrypted

Source
pub fn parse_encrypted(i: &[u8]) -> IResult<&[u8], EncryptedData<'_>, Error>
👎Deprecated since 0.8.0: Parsing functions are deprecated. Users should instead use the FromDer trait
Expand description

Parse Kerberos EncryptedData

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