make signing methods variable and signable
This commit is contained in:
@@ -185,6 +185,16 @@ function crypto_methods() {
|
||||
}
|
||||
|
||||
|
||||
function signing_methods() {
|
||||
|
||||
|
||||
$r = [ 'sha256' ];
|
||||
call_hooks('signing_methods',$r);
|
||||
return $r;
|
||||
|
||||
}
|
||||
|
||||
|
||||
function aes_encapsulate($data,$pubkey) {
|
||||
if(! $pubkey)
|
||||
logger('aes_encapsulate: no key. data: ' . $data);
|
||||
|
||||
Reference in New Issue
Block a user