本文整理汇总了Java中com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverException类的典型用法代码示例。如果您正苦于以下问题:Java StorageResolverException类的具体用法?Java StorageResolverException怎么用?Java StorageResolverException使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
StorageResolverException类属于com.sun.org.apache.xml.internal.security.keys.storage包,在下文中一共展示了StorageResolverException类的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: KeyStoreResolver
import com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverException; //导入依赖的package包/类
/**
* Constructor KeyStoreResolver
*
* @param keyStore is the keystore which contains the Certificates
* @throws StorageResolverException
*/
public KeyStoreResolver(KeyStore keyStore) throws StorageResolverException {
this.keyStore = keyStore;
// Do a quick check on the keystore
try {
keyStore.aliases();
} catch (KeyStoreException ex) {
throw new StorageResolverException("generic.EmptyMessage", ex);
}
}
示例2: CertsInFilesystemDirectoryResolver
import com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverException; //导入依赖的package包/类
/**
* @param directoryName
* @throws StorageResolverException
*/
public CertsInFilesystemDirectoryResolver(String directoryName)
throws StorageResolverException {
this.merlinsCertificatesDir = directoryName;
this.readCertsFromHarddrive();
}
示例3: KeyStoreIterator
import com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverException; //导入依赖的package包/类
/**
* Constructor KeyStoreIterator
*
* @param keyStore
* @throws StorageResolverException
*/
public KeyStoreIterator(KeyStore keyStore)
throws StorageResolverException {
try {
this._keyStore = keyStore;
this._aliases = this._keyStore.aliases();
} catch (KeyStoreException ex) {
throw new StorageResolverException("generic.EmptyMessage", ex);
}
}
示例4: CertsInFilesystemDirectoryResolver
import com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverException; //导入依赖的package包/类
/**
*
*
* @param directoryName
* @throws StorageResolverException
*/
public CertsInFilesystemDirectoryResolver(String directoryName)
throws StorageResolverException {
this._merlinsCertificatesDir = directoryName;
this.readCertsFromHarddrive();
this._iterator = new FilesystemIterator(this._certs);
}
示例5: KeyStoreResolver
import com.sun.org.apache.xml.internal.security.keys.storage.StorageResolverException; //导入依赖的package包/类
/**
* Constructor KeyStoreResolver
*
* @param keyStore is the keystore which contains the Certificates
* @throws StorageResolverException
*/
public KeyStoreResolver(KeyStore keyStore) throws StorageResolverException {
this._keyStore = keyStore;
this._iterator = new KeyStoreIterator(this._keyStore);
}