mirror of
https://github.com/VibedByKaKi/alexandroid.git
synced 2026-11-27 16:23:22 +01:00
30 lines
919 B
Java
30 lines
919 B
Java
package org.apache.http.ssl;
|
|
|
|
import java.security.cert.X509Certificate;
|
|
import java.util.Arrays;
|
|
import kotlinx.serialization.json.internal.AbstractJsonLexerKt;
|
|
import org.apache.http.util.Args;
|
|
|
|
/* compiled from: r8-map-id-b9432e0f623b4a4bff4ba50a8a24c4aafad2c1e11092747b9fb5e6a22af5a940 */
|
|
/* loaded from: classes11.dex */
|
|
public final class PrivateKeyDetails {
|
|
private final X509Certificate[] certChain;
|
|
private final String type;
|
|
|
|
public PrivateKeyDetails(String str, X509Certificate[] x509CertificateArr) {
|
|
this.type = (String) Args.notNull(str, "Private key type");
|
|
this.certChain = x509CertificateArr;
|
|
}
|
|
|
|
public X509Certificate[] getCertChain() {
|
|
return this.certChain;
|
|
}
|
|
|
|
public String getType() {
|
|
return this.type;
|
|
}
|
|
|
|
public String toString() {
|
|
return this.type + AbstractJsonLexerKt.COLON + Arrays.toString(this.certChain);
|
|
}
|
|
}
|