RSAPUBKEY structure

The RSAPUBKEY structure contains information specific to the particular public key contained in the key BLOB.

Syntax

typedef struct _RSAPUBKEY {
  DWORD magic;
  DWORD bitlen;
  DWORD pubexp;
} RSAPUBKEY;

Members

magic

Set to RSA1 (0x31415352) for public keys and to RSA2 (0x32415352) for private keys.

Note  The hexadecimal values are the ASCII encoding of RSA1 and RSA2.
 

bitlen

Number of bits in the modulus. In practice, this must always be a multiple of eight.

pubexp

The public exponent.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header wincrypt.h

See also

DSSPUBKEY

DSSSEED

PUBLICKEYSTRUC