Searched defs:CoseKey (Results 1 – 4 of 4) sorted by relevance
26 pub fn validate_public_key(maced_public_key: &[u8], hmac_key: &[u8]) -> Result<CoseKey> { in validate_public_key()43 pub fn build_maced_public_key(public_key: CoseKey, hmac_key: &[u8]) -> Result<Vec<u8>> { in build_maced_public_key()
122 pub fn get_label_value_as_bytes(key: &CoseKey, label: Label) -> Result<&[u8]> { in get_label_value_as_bytes()130 pub fn get_label_value(key: &CoseKey, label: Label) -> Result<&Value> { in get_label_value()
143 fn to_cose_public_key(key: &EcKeyRef<Private>) -> Result<CoseKey> { in to_cose_public_key()245 fn get_label_value_as_bignum(key: &CoseKey, label: Label) -> Result<BigNum> { in get_label_value_as_bignum()252 fn get_label_value(key: &CoseKey, label: Label) -> Result<&Value> { in get_label_value()
240 pub fn cose_public_key(&self) -> Result<CoseKey> { in cose_public_key()