Make pso_compute_digital_signature() and internal_authenticate() public.
This commit is contained in:
parent
7bb2fcb497
commit
39e7eaa9cc
1 changed files with 2 additions and 2 deletions
|
@ -509,7 +509,7 @@ impl CardApp {
|
||||||
|
|
||||||
/// Run signing operation on the smartcard (low level operation)
|
/// Run signing operation on the smartcard (low level operation)
|
||||||
/// (7.2.10 PSO: COMPUTE DIGITAL SIGNATURE)
|
/// (7.2.10 PSO: COMPUTE DIGITAL SIGNATURE)
|
||||||
fn pso_compute_digital_signature(
|
pub fn pso_compute_digital_signature(
|
||||||
&mut self,
|
&mut self,
|
||||||
data: Vec<u8>,
|
data: Vec<u8>,
|
||||||
) -> Result<Vec<u8>, Error> {
|
) -> Result<Vec<u8>, Error> {
|
||||||
|
@ -541,7 +541,7 @@ impl CardApp {
|
||||||
|
|
||||||
/// Run signing operation on the smartcard (low level operation)
|
/// Run signing operation on the smartcard (low level operation)
|
||||||
/// (7.2.13 INTERNAL AUTHENTICATE)
|
/// (7.2.13 INTERNAL AUTHENTICATE)
|
||||||
fn internal_authenticate(
|
pub fn internal_authenticate(
|
||||||
&mut self,
|
&mut self,
|
||||||
data: Vec<u8>,
|
data: Vec<u8>,
|
||||||
) -> Result<Vec<u8>, Error> {
|
) -> Result<Vec<u8>, Error> {
|
||||||
|
|
Loading…
Reference in a new issue