public class MQVPublicKeySpec extends java.lang.Object implements java.security.spec.KeySpec, MQVPublicKey
| Constructor and Description | 
|---|
MQVPublicKeySpec(java.security.PublicKey staticKey,
                java.security.PublicKey ephemeralKey)
Deprecated.  
  | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getAlgorithm()
Deprecated.  
return "ECMQV" 
 | 
byte[] | 
getEncoded()
Deprecated.  
returns null 
 | 
java.security.PublicKey | 
getEphemeralKey()
Deprecated.  
return the ephemeral public key 
 | 
java.lang.String | 
getFormat()
Deprecated.  
return null 
 | 
java.security.PublicKey | 
getStaticKey()
Deprecated.  
return the static public key 
 | 
public MQVPublicKeySpec(java.security.PublicKey staticKey,
                        java.security.PublicKey ephemeralKey)
staticKey - the static public key.ephemeralKey - the ephemeral public key.public java.security.PublicKey getStaticKey()
getStaticKey in interface MQVPublicKeypublic java.security.PublicKey getEphemeralKey()
getEphemeralKey in interface MQVPublicKeypublic java.lang.String getAlgorithm()
getAlgorithm in interface java.security.Keypublic java.lang.String getFormat()
getFormat in interface java.security.Keypublic byte[] getEncoded()
getEncoded in interface java.security.Key