SecureBlackbox 2020 C++ Edition

Questions / Feedback?

Scheme Property

The algorithm scheme to use.

Syntax

ANSI (Cross Platform)
char* GetScheme();
int SetScheme(const char* lpszScheme); Unicode (Windows) LPWSTR GetScheme();
INT SetScheme(LPCWSTR lpszScheme);
@property (nonatomic,readwrite,assign,getter=scheme,setter=setScheme:) NSString* scheme;
- (NSString*)scheme;
- (void)setScheme:(NSString*)newScheme;
#define PID_PUBLICKEYCRYPTO_SCHEME 24

SECUREBLACKBOX_EXTERNAL void* SECUREBLACKBOX_CALL SecureBlackbox_PublicKeyCrypto_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
SECUREBLACKBOX_EXTERNAL int SECUREBLACKBOX_CALL SecureBlackbox_PublicKeyCrypto_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

""

Remarks

Certain asymmetric algorithms are often accompanied with a specific algorithm scheme. Two typical examples are RSA's own OAEP and PSS schemes. Use this property to tune up the scheme to use. Leave it empty to proceed with the standard scheme (such as PKCS#1-v1.5 for RSA).Supported schemes:

RSA: PKCS#1, PSS, OAEP, SSL3

ECDSA: ed25519, ed448, ed25519ph, ed448ph

Data Type

String

Copyright (c) 2022 /n software inc. - All rights reserved.
SecureBlackbox 2020 C++ Edition - Version 20.0 [Build 8166]