diff --git a/rust-packages/ic-verifiable-credentials/src/lib.rs b/rust-packages/ic-verifiable-credentials/src/lib.rs index 28f6d52..679b0ba 100644 --- a/rust-packages/ic-verifiable-credentials/src/lib.rs +++ b/rust-packages/ic-verifiable-credentials/src/lib.rs @@ -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, SignatureVerificationError> { +pub fn get_canister_sig_pk_der(jws_header: &JwsHeader) -> Result, SignatureVerificationError> { let jwk = jws_header .deref() .jwk()