derDecode static method
Implementation
static BinaryBlob derDecode(BinaryBlob key) {
final unwrapped = unwrapDER(key.buffer, ED25519_OID);
if (unwrapped.length != RAW_KEY_LENGTH) {
throw 'An Ed25519 public key must be exactly 32bytes long';
}
return unwrapped;
}