java命名空间javax.xml.crypto.dsig类transformservice的类成员方法:
transformservice定义及介绍
本文导语:
transformservice
protected transformservice()
默认的构造方法,由子类调用。
getinstance
public static transformservice getinstance(string algorithm,
string mechanismtype)
...
transformservice
protected transformservice()
- 默认的构造方法,由子类调用。
getinstance
public static transformservice getinstance(string algorithm,
string mechanismtype)
throws nosuchalgorithmexception
- 返回支持指定算法 uri 的
transformservice(比如:transform.xpath2)和机制类型(比如:dom)。
此方法使用标准的 jca 提供者查找机制来查找并实例化所需算法的 transformservice 实现和 mechanismtype 服务
iis7站长之家。它将从首选的 provider 开始,遍历已注册的安全 provider 列表。返回取自第一个支持指定算法和机制类型的 provider 的新 transformservice 对象。
注意,已注册提供者的列表可以通过 security.getproviders() 方法获得。
- 参数:
algorithm - 算法的 urimechanismtype - xml 处理机制和表示形式的类型
- 返回:
- 新的
transformservice
- 抛出:
nullpointerexception - 如果 algorithm 或 mechanismtype 为 null
nosuchalgorithmexception - 如果没有 provider 支持指定算法和机制类型的 transformservice 实现- 另请参见:
provider