#include <parms.h>
Public Member Functions | |
| int | check () const |
| Check parameter generation if seeded, then perform a sanity check on this object. | |
| str | oid () const |
| Get an ASN.1 DER-encoded OID for the group parameters. | |
Data Fields | |
| const char * | name |
| int | deg |
| const char * | p |
| const char * | order |
| const char * | seed |
| const char * | a |
| const char * | b |
| const char * | Gx |
| const char * | Gy |
| int | start |
| int | genseed |
| int check | ( | ) | const |
Check parameter generation if seeded, then perform a sanity check on this object.
| str oid | ( | ) | const |
Get an ASN.1 DER-encoded OID for the group parameters.
| const char* a |
DSA: NULL
EC: first coefficient in curve's defining polynomial
| const char * b |
DSA: NULL
EC: second coefficient in curve's defining polynomial
| int deg |
DSA: hash function ID (0=SHA, 1=SHA-1)
EC2: degree of field extension
ECP: 0
| int genseed |
((p-1)/q)-th power is the group generator (NIST examples use 2, ISC uses 7)
| const char* Gx |
DSA: subgroup generator g
EC: x-coordinate of base point
| const char * Gy |
DSA: NULL
EC: y-coordinate of base point
| const char* name |
printable string describing these parameters
| const char* order |
DSA: q
EC: subgroup order (decimal or hex, if prefixed by "0x")
| const char* p |
prime modulus or irreducible polynomial (decimal or hex, if prefixed by "0x")
| const char* seed |
DSA/EC: NIST seed for pseudorandomly-generated parameters, otherwise an empty string
| int start |
starting value of counter (DSA only)
| ISC Cryptographic Development Kit - User's Guide | |
| Questions? E-mail ISC technical support | |
| Copyright© 2002-2006 Information Security Corp. All rights reserved. |