All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.bouncycastle.jcajce.spec.ECGOST3410PublicKeySpec Maven / Gradle / Ivy

Go to download

The FIPS 140-3 Bouncy Castle Crypto package is a Java implementation of cryptographic algorithms certified to FIPS 140-3 level 1. This jar contains JCE provider and low-level API for the BC-FJA version 2.0.0, FIPS Certificate #4743. Please see certificate for certified platform details.

There is a newer version: 2.0.0
Show newest version
package org.bouncycastle.jcajce.spec;

import java.security.spec.ECPoint;
import java.security.spec.KeySpec;

/**
 * This class specifies a ECGOST3410-94 public key with its associated parameters.
 */

public class ECGOST3410PublicKeySpec
    implements KeySpec
{
    private final ECPoint w;
    private final GOST3410ParameterSpec parameters;

    /**
     * Creates a new GOST3410PublicKeySpec with the specified parameter values.
     *
     * @param w the public key.
     */
    public ECGOST3410PublicKeySpec(ECPoint w, GOST3410ParameterSpec parameters)
    {
        this.w = w;
        this.parameters = parameters;
    }

    /**
     * Returns the public point w.
     *
     * @return the public point w.
     */
    public ECPoint getW()
    {
        return this.w;
    }

    public GOST3410ParameterSpec getParams()
    {
        return parameters;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy