Skip to content

Commit

Permalink
Make API to extract DER encoded public key public
Browse files Browse the repository at this point in the history
  • Loading branch information
Frederik Rothenberger committed Aug 26, 2024
1 parent f66ecad commit aace2b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust-packages/ic-verifiable-credentials/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -635,7 +635,7 @@ pub fn get_canister_sig_pk_raw(
}

/// Extracts and returns the DER encoded canister sig public key from the given header.
fn get_canister_sig_pk_der(jws_header: &JwsHeader) -> Result<Vec<u8>, SignatureVerificationError> {
pub fn get_canister_sig_pk_der(jws_header: &JwsHeader) -> Result<Vec<u8>, SignatureVerificationError> {
let jwk = jws_header
.deref()
.jwk()
Expand Down

0 comments on commit aace2b0

Please sign in to comment.