public class BN extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BN.G1
A point in G1.
|
static class |
BN.G2
A point in G2.
|
static class |
BN.GT
GT represents an element in the GT field.
|
static class |
BN.PairG1
The pair of a G1 point and a scalar that is used to generate it.
|
static class |
BN.PairG2
The pair of a G2 point and a scalar that is used to generate it.
|
| Modifier and Type | Field and Description |
|---|---|
static BigInteger |
order
The order of the BN groups G1, G2 and GT.
|
| Constructor and Description |
|---|
BN() |
| Modifier and Type | Method and Description |
|---|---|
static BN.GT |
pair(BN.G1 g1,
BN.G2 g2)
Perform the pairing operation.
|
public static BigInteger order
Copyright © 2019. All rights reserved.