Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.jce.spec;
 
 
Static/ephemeral public key pair for use with ECMQV key agreement
public class MQVPublicKeySpec
    implements KeySpecMQVPublicKey
    private PublicKey staticKey;
    private PublicKey ephemeralKey;

    

Parameters:
staticKey the static public key.
ephemeralKey the ephemeral public key.
    public MQVPublicKeySpec(
        PublicKey staticKey,
        PublicKey ephemeralKey)
    {
        this. = staticKey;
        this. = ephemeralKey;
    }

    
return the static public key
    public PublicKey getStaticKey()
    {
        return ;
    }
    
    
return the ephemeral public key
    public PublicKey getEphemeralKey()
    {
        return ;
    }

    
return "ECMQV"
    public String getAlgorithm()
    {
        return "ECMQV";
    }

    
return null
    public String getFormat()
    {
        return null;
    }

    
returns null
    public byte[] getEncoded()
    {
        return null;
    }
New to GrepCode? Check out our FAQ X