EmbedCertificateMethod Property
Controls the certificate disposition within the signature.
Syntax
public int getEmbedCertificateMethod(); public void setEmbedCertificateMethod(int embedCertificateMethod);
Enumerated values: public final static int cwecInSignature = 0; public final static int cwecInBinarySecurityToken = 1; public final static int cwecInSignedBinarySecurityToken = 2; public final static int cwecInBinarySecurityTokenAndSignature = 3; public final static int 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 |