|
Bouncy Castle Cryptography Library 1.81 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.bouncycastle.jcajce.spec.DHUParameterSpec
Parameter spec to provide Diffie-Hellman Unified model keys and user keying material.
| Constructor Summary | |
DHUParameterSpec(java.security.KeyPair ephemeralKeyPair,
java.security.PublicKey otherPartyEphemeralKey)
Base constructor for a Diffie-Hellman unified model using a key pair without user keying material. |
|
DHUParameterSpec(java.security.KeyPair ephemeralKeyPair,
java.security.PublicKey otherPartyEphemeralKey,
byte[] userKeyingMaterial)
Base constructor for a Diffie-Hellman unified model using a key pair. |
|
DHUParameterSpec(java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey)
Base constructor for a Diffie-Hellman unified model - calculation of our ephemeral public key is required and no user keying material is provided. |
|
DHUParameterSpec(java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey,
byte[] userKeyingMaterial)
Base constructor for a Diffie-Hellman unified model - calculation of our ephemeral public key is required. |
|
DHUParameterSpec(java.security.PublicKey ephemeralPublicKey,
java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey)
Base constructor for a Diffie-Hellman unified model without user keying material. |
|
DHUParameterSpec(java.security.PublicKey ephemeralPublicKey,
java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey,
byte[] userKeyingMaterial)
Base constructor for a Diffie-Hellman unified model. |
|
| Method Summary | |
java.security.PrivateKey |
getEphemeralPrivateKey()
Return our ephemeral private key. |
java.security.PublicKey |
getEphemeralPublicKey()
Return our ephemeral public key, null if it was not provided. |
java.security.PublicKey |
getOtherPartyEphemeralKey()
Return the ephemeral other party public key. |
byte[] |
getUserKeyingMaterial()
Return a copy of the user keying material, null if none is available. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DHUParameterSpec(java.security.PublicKey ephemeralPublicKey,
java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey,
byte[] userKeyingMaterial)
ephemeralPublicKey - our ephemeral public key.ephemeralPrivateKey - our ephemeral private key.otherPartyEphemeralKey - the ephemeral public key sent by the other party.userKeyingMaterial - key generation material to mix with the calculated secret.
public DHUParameterSpec(java.security.PublicKey ephemeralPublicKey,
java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey)
ephemeralPublicKey - our ephemeral public key.ephemeralPrivateKey - our ephemeral private key.otherPartyEphemeralKey - the ephemeral public key sent by the other party.
public DHUParameterSpec(java.security.KeyPair ephemeralKeyPair,
java.security.PublicKey otherPartyEphemeralKey,
byte[] userKeyingMaterial)
ephemeralKeyPair - our ephemeral public and private key.otherPartyEphemeralKey - the ephemeral public key sent by the other party.userKeyingMaterial - key generation material to mix with the calculated secret.
public DHUParameterSpec(java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey,
byte[] userKeyingMaterial)
ephemeralPrivateKey - our ephemeral private key.otherPartyEphemeralKey - the ephemeral public key sent by the other party.userKeyingMaterial - key generation material to mix with the calculated secret.
public DHUParameterSpec(java.security.KeyPair ephemeralKeyPair,
java.security.PublicKey otherPartyEphemeralKey)
ephemeralKeyPair - our ephemeral public and private key.otherPartyEphemeralKey - the ephemeral public key sent by the other party.
public DHUParameterSpec(java.security.PrivateKey ephemeralPrivateKey,
java.security.PublicKey otherPartyEphemeralKey)
ephemeralPrivateKey - our ephemeral private key.otherPartyEphemeralKey - the ephemeral public key sent by the other party.| Method Detail |
public java.security.PrivateKey getEphemeralPrivateKey()
public java.security.PublicKey getEphemeralPublicKey()
public java.security.PublicKey getOtherPartyEphemeralKey()
public byte[] getUserKeyingMaterial()
|
Bouncy Castle Cryptography Library 1.81 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||