Code example for DSAPublicKey

Methods: getParams, getY

0
    } 
 
    JDKDSAPublicKey( 
        DSAPublicKey    key)
    { 
        this.y = key.getY();
        this.dsaSpec = key.getParams();
    } 
 
    JDKDSAPublicKey( 
        DSAPublicKeyParameters  params)
    { 
        this.y = params.getY();
        this.dsaSpec = new DSAParameterSpec(params.getParameters().getP(), params.getParameters().getQ(), params.getParameters().getG());
    } 
 
    JDKDSAPublicKey( 
        BigInteger        y,
        DSAParameterSpec  dsaSpec)
    { 
        this.y = y;