Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package org.bouncycastle.jce.spec;
 
This class specifies a GOST3410-94 public key with its associated parameters.
 
 
    implements KeySpec
    private BigInteger y;
    private BigInteger p;
    private BigInteger q;
    private BigInteger a;

    
Creates a new GOST3410PublicKeySpec with the specified parameter values.

Parameters:
y the public key.
p the prime.
q the sub-prime.
a the base.
    public GOST3410PublicKeySpec(
        BigInteger y,
        BigInteger p,
        BigInteger q,
        BigInteger a)
    {
        this. = y;
        this. = p;
        this. = q;
        this. = a;
    }

    
Returns the public key y.

Returns:
the public key y.
    public BigInteger getY()
    {
        return this.;
    }

    
Returns the prime p.

Returns:
the prime p.
    public BigInteger getP()
    {
        return this.;
    }

    
Returns the sub-prime q.

Returns:
the sub-prime q.
    public BigInteger getQ()
    {
        return this.;
    }

    
Returns the base g.

Returns:
the base g.
    public BigInteger getA()
    {
        return this.;
    }
New to GrepCode? Check out our FAQ X