1package org.bouncycastle.math.ec.endo; 2 3import java.math.BigInteger; 4 5public class GLVTypeBParameters 6{ 7 protected final BigInteger beta; 8 protected final BigInteger lambda; 9 protected final BigInteger[] v1, v2; 10 protected final BigInteger g1, g2; 11 protected final int bits; 12 13 public GLVTypeBParameters(BigInteger beta, BigInteger lambda, BigInteger[] v1, BigInteger[] v2, BigInteger g1, 14 BigInteger g2, int bits) 15 { 16 this.beta = beta; 17 this.lambda = lambda; 18 this.v1 = v1; 19 this.v2 = v2; 20 this.g1 = g1; 21 this.g2 = g2; 22 this.bits = bits; 23 } 24 25 public BigInteger getBeta() 26 { 27 return beta; 28 } 29 30 public BigInteger getLambda() 31 { 32 return lambda; 33 } 34 35 public BigInteger[] getV1() 36 { 37 return v1; 38 } 39 40 public BigInteger[] getV2() 41 { 42 return v2; 43 } 44 45 public BigInteger getG1() 46 { 47 return g1; 48 } 49 50 public BigInteger getG2() 51 { 52 return g2; 53 } 54 55 public int getBits() 56 { 57 return bits; 58 } 59} 60