Start line:  
End line:  

Snippet Preview

Snippet HTML Code

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

    
Creates a new GOST3410PrivateKeySpec with the specified parameter values.

Parameters:
x the private key.
p the prime.
q the sub-prime.
a the base.
         BigInteger a)
    {
        this. = x;
        this. = p;
        this. = q;
        this. = a;
    }

    
Returns the private key x.

Returns:
the private key x.
    public BigInteger getX()
    {
        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 a.

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