utility class for converting jce/jca ECDSA, ECDH, and ECDHC
objects into their org.bouncycastle.crypto counterparts.
Method Summary
static int[]
convertMidTerms(int[] k) Returns a sorted array of middle terms of the reduction polynomial.
Parameters: k - The unsorted array of middle terms of the reduction polynomialof length 1 or 3.
Returns a sorted array of middle terms of the reduction polynomial.
Parameters: k - The unsorted array of middle terms of the reduction polynomialof length 1 or 3. the sorted array of middle terms of the reduction polynomial.This array always has length 3.