~brian-thomason/+junk/bouncycastle

« back to all changes in this revision

Viewing changes to src/org/bouncycastle/jce/interfaces/MQVPrivateKey.java

  • Committer: Brian Thomason
  • Date: 2011-12-20 17:20:32 UTC
  • Revision ID: brian.thomason@canonical.com-20111220172032-rdtm13jgdxtksacr
Initial import

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
package org.bouncycastle.jce.interfaces;
 
2
 
 
3
import java.security.PrivateKey;
 
4
import java.security.PublicKey;
 
5
 
 
6
/**
 
7
 * Static/ephemeral private key (pair) for use with ECMQV key agreement
 
8
 * (Optionally provides the ephemeral public key)
 
9
 */
 
10
public interface MQVPrivateKey
 
11
    extends PrivateKey
 
12
{
 
13
    /**
 
14
     * return the static private key.
 
15
     */
 
16
    PrivateKey getStaticPrivateKey();
 
17
 
 
18
    /**
 
19
     * return the ephemeral private key.
 
20
     */
 
21
    PrivateKey getEphemeralPrivateKey();
 
22
 
 
23
    /**
 
24
     * return the ephemeral public key (may be null).
 
25
     */
 
26
    PublicKey getEphemeralPublicKey();
 
27
}