what-the-bank/sources/org/bouncycastle/jce/spec/MQVPublicKeySpec.java

42 lines
1.0 KiB
Java

package org.bouncycastle.jce.spec;
import java.security.PublicKey;
import java.security.spec.KeySpec;
import org.bouncycastle.jce.interfaces.MQVPublicKey;
/* loaded from: classes6.dex */
public class MQVPublicKeySpec implements KeySpec, MQVPublicKey {
private PublicKey ephemeralKey;
private PublicKey staticKey;
@Override // java.security.Key
public byte[] getEncoded() {
return null;
}
@Override // java.security.Key
public String getFormat() {
return null;
}
@Override // org.bouncycastle.jce.interfaces.MQVPublicKey
public PublicKey getStaticKey() {
return this.staticKey;
}
@Override // org.bouncycastle.jce.interfaces.MQVPublicKey
public PublicKey getEphemeralKey() {
return this.ephemeralKey;
}
@Override // java.security.Key
public String getAlgorithm() {
return "ECMQV";
}
public MQVPublicKeySpec(PublicKey publicKey, PublicKey publicKey2) {
this.staticKey = publicKey;
this.ephemeralKey = publicKey2;
}
}