SecureBlackbox 2020 macOS Edition

Questions / Feedback?

EmbedCertificateMethod Property

Controls the certificate disposition within the signature.

Syntax

public var embedCertificateMethod: SoapsignerEmbedCertificateMethods {
get {...}
set {...} }

public enum SoapsignerEmbedCertificateMethods: Int32 { case cwecInSignature = 0 case cwecInBinarySecurityToken = 1 case cwecInSignedBinarySecurityToken = 2 case cwecInBinarySecurityTokenAndSignature = 3 case cwecNone = 4 }

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

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