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

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

Go to download

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 the debug version JCE provider and low-level API for the BC-FJA version 1.0.2.3, FIPS Certificate #3514. Please note the debug jar is not certified.

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 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