Home
last modified time | relevance | path

Searched refs:clonedChain (Results 1 – 1 of 1) sorted by relevance

/libcore/ojluni/src/main/java/java/security/
DKeyStore.java566 Certificate[] clonedChain = chain.clone(); in PrivateKeyEntry() local
567 String certType = clonedChain[0].getType(); in PrivateKeyEntry()
568 for (int i = 1; i < clonedChain.length; i++) { in PrivateKeyEntry()
569 if (!certType.equals(clonedChain[i].getType())) { in PrivateKeyEntry()
576 (clonedChain[0].getPublicKey().getAlgorithm())) { in PrivateKeyEntry()
584 if (clonedChain[0] instanceof X509Certificate && in PrivateKeyEntry()
585 !(clonedChain instanceof X509Certificate[])) { in PrivateKeyEntry()
587 this.chain = new X509Certificate[clonedChain.length]; in PrivateKeyEntry()
588 System.arraycopy(clonedChain, 0, in PrivateKeyEntry()
589 this.chain, 0, clonedChain.length); in PrivateKeyEntry()
[all …]