| Modifier and Type | Field and Description |
|---|---|
| private final PrivateKey | |
| private final PublicKey | |
| private final PublicKey | |
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| public | MQVParameterSpec(PublicKey
our ephemeral public key. ephemeralPublicKey, PrivateKey our ephemeral private key. ephemeralPrivateKey, PublicKey the other party's ephemeral public key. otherPartyEphemeralKey, byte[] the user keying material for the key derivation function. userKeyingMaterial)Base constructor. |
| public | MQVParameterSpec(PublicKey
our ephemeral public key. ephemeralPublicKey, PrivateKey our ephemeral private key. ephemeralPrivateKey, PublicKey the other party's ephemeral public key. otherPartyEphemeralKey)Constructor without user keying material. |
| public | MQVParameterSpec(KeyPair
keypair holding our ephemeral public and private keys. ephemeralKeyPair, PublicKey the other party's ephemeral public key. otherPartyEphemeralKey, byte[] the user keying material for the key derivation function. userKeyingMaterial)Constructor taking an ephemeral key pair. |
| public | MQVParameterSpec(PrivateKey
our ephemeral private key. ephemeralPrivateKey, PublicKey the other party's ephemeral public key. otherPartyEphemeralKey, byte[] the user keying material for the key derivation function. userKeyingMaterial)Constructor without our ephemeral public key - in this case it is assumed the ephemeral public key can be calculated later. |
| public | MQVParameterSpec(KeyPair
keypair holding our ephemeral public and private keys. ephemeralKeyPair, PublicKey the other party's ephemeral public key. otherPartyEphemeralKey)Constructor taking an ephemeral key pair without user keying material. |
| public | MQVParameterSpec(PrivateKey
our ephemeral private key. ephemeralPrivateKey, PublicKey the other party's ephemeral public key. otherPartyEphemeralKey)Constructor without our ephemeral public key or user keying material - in this case it is assumed the ephemeral public key can be calculated later. |
| Modifier and Type | Method and Description |
|---|---|
| public PrivateKey | |
| public PublicKey | Returns: the ephemeral public key, may be null.Return our ephemeral public key, if available. |
| public PublicKey | Returns: the other party's public key.Return the other party's ephemeral public key. |
| public byte[] | Returns: the user keying material to be input into the KDF.Return the user keying material for the KDF used to derive the final secret key. |
| ephemeralPrivateKey | back to summary |
|---|---|
| private final PrivateKey ephemeralPrivateKey | |
| ephemeralPublicKey | back to summary |
|---|---|
| private final PublicKey ephemeralPublicKey | |
| otherPartyEphemeralKey | back to summary |
|---|---|
| private final PublicKey otherPartyEphemeralKey | |
| userKeyingMaterial | back to summary |
|---|---|
| private final byte[] userKeyingMaterial | |
| MQVParameterSpec | back to summary |
|---|---|
| public MQVParameterSpec(PublicKey ephemeralPublicKey, PrivateKey ephemeralPrivateKey, PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial) Base constructor.
| |
| MQVParameterSpec | back to summary |
|---|---|
| public MQVParameterSpec(PublicKey ephemeralPublicKey, PrivateKey ephemeralPrivateKey, PublicKey otherPartyEphemeralKey) Constructor without user keying material.
| |
| MQVParameterSpec | back to summary |
|---|---|
| public MQVParameterSpec(KeyPair ephemeralKeyPair, PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial) Constructor taking an ephemeral key pair. | |
| MQVParameterSpec | back to summary |
|---|---|
| public MQVParameterSpec(PrivateKey ephemeralPrivateKey, PublicKey otherPartyEphemeralKey, byte[] userKeyingMaterial) Constructor without our ephemeral public key - in this case it is assumed the ephemeral public key can be calculated later.
| |
| MQVParameterSpec | back to summary |
|---|---|
| public MQVParameterSpec(KeyPair ephemeralKeyPair, PublicKey otherPartyEphemeralKey) Constructor taking an ephemeral key pair without user keying material. | |
| MQVParameterSpec | back to summary |
|---|---|
| public MQVParameterSpec(PrivateKey ephemeralPrivateKey, PublicKey otherPartyEphemeralKey) Constructor without our ephemeral public key or user keying material - in this case it is assumed the ephemeral public key can be calculated later.
| |
| getEphemeralPrivateKey | back to summary |
|---|---|
| public PrivateKey getEphemeralPrivateKey() Return our ephemeral private key.
| |
| getEphemeralPublicKey | back to summary |
|---|---|
| public PublicKey getEphemeralPublicKey() Return our ephemeral public key, if available.
| |
| getOtherPartyEphemeralKey | back to summary |
|---|---|
| public PublicKey getOtherPartyEphemeralKey() Return the other party's ephemeral public key.
| |
| getUserKeyingMaterial | back to summary |
|---|---|
| public byte[] getUserKeyingMaterial() Return the user keying material for the KDF used to derive the final secret key.
| |