package org.bouncycastle.crypto;

/* JADX INFO: loaded from: E:\ios\vf_dex\classes4.dex */
public class EphemeralKeyPair {
    private org.bouncycastle.crypto.AsymmetricCipherKeyPair a;
    private org.bouncycastle.crypto.KeyEncoder b;

    public EphemeralKeyPair(org.bouncycastle.crypto.AsymmetricCipherKeyPair asymmetricCipherKeyPair, org.bouncycastle.crypto.KeyEncoder keyEncoder) {
        this.a = asymmetricCipherKeyPair;
        this.b = keyEncoder;
    }

    public byte[] a() {
        return this.b.getEncoded(this.a.b());
    }

    public org.bouncycastle.crypto.AsymmetricCipherKeyPair b() {
        return this.a;
    }
}
