SecureBlackbox 2020 C++ Edition

Questions / Feedback?

SignatureType Property

Specifies the kind of signature to be created.

Syntax

ANSI (Cross Platform)
int GetSignatureType();
int SetSignatureType(int iSignatureType); Unicode (Windows) INT GetSignatureType();
INT SetSignatureType(INT iSignatureType);

Possible Values

CAST_UNKNOWN(0), 
CAST_CAD_ES(1),
CAST_XAD_ES(2),
CAST_TIMESTAMP(3)
@property (nonatomic,readwrite,assign,getter=signatureType,setter=setSignatureType:) int signatureType;
- (int)signatureType;
- (void)setSignatureType:(int)newSignatureType;

Possible Values

CAST_UNKNOWN(0), 
CAST_CAD_ES(1),
CAST_XAD_ES(2),
CAST_TIMESTAMP(3)
#define PID_ASICSIGNER_SIGNATURETYPE 52

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

Default Value

1

Remarks

Use this property to specify the desired signature type: CAdE, XAdES, or Timestamp.

Note that a simple (ASiC-S) container can only contain one CAdES signature, and/or one XAdES signature, and/or one Timestamp. An ASiC-E container can include multiple CAdES, XAdES, or Timestamp elements. Use Extended to specify the type of container to create.

castUnknown0
castCAdES1
castXAdES2
castTimestamp3

Data Type

Integer

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