@Test
public void test_init_Builder() {
TestKeyStore testKeyStore = TestKeyStore.getClient();
Builder builder = Builder.newInstance(
testKeyStore.keyStore, new PasswordProtection(testKeyStore.storePassword));
KeyStoreBuilderParameters ksbp = new KeyStoreBuilderParameters(builder);
assertNotNull(ksbp);
assertNotNull(ksbp.getParameters());
assertEquals(1, ksbp.getParameters().size());
assertSame(builder, ksbp.getParameters().get(0));
}
KeyStoreBuilderParametersTest.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:conscrypt
作者:
评论列表
文章目录