diff options
Diffstat (limited to 'core/src/main/java/org/bouncycastle/crypto/EphemeralKeyPair.java')
-rw-r--r-- | core/src/main/java/org/bouncycastle/crypto/EphemeralKeyPair.java | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/EphemeralKeyPair.java b/core/src/main/java/org/bouncycastle/crypto/EphemeralKeyPair.java deleted file mode 100644 index f16812f9..00000000 --- a/core/src/main/java/org/bouncycastle/crypto/EphemeralKeyPair.java +++ /dev/null @@ -1,23 +0,0 @@ -package org.bouncycastle.crypto; - -public class EphemeralKeyPair -{ - private AsymmetricCipherKeyPair keyPair; - private KeyEncoder publicKeyEncoder; - - public EphemeralKeyPair(AsymmetricCipherKeyPair keyPair, KeyEncoder publicKeyEncoder) - { - this.keyPair = keyPair; - this.publicKeyEncoder = publicKeyEncoder; - } - - public AsymmetricCipherKeyPair getKeyPair() - { - return keyPair; - } - - public byte[] getEncodedPublicKey() - { - return publicKeyEncoder.getEncoded(keyPair.getPublic()); - } -} |