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.java583 Certificate[] clonedChain = chain.clone(); in PrivateKeyEntry() local
584 String certType = clonedChain[0].getType(); in PrivateKeyEntry()
585 for (int i = 1; i < clonedChain.length; i++) { in PrivateKeyEntry()
586 if (!certType.equals(clonedChain[i].getType())) { in PrivateKeyEntry()
593 (clonedChain[0].getPublicKey().getAlgorithm())) { in PrivateKeyEntry()
601 if (clonedChain[0] instanceof X509Certificate && in PrivateKeyEntry()
602 !(clonedChain instanceof X509Certificate[])) { in PrivateKeyEntry()
604 this.chain = new X509Certificate[clonedChain.length]; in PrivateKeyEntry()
605 System.arraycopy(clonedChain, 0, in PrivateKeyEntry()
606 this.chain, 0, clonedChain.length); in PrivateKeyEntry()
[all …]