Searched refs:convertToPem (Results 1 – 5 of 5) sorted by relevance
170 public static byte[] convertToPem(Certificate... objects) in convertToPem() method in Credentials
82 pemCert = Credentials.convertToPem(cert); in installCaCert()
2467 return new String(Credentials.convertToPem(cert), StandardCharsets.UTF_8); in getCaCertificateFromKeystoreAsPem()2478 return new String(Credentials.convertToPem( in getCaCertificateFromKeystoreAsPem()2510 : new String(Credentials.convertToPem(cert), StandardCharsets.UTF_8); in startLegacyVpnPrivileged()2518 : new String(Credentials.convertToPem(cert), StandardCharsets.UTF_8); in startLegacyVpnPrivileged()
682 return new String(Credentials.convertToPem(cert), StandardCharsets.US_ASCII); in certificateToPemString()
7766 final byte[] pemCert = Credentials.convertToPem(certs[0]); in installKeyPair()7769 pemChain = Credentials.convertToPem(Arrays.copyOfRange(certs, 1, certs.length)); in installKeyPair()8246 final byte[] pemCert = Credentials.convertToPem(certs.get(0)); in setKeyPairCertificate()8249 pemChain = Credentials.convertToPem( in setKeyPairCertificate()