public final class PrimeFieldByPrimeFactory extends Object
AbstractPrimeField
,
PrimeFieldByBitLengthFactory
Modifier and Type | Method and Description |
---|---|
static AbstractPrimeField |
getField(BigInteger prime)
The factory method.
|
static AbstractPrimeField |
getField(iaik.asn1.SEQUENCE encodedField)
Decodes an ASN.1
SEQUENCE , which describes a prime field and
returns the corresponding field instance. |
public static AbstractPrimeField getField(iaik.asn1.SEQUENCE encodedField)
SEQUENCE
, which describes a prime field and
returns the corresponding field instance.encodedField
- the ASN.1 structure holding the encoded fieldAbstractPrimeField
instancepublic static AbstractPrimeField getField(BigInteger prime)
prime
- the prime number that passes the Miller-Rabin testCopyright © 2011–2022 Stiftung SIC. All rights reserved.