pub fn new_octet_key(key: &[u8], additional: T) -> Self {
        Self {
            algorithm: AlgorithmParameters::OctetKey(OctetKeyParameters {
                value: key.to_vec(),
                key_type: Default::default(),
            }),
            common: Default::default(),
            additional,
        }
    }
/// Convenience to create a new bare-bones Octet key
Convenience to create a new bare-bones Octet key
Convenience to create a new bare - bones Octet key
pub fn new_octet_key(key: &[u8], additional: T) -> Self {
        Self {
            algorithm: AlgorithmParameters::OctetKey(OctetKeyParameters {
                value: key.to_vec(),
                key_type: Default::default(),
            }),
            common: Default::default(),
            additional,
        }
    }
pub fn new_octet_key ( key : & [ u8 ] , additional : T ) -> Self { Self { algorithm : AlgorithmParameters :: OctetKey ( OctetKeyParameters { value : key . to_vec ( ) , key_type : Default :: default ( ) , } ) , common : Default :: default ( ) , additional , } }
Convenience to create a new bare-bones Octet key
Convenience to create a new bare - bones Octet key
key
&[u8]
additional
T
key
&[u8]
additional
T