
org.bouncycastle.jcajce.spec.DSTU4145PublicKeySpec Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bc-fips Show documentation
Show all versions of bc-fips Show documentation
The FIPS 140-2 Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms certified to FIPS 140-2 level 1. This jar contains JCE provider and low-level API for the BC-FJA version 1.0.2, FIPS Certificate #3514. Please see certificate for certified platform details.
The newest version!
package org.bouncycastle.jcajce.spec;
import java.security.spec.ECPoint;
import java.security.spec.KeySpec;
/**
* This class specifies a DSTU4145 public key with its associated parameters.
*/
public class DSTU4145PublicKeySpec
implements KeySpec
{
private final ECPoint w;
private final DSTU4145ParameterSpec parameters;
/**
* Creates a new GOST3410PublicKeySpec with the specified parameter values.
*
* @param w the public key.
*/
public DSTU4145PublicKeySpec(ECPoint w, DSTU4145ParameterSpec parameters)
{
this.w = w;
this.parameters = parameters;
}
/**
* Returns the public point w
.
*
* @return the public point w
.
*/
public ECPoint getW()
{
return this.w;
}
public DSTU4145ParameterSpec getParams()
{
return parameters;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy