Searched refs:from_base64_cbor (Results 1 – 2 of 2) sorted by relevance
14 pub fn from_base64_cbor<S: AsRef<[u8]>>(session: &Session, base64: &S) -> Result<Self> { in from_base64_cbor() method137 let csr = Csr::from_base64_cbor(&Session::default(), &input).unwrap(); in from_base64_valid_v2()157 let csr = Csr::from_base64_cbor(&Session::default(), &input).unwrap(); in from_base64_valid_v3()189 let err = Csr::from_base64_cbor(&Session::default(), &"").unwrap_err(); in from_empty_string()195 let err = Csr::from_base64_cbor(&Session::default(), &"cnViYmlzaAo=").unwrap_err(); in from_garbage()201 let err = Csr::from_base64_cbor(&Session::default(), &"not base64").unwrap_err(); in from_invalid_base64()
41 let csr = Csr::from_base64_cbor(session, &base64)?; in from_map()