Code example for ECPublicKey

Methods: getAlgorithmgetParamsgetW

0
    } 
     
    public JCEECPublicKey( 
        ECPublicKey     key)
    { 
        this.algorithm = key.getAlgorithm();
        this.ecSpec = key.getParams();
        this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
    } 
 
    JCEECPublicKey( 
        SubjectPublicKeyInfo    info)
    { 
        populateFromPubKeyInfo(info);
    } 
 
    private void populateFromPubKeyInfo(SubjectPublicKeyInfo info)
    { 
        // BEGIN android-removed 
        // if (info.getAlgorithmId().getObjectId().equals(CryptoProObjectIdentifiers.gostR3410_2001)) 
        // {