本文整理汇总了Java中sun.security.provider.certpath.CertPathHelper类的典型用法代码示例。如果您正苦于以下问题:Java CertPathHelper类的具体用法?Java CertPathHelper怎么用?Java CertPathHelper使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
CertPathHelper类属于sun.security.provider.certpath包,在下文中一共展示了CertPathHelper类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: initialize
import sun.security.provider.certpath.CertPathHelper; //导入依赖的package包/类
/**
* Initialize the helper framework. This method must be called from
* the static initializer of each class that is the target of one of
* the methods in this class. This ensures that the helper is initialized
* prior to a tunneled call from the Sun provider.
*/
synchronized static void initialize() {
if (CertPathHelper.instance == null) {
CertPathHelper.instance = new CertPathHelperImpl();
}
}
示例2: initialize
import sun.security.provider.certpath.CertPathHelper; //导入依赖的package包/类
/**
* Initialize the helper framework. This method must be called from
* the static initializer of each class that is the target of one of
* the methods in this class. This ensures that the helper is initialized
* prior to a tunneled call from the Sun provider.
*/
static synchronized void initialize() {
if (CertPathHelper.instance == null) {
CertPathHelper.instance = new CertPathHelperImpl();
}
}
示例3: initialize
import sun.security.provider.certpath.CertPathHelper; //导入依赖的package包/类
/**
* Initialize the helper framework. This method must be called from
* the static initializer of each class that is the target of one of
* the methods in this class. This ensures that the helper if initialized
* prior to a tunneled call from the Sun provider.
*/
synchronized static void initialize() {
if (CertPathHelper.instance == null) {
CertPathHelper.instance = new CertPathHelperImpl();
}
}