SecureBlackbox 2020 C++ Edition

Questions / Feedback?

EmbedCertificateMethod Property

Controls the certificate disposition within the signature.

Syntax

ANSI (Cross Platform)
int GetEmbedCertificateMethod();
int SetEmbedCertificateMethod(int iEmbedCertificateMethod); Unicode (Windows) INT GetEmbedCertificateMethod();
INT SetEmbedCertificateMethod(INT iEmbedCertificateMethod);

Possible Values

CWEC_IN_SIGNATURE(0), 
CWEC_IN_BINARY_SECURITY_TOKEN(1),
CWEC_IN_SIGNED_BINARY_SECURITY_TOKEN(2),
CWEC_IN_BINARY_SECURITY_TOKEN_AND_SIGNATURE(3),
CWEC_NONE(4)
@property (nonatomic,readwrite,assign,getter=embedCertificateMethod,setter=setEmbedCertificateMethod:) int embedCertificateMethod;
- (int)embedCertificateMethod;
- (void)setEmbedCertificateMethod:(int)newEmbedCertificateMethod;

Possible Values

CWEC_IN_SIGNATURE(0), 
CWEC_IN_BINARY_SECURITY_TOKEN(1),
CWEC_IN_SIGNED_BINARY_SECURITY_TOKEN(2),
CWEC_IN_BINARY_SECURITY_TOKEN_AND_SIGNATURE(3),
CWEC_NONE(4)
#define PID_SOAPQUICKSIGNER_EMBEDCERTIFICATEMETHOD 2

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

Default Value

1

Remarks

This property controls the method of embedding the signing certificate(s) into the signature if WS-Security signature type is used.

Supported values:

cwecInSignature0Embed certificate(s) into the signature
cwecInBinarySecurityToken1Embed certificate(s) into the BinarySecurityToken element
cwecInSignedBinarySecurityToken2Embed certificate(s) into the BinarySecurityToken element and sign them
cwecInBinarySecurityTokenAndSignature3Embed certificate(s) into the BinarySecurityToken element and the signature
cwecNone4Don't embed certificate(s) into the BinarySecurityToken element or the signature

Data Type

Integer

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