embedCertificateMethod (property)
Controls the certificate disposition within the signature.
Syntax
@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)
public var embedCertificateMethod: SoapquicksignerEmbedCertificateMethods { get {...}
set {...} }
public enum SoapquicksignerEmbedCertificateMethods : 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:
cwecInSignature | 0 | Embed certificate(s) into the signature |
cwecInBinarySecurityToken | 1 | Embed certificate(s) into the BinarySecurityToken element |
cwecInSignedBinarySecurityToken | 2 | Embed certificate(s) into the BinarySecurityToken element and sign them |
cwecInBinarySecurityTokenAndSignature | 3 | Embed certificate(s) into the BinarySecurityToken element and the signature |
cwecNone | 4 | Don't embed certificate(s) into the BinarySecurityToken element or the signature |