xlang v5.1 Release
程序设计语言基础库文档
|
Public 成员函数 |
静态 Public 成员函数 |
静态 Public 属性 |
Signature类提供数字签名功能,支持初始化签名、验证签名、更新数据等操作
在文件 Signature.x 第 4 行定义.
void finalize | ( | ) |
String getAlgorithm | ( | ) |
|
static |
Object getParameter | ( | String | ) | throws IllegalArgumentException |
void initSign | ( | Key | ) | throws IllegalArgumentException |
void initSign | ( | Key | , |
Object | |||
) |
使用指定密钥和随机源初始化签名操作
key | 用于签名的私钥 |
param | 随机源或其他参数 |
void initVerify | ( | Key | ) | throws IllegalArgumentException |
|
static |
void setParameter | ( | String | , |
Object | |||
) | throws IllegalArgumentException |
byte [] sign | ( | ) | throws IllegalArgumentException |
int sign | ( | byte | [], |
int | , | ||
int | |||
) | throws IllegalArgumentException |
void update | ( | byte | [], |
int | , | ||
int | |||
) | throws IllegalArgumentException |
bool verify | ( | byte | [], |
int | , | ||
int | |||
) | throws IllegalArgumentException |
|
static |
在文件 Signature.x 第 7 行定义.
|
static |
在文件 Signature.x 第 8 行定义.
|
static |
在文件 Signature.x 第 9 行定义.