feat(core): google pay decrypt flow (#6991)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
Co-authored-by: Gnanasundari24 <118818938+Gnanasundari24@users.noreply.github.com>
This commit is contained in:
Sakil Mostak
2025-02-05 15:24:57 +05:30
committed by GitHub
parent 6fee3011ea
commit e0ec27d936
39 changed files with 1158 additions and 27 deletions

View File

@ -156,3 +156,10 @@ where
SecretValue::default().into()
}
}
// Required by base64-serde to serialize Secret of Vec<u8> which contains the base64 decoded value
impl AsRef<[u8]> for Secret<Vec<u8>> {
fn as_ref(&self) -> &[u8] {
self.peek().as_slice()
}
}