Java Code Examples for java.security.interfaces.ECPublicKey#getAlgorithm()

The following examples show how to use java.security.interfaces.ECPublicKey#getAlgorithm() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: JCEECPublicKey.java    From RipplePower with Apache License 2.0 5 votes vote down vote up
public JCEECPublicKey(
    ECPublicKey     key)
{
    this.algorithm = key.getAlgorithm();
    this.ecSpec = key.getParams();
    this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
}
 
Example 2
Source File: BCDSTU4145PublicKey.java    From RipplePower with Apache License 2.0 5 votes vote down vote up
public BCDSTU4145PublicKey(
    ECPublicKey key)
{
    this.algorithm = key.getAlgorithm();
    this.ecSpec = key.getParams();
    this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
}
 
Example 3
Source File: BCECPublicKey.java    From RipplePower with Apache License 2.0 5 votes vote down vote up
public BCECPublicKey(
    ECPublicKey key,
    ProviderConfiguration configuration)
{
    this.algorithm = key.getAlgorithm();
    this.ecSpec = key.getParams();
    this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
}
 
Example 4
Source File: BCECGOST3410PublicKey.java    From RipplePower with Apache License 2.0 5 votes vote down vote up
public BCECGOST3410PublicKey(
    ECPublicKey key)
{
    this.algorithm = key.getAlgorithm();
    this.ecSpec = key.getParams();
    this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
}
 
Example 5
Source File: JCEECPublicKey.java    From ripple-lib-java with ISC License 5 votes vote down vote up
public JCEECPublicKey(
    ECPublicKey     key)
{
    this.algorithm = key.getAlgorithm();
    this.ecSpec = key.getParams();
    this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
}
 
Example 6
Source File: BCDSTU4145PublicKey.java    From ripple-lib-java with ISC License 5 votes vote down vote up
public BCDSTU4145PublicKey(
    ECPublicKey key)
{
    this.algorithm = key.getAlgorithm();
    this.ecSpec = key.getParams();
    this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
}
 
Example 7
Source File: BCECPublicKey.java    From ripple-lib-java with ISC License 5 votes vote down vote up
public BCECPublicKey(
    ECPublicKey key,
    ProviderConfiguration configuration)
{
    this.algorithm = key.getAlgorithm();
    this.ecSpec = key.getParams();
    this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
}
 
Example 8
Source File: BCECGOST3410PublicKey.java    From ripple-lib-java with ISC License 5 votes vote down vote up
public BCECGOST3410PublicKey(
    ECPublicKey key)
{
    this.algorithm = key.getAlgorithm();
    this.ecSpec = key.getParams();
    this.q = EC5Util.convertPoint(this.ecSpec, key.getW(), false);
}