Export (0) Print
Expand All

BCRYPT_OAEP_PADDING_INFO structure

The BCRYPT_OAEP_PADDING_INFO structure is used to provide options for the Optimal Asymmetric Encryption Padding (OAEP) scheme.

Syntax


typedef struct _BCRYPT_OAEP_PADDING_INFO {
  LPCWSTR pszAlgId;
  PUCHAR  pbLabel;
  ULONG   cbLabel;
} BCRYPT_OAEP_PADDING_INFO;

Members

pszAlgId

A pointer to a null-terminated Unicode string that identifies the cryptographic algorithm to use to create the padding. This algorithm must be a hashing algorithm.

pbLabel

The address of a buffer that contains the data to use to create the padding. The cbLabel member contains the size of this buffer.

cbLabel

Contains the number of bytes in the pbLabel buffer to use to create the padding.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Bcrypt.h

See also

BCryptDecrypt
BCryptEncrypt

 

 

Community Additions

ADD
Show:
© 2014 Microsoft