org.apache.ws.security
Class WSConstants
java.lang.Object
org.apache.ws.security.WSConstants
public class WSConstants
- extends Object
Constants in WS-Security spec.
Field Summary |
static String |
AES_128
|
static String |
AES_128_GCM
|
static String |
AES_192
|
static String |
AES_256
|
static String |
AES_256_GCM
|
static String |
ASSERTION_LN
|
static String |
ATTR_ACTOR
|
static String |
ATTR_MUST_UNDERSTAND
|
static String |
ATTR_ROLE
|
static String |
BINARY_TOKEN_LN
|
static int |
BST
|
static int |
BST_DIRECT_REFERENCE
Sets the WSSecSignature.build(Document, Crypto, WSSecHeader) method to send the signing certificate as a BinarySecurityToken . |
static String |
C14N_EXCL_OMIT_COMMENTS
|
static String |
C14N_EXCL_OMIT_COMMENTS_PREFIX
|
static String |
C14N_EXCL_WITH_COMMENTS
|
static String |
C14N_OMIT_COMMENTS
|
static String |
C14N_WITH_COMMENTS
|
static String |
CREATED_LN
|
static int |
CUSTOM_KEY_IDENTIFIER
CUSTOM_KEY_IDENTIFIER is used to set a KeyIdentifier to
a particular ID
The reference id and value type are set externally. |
static int |
CUSTOM_SYMM_SIGNING
CUSTOM_SYMM_SIGNING is used internally only to set a
specific Signature behavior. |
static int |
CUSTOM_SYMM_SIGNING_DIRECT
CUSTOM_SYMM_SIGNING_DIRECT is used internally only to set a
specific Signature behavior. |
static String |
DEFAULT_SOAP_PREFIX
|
static int |
DKT
|
static String |
DSA
|
static String |
ELEM_BODY
|
static String |
ELEM_ENVELOPE
|
static String |
ELEM_HEADER
|
static int |
EMBED_SECURITY_TOKEN_REF
Embeds a keyinfo/wsse:SecurityTokenReference into EncryptedData element. |
static int |
EMBEDDED_KEYNAME
Embeds a keyinfo/key name into the EncryptedData element. |
static String |
ENC_DATA_LN
|
static String |
ENC_KEY_LN
|
static String |
ENC_KEY_SHA1_URI
|
static String |
ENC_KEY_VALUE_TYPE
|
static String |
ENC_NS
|
static String |
ENC_PREFIX
|
static int |
ENCR
|
static String |
ENCRYPTED_HEADER
|
static int |
ENCRYPTED_KEY_SHA1_IDENTIFIER
ENCRYPTED_KEY_SHA1_IDENTIFIER is used to set the specific key identifier
EncryptedKeySHA1. |
static String |
EXPIRES_LN
|
static QName |
FAILED_AUTHENTICATION
The security token could not be authenticated or authorized |
static QName |
FAILED_CHECK
The signature or decryption was invalid |
static String |
HMAC_MD5
|
static String |
HMAC_SHA1
|
static String |
HMAC_SHA256
|
static String |
HMAC_SHA384
|
static String |
HMAC_SHA512
|
static QName |
INVALID_SECURITY
An error was discovered processing the header |
static QName |
INVALID_SECURITY_TOKEN
An invalid security token was provided |
static int |
ISSUER_SERIAL
Sets the WSSecSignature.build(Document, Crypto, WSSecHeader) or the WSSecEncrypt.build(Document, Crypto, WSSecHeader) method to send the issuer name and the serial number of a certificate to
the receiver. |
static String |
ITERATION_LN
|
static String |
KERBEROS_NS11
|
static int |
KEY_VALUE
KEY_VALUE is used to set a ds:KeyInfo/ds:KeyValue element to refer to
either an RSA or DSA public key. |
static String |
KEYINFO_LN
|
static String |
KEYTRANSPORT_RSA15
|
static String |
KEYTRANSPORT_RSAOEP
|
static String |
KEYVALUE_LN
|
static String |
LABEL_FOR_DERIVED_KEY
|
static QName |
MESSAGE_EXPIRED
The message has expired |
static int |
NO_SECURITY
|
static int |
NO_SERIALIZE
|
static String |
NONCE_LN
|
static String |
NULL_NS
|
static String |
PASSWORD_DIGEST
|
static String |
PASSWORD_LN
|
static String |
PASSWORD_TEXT
|
static String |
PASSWORD_TYPE_ATTR
|
static String |
PW_DIGEST
|
static String |
PW_NONE
|
static String |
PW_TEXT
|
static String |
REF_LIST_LN
|
static String |
RSA
|
static String |
RSA_SHA1
|
static String |
SALT_LN
|
static String |
SAML_ASSERTION_ID
|
static String |
SAML_NS
|
static String |
SAML2_ASSERTION_ID
|
static String |
SAML2_NS
|
static String |
SAMLP_NS
|
static String |
SAMLP2_NS
|
static String |
SAMLTOKEN_NS
|
static String |
SAMLTOKEN_NS11
|
static int |
SC
|
static int |
SCT
|
static QName |
SECURITY_TOKEN_UNAVAILABLE
Referenced security token could not be retrieved |
static int |
SERIALIZE
|
static String |
SHA1
|
static String |
SIG_LN
|
static String |
SIG_NS
|
static String |
SIG_PREFIX
|
static int |
SIGN
|
static String |
SIGNATURE_CONFIRMATION_LN
|
static int |
SKI_KEY_IDENTIFIER
Sets the WSSecSignature.build(Document, Crypto, WSSecHeader) method to send a SubjectKeyIdentifier to identify
the signing certificate. |
static String |
SOAPMESSAGE_NS
|
static String |
SOAPMESSAGE_NS11
|
static int |
ST_SIGNED
|
static int |
ST_UNSIGNED
|
static String |
THUMBPRINT
|
static int |
THUMBPRINT_IDENTIFIER
THUMPRINT_IDENTIFIER is used to set the specific key identifier
ThumbprintSHA1. |
static String |
TIMESTAMP_TOKEN_LN
|
static String |
TOKEN_TYPE
|
static String |
TRIPLE_DES
|
static int |
TS
|
static QName |
UNSUPPORTED_ALGORITHM
An unsupported signature or encryption algorithm was used |
static QName |
UNSUPPORTED_SECURITY_TOKEN
An unsupported token was provided |
static String |
URI_SOAP11_ENV
|
static String |
URI_SOAP11_NEXT_ACTOR
|
static String |
URI_SOAP12_ENV
|
static String |
URI_SOAP12_NEXT_ROLE
|
static String |
URI_SOAP12_NONE_ROLE
|
static String |
URI_SOAP12_ULTIMATE_ROLE
|
static String[] |
URIS_SOAP_ENV
|
static String |
USERNAME_LN
|
static String |
USERNAME_TOKEN_LN
|
static String |
USERNAMETOKEN_NS
|
static int |
UT
|
static int |
UT_NOPASSWORD
|
static int |
UT_SIGN
|
static int |
UT_SIGNING
UT_SIGNING is used internally only to set a specific Signature
behavior. |
static String |
WSC_SCT
|
static String |
WSC_SCT_05_12
|
static int |
WSE_DERIVED_KEY_LEN
Length of UsernameToken derived key used by .NET WSE to sign a message. |
static String |
WSS_ENC_KEY_VALUE_TYPE
|
static String |
WSS_GSS_KRB_V5_AP_REQ
|
static String |
WSS_GSS_KRB_V5_AP_REQ1510
|
static String |
WSS_GSS_KRB_V5_AP_REQ4120
|
static String |
WSS_KRB_KI_VALUE_TYPE
|
static String |
WSS_KRB_V5_AP_REQ
|
static String |
WSS_KRB_V5_AP_REQ1510
|
static String |
WSS_KRB_V5_AP_REQ4120
|
static String |
WSS_SAML_KI_VALUE_TYPE
|
static String |
WSS_SAML_TOKEN_TYPE
|
static String |
WSS_SAML2_KI_VALUE_TYPE
|
static String |
WSS_SAML2_TOKEN_TYPE
|
static String |
WSS_USERNAME_TOKEN_VALUE_TYPE
|
static String |
WSSE_LN
|
static String |
WSSE_NS
|
static String |
WSSE_PREFIX
|
static String |
WSSE11_NS
|
static String |
WSSE11_PREFIX
|
static String |
WST_NS
|
static String |
WST_NS_05_12
WS-Trust 1.3 namespace |
static String |
WST_NS_08_02
WS-Trust 1.4 namespace |
static String |
WSU_NS
|
static String |
WSU_PREFIX
|
static String |
X509_CERT_LN
|
static String |
X509_DATA_LN
|
static String |
X509_ISSUER_NAME_LN
|
static String |
X509_ISSUER_SERIAL_LN
|
static int |
X509_KEY_IDENTIFIER
Sets the WSSecSignature.build(Document, Crypto, WSSecHeader) or the WSSecEncrypt.build(Document, Crypto, WSSecHeader) method to send the certificate used to encrypt the symmetric key. |
static String |
X509_SERIAL_NUMBER_LN
|
static String |
X509TOKEN_NS
|
static String |
XML_NS
|
static String |
XMLNS_NS
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WSSE_NS
public static final String WSSE_NS
- See Also:
- Constant Field Values
WSSE11_NS
public static final String WSSE11_NS
- See Also:
- Constant Field Values
WSU_NS
public static final String WSU_NS
- See Also:
- Constant Field Values
SOAPMESSAGE_NS
public static final String SOAPMESSAGE_NS
- See Also:
- Constant Field Values
SOAPMESSAGE_NS11
public static final String SOAPMESSAGE_NS11
- See Also:
- Constant Field Values
USERNAMETOKEN_NS
public static final String USERNAMETOKEN_NS
- See Also:
- Constant Field Values
X509TOKEN_NS
public static final String X509TOKEN_NS
- See Also:
- Constant Field Values
SAMLTOKEN_NS
public static final String SAMLTOKEN_NS
- See Also:
- Constant Field Values
SAMLTOKEN_NS11
public static final String SAMLTOKEN_NS11
- See Also:
- Constant Field Values
KERBEROS_NS11
public static final String KERBEROS_NS11
- See Also:
- Constant Field Values
SIG_NS
public static final String SIG_NS
- See Also:
- Constant Field Values
ENC_NS
public static final String ENC_NS
- See Also:
- Constant Field Values
XMLNS_NS
public static final String XMLNS_NS
- See Also:
- Constant Field Values
XML_NS
public static final String XML_NS
- See Also:
- Constant Field Values
SAML_NS
public static final String SAML_NS
- See Also:
- Constant Field Values
SAMLP_NS
public static final String SAMLP_NS
- See Also:
- Constant Field Values
SAML2_NS
public static final String SAML2_NS
- See Also:
- Constant Field Values
SAMLP2_NS
public static final String SAMLP2_NS
- See Also:
- Constant Field Values
URI_SOAP11_ENV
public static final String URI_SOAP11_ENV
- See Also:
- Constant Field Values
URI_SOAP12_ENV
public static final String URI_SOAP12_ENV
- See Also:
- Constant Field Values
URI_SOAP11_NEXT_ACTOR
public static final String URI_SOAP11_NEXT_ACTOR
- See Also:
- Constant Field Values
URI_SOAP12_NEXT_ROLE
public static final String URI_SOAP12_NEXT_ROLE
- See Also:
- Constant Field Values
URI_SOAP12_NONE_ROLE
public static final String URI_SOAP12_NONE_ROLE
- See Also:
- Constant Field Values
URI_SOAP12_ULTIMATE_ROLE
public static final String URI_SOAP12_ULTIMATE_ROLE
- See Also:
- Constant Field Values
C14N_OMIT_COMMENTS
public static final String C14N_OMIT_COMMENTS
- See Also:
- Constant Field Values
C14N_WITH_COMMENTS
public static final String C14N_WITH_COMMENTS
- See Also:
- Constant Field Values
C14N_EXCL_OMIT_COMMENTS
public static final String C14N_EXCL_OMIT_COMMENTS
- See Also:
- Constant Field Values
C14N_EXCL_WITH_COMMENTS
public static final String C14N_EXCL_WITH_COMMENTS
- See Also:
- Constant Field Values
KEYTRANSPORT_RSA15
public static final String KEYTRANSPORT_RSA15
- See Also:
- Constant Field Values
KEYTRANSPORT_RSAOEP
public static final String KEYTRANSPORT_RSAOEP
- See Also:
- Constant Field Values
TRIPLE_DES
public static final String TRIPLE_DES
- See Also:
- Constant Field Values
AES_128
public static final String AES_128
- See Also:
- Constant Field Values
AES_256
public static final String AES_256
- See Also:
- Constant Field Values
AES_192
public static final String AES_192
- See Also:
- Constant Field Values
AES_128_GCM
public static final String AES_128_GCM
- See Also:
- Constant Field Values
AES_256_GCM
public static final String AES_256_GCM
- See Also:
- Constant Field Values
DSA
public static final String DSA
- See Also:
- Constant Field Values
RSA
public static final String RSA
- See Also:
- Constant Field Values
RSA_SHA1
public static final String RSA_SHA1
- See Also:
- Constant Field Values
SHA1
public static final String SHA1
- See Also:
- Constant Field Values
HMAC_SHA1
public static final String HMAC_SHA1
- See Also:
- Constant Field Values
HMAC_SHA256
public static final String HMAC_SHA256
- See Also:
- Constant Field Values
HMAC_SHA384
public static final String HMAC_SHA384
- See Also:
- Constant Field Values
HMAC_SHA512
public static final String HMAC_SHA512
- See Also:
- Constant Field Values
HMAC_MD5
public static final String HMAC_MD5
- See Also:
- Constant Field Values
WST_NS
public static final String WST_NS
- See Also:
- Constant Field Values
WST_NS_05_12
public static final String WST_NS_05_12
- WS-Trust 1.3 namespace
- See Also:
- Constant Field Values
WST_NS_08_02
public static final String WST_NS_08_02
- WS-Trust 1.4 namespace
- See Also:
- Constant Field Values
WSC_SCT
public static final String WSC_SCT
- See Also:
- Constant Field Values
WSC_SCT_05_12
public static final String WSC_SCT_05_12
- See Also:
- Constant Field Values
WSSE_LN
public static final String WSSE_LN
- See Also:
- Constant Field Values
THUMBPRINT
public static final String THUMBPRINT
- See Also:
- Constant Field Values
SAML_ASSERTION_ID
public static final String SAML_ASSERTION_ID
- See Also:
- Constant Field Values
SAML2_ASSERTION_ID
public static final String SAML2_ASSERTION_ID
- See Also:
- Constant Field Values
ENC_KEY_VALUE_TYPE
public static final String ENC_KEY_VALUE_TYPE
- See Also:
- Constant Field Values
ENC_KEY_SHA1_URI
public static final String ENC_KEY_SHA1_URI
- See Also:
- Constant Field Values
SIG_LN
public static final String SIG_LN
- See Also:
- Constant Field Values
ENC_KEY_LN
public static final String ENC_KEY_LN
- See Also:
- Constant Field Values
ENC_DATA_LN
public static final String ENC_DATA_LN
- See Also:
- Constant Field Values
REF_LIST_LN
public static final String REF_LIST_LN
- See Also:
- Constant Field Values
USERNAME_TOKEN_LN
public static final String USERNAME_TOKEN_LN
- See Also:
- Constant Field Values
BINARY_TOKEN_LN
public static final String BINARY_TOKEN_LN
- See Also:
- Constant Field Values
TIMESTAMP_TOKEN_LN
public static final String TIMESTAMP_TOKEN_LN
- See Also:
- Constant Field Values
USERNAME_LN
public static final String USERNAME_LN
- See Also:
- Constant Field Values
PASSWORD_LN
public static final String PASSWORD_LN
- See Also:
- Constant Field Values
PASSWORD_TYPE_ATTR
public static final String PASSWORD_TYPE_ATTR
- See Also:
- Constant Field Values
NONCE_LN
public static final String NONCE_LN
- See Also:
- Constant Field Values
CREATED_LN
public static final String CREATED_LN
- See Also:
- Constant Field Values
EXPIRES_LN
public static final String EXPIRES_LN
- See Also:
- Constant Field Values
SIGNATURE_CONFIRMATION_LN
public static final String SIGNATURE_CONFIRMATION_LN
- See Also:
- Constant Field Values
SALT_LN
public static final String SALT_LN
- See Also:
- Constant Field Values
ITERATION_LN
public static final String ITERATION_LN
- See Also:
- Constant Field Values
ASSERTION_LN
public static final String ASSERTION_LN
- See Also:
- Constant Field Values
PW_DIGEST
public static final String PW_DIGEST
- See Also:
- Constant Field Values
PW_TEXT
public static final String PW_TEXT
- See Also:
- Constant Field Values
PW_NONE
public static final String PW_NONE
- See Also:
- Constant Field Values
ENCRYPTED_HEADER
public static final String ENCRYPTED_HEADER
- See Also:
- Constant Field Values
X509_ISSUER_SERIAL_LN
public static final String X509_ISSUER_SERIAL_LN
- See Also:
- Constant Field Values
X509_ISSUER_NAME_LN
public static final String X509_ISSUER_NAME_LN
- See Also:
- Constant Field Values
X509_SERIAL_NUMBER_LN
public static final String X509_SERIAL_NUMBER_LN
- See Also:
- Constant Field Values
X509_DATA_LN
public static final String X509_DATA_LN
- See Also:
- Constant Field Values
X509_CERT_LN
public static final String X509_CERT_LN
- See Also:
- Constant Field Values
KEYINFO_LN
public static final String KEYINFO_LN
- See Also:
- Constant Field Values
KEYVALUE_LN
public static final String KEYVALUE_LN
- See Also:
- Constant Field Values
TOKEN_TYPE
public static final String TOKEN_TYPE
- See Also:
- Constant Field Values
ELEM_ENVELOPE
public static final String ELEM_ENVELOPE
- See Also:
- Constant Field Values
ELEM_HEADER
public static final String ELEM_HEADER
- See Also:
- Constant Field Values
ELEM_BODY
public static final String ELEM_BODY
- See Also:
- Constant Field Values
ATTR_MUST_UNDERSTAND
public static final String ATTR_MUST_UNDERSTAND
- See Also:
- Constant Field Values
ATTR_ACTOR
public static final String ATTR_ACTOR
- See Also:
- Constant Field Values
ATTR_ROLE
public static final String ATTR_ROLE
- See Also:
- Constant Field Values
NULL_NS
public static final String NULL_NS
- See Also:
- Constant Field Values
WSSE_PREFIX
public static final String WSSE_PREFIX
- See Also:
- Constant Field Values
WSSE11_PREFIX
public static final String WSSE11_PREFIX
- See Also:
- Constant Field Values
WSU_PREFIX
public static final String WSU_PREFIX
- See Also:
- Constant Field Values
DEFAULT_SOAP_PREFIX
public static final String DEFAULT_SOAP_PREFIX
- See Also:
- Constant Field Values
SIG_PREFIX
public static final String SIG_PREFIX
- See Also:
- Constant Field Values
ENC_PREFIX
public static final String ENC_PREFIX
- See Also:
- Constant Field Values
C14N_EXCL_OMIT_COMMENTS_PREFIX
public static final String C14N_EXCL_OMIT_COMMENTS_PREFIX
- See Also:
- Constant Field Values
UNSUPPORTED_SECURITY_TOKEN
public static final QName UNSUPPORTED_SECURITY_TOKEN
- An unsupported token was provided
UNSUPPORTED_ALGORITHM
public static final QName UNSUPPORTED_ALGORITHM
- An unsupported signature or encryption algorithm was used
INVALID_SECURITY
public static final QName INVALID_SECURITY
- An error was discovered processing the header
INVALID_SECURITY_TOKEN
public static final QName INVALID_SECURITY_TOKEN
- An invalid security token was provided
FAILED_AUTHENTICATION
public static final QName FAILED_AUTHENTICATION
- The security token could not be authenticated or authorized
FAILED_CHECK
public static final QName FAILED_CHECK
- The signature or decryption was invalid
SECURITY_TOKEN_UNAVAILABLE
public static final QName SECURITY_TOKEN_UNAVAILABLE
- Referenced security token could not be retrieved
MESSAGE_EXPIRED
public static final QName MESSAGE_EXPIRED
- The message has expired
WSS_KRB_V5_AP_REQ
public static final String WSS_KRB_V5_AP_REQ
- See Also:
- Constant Field Values
WSS_GSS_KRB_V5_AP_REQ
public static final String WSS_GSS_KRB_V5_AP_REQ
- See Also:
- Constant Field Values
WSS_KRB_V5_AP_REQ1510
public static final String WSS_KRB_V5_AP_REQ1510
- See Also:
- Constant Field Values
WSS_GSS_KRB_V5_AP_REQ1510
public static final String WSS_GSS_KRB_V5_AP_REQ1510
- See Also:
- Constant Field Values
WSS_KRB_V5_AP_REQ4120
public static final String WSS_KRB_V5_AP_REQ4120
- See Also:
- Constant Field Values
WSS_GSS_KRB_V5_AP_REQ4120
public static final String WSS_GSS_KRB_V5_AP_REQ4120
- See Also:
- Constant Field Values
WSS_KRB_KI_VALUE_TYPE
public static final String WSS_KRB_KI_VALUE_TYPE
- See Also:
- Constant Field Values
WSS_SAML_KI_VALUE_TYPE
public static final String WSS_SAML_KI_VALUE_TYPE
- See Also:
- Constant Field Values
WSS_SAML2_KI_VALUE_TYPE
public static final String WSS_SAML2_KI_VALUE_TYPE
- See Also:
- Constant Field Values
WSS_SAML_TOKEN_TYPE
public static final String WSS_SAML_TOKEN_TYPE
- See Also:
- Constant Field Values
WSS_SAML2_TOKEN_TYPE
public static final String WSS_SAML2_TOKEN_TYPE
- See Also:
- Constant Field Values
WSS_ENC_KEY_VALUE_TYPE
public static final String WSS_ENC_KEY_VALUE_TYPE
- See Also:
- Constant Field Values
PASSWORD_DIGEST
public static final String PASSWORD_DIGEST
- See Also:
- Constant Field Values
PASSWORD_TEXT
public static final String PASSWORD_TEXT
- See Also:
- Constant Field Values
WSS_USERNAME_TOKEN_VALUE_TYPE
public static final String WSS_USERNAME_TOKEN_VALUE_TYPE
- See Also:
- Constant Field Values
URIS_SOAP_ENV
public static final String[] URIS_SOAP_ENV
BST_DIRECT_REFERENCE
public static final int BST_DIRECT_REFERENCE
- Sets the
WSSecSignature.build(Document, Crypto, WSSecHeader)
method to send the signing certificate as a BinarySecurityToken
.
The signing method takes the signing certificate, converts it to a
BinarySecurityToken
, puts it in the security header,
and inserts a Reference
to the binary security token
into the wsse:SecurityReferenceToken
. Thus the whole
signing certificate is transfered to the receiver.
The X509 profile recommends to use ISSUER_SERIAL
instead
of sending the whole certificate.
Please refer to WS Security specification X509 1.1 profile, chapter 3.3.2
and to WS Security SOAP Message security 1.1 specification, chapter 7.2
Note: only local references to BinarySecurityToken are supported
- See Also:
- Constant Field Values
ISSUER_SERIAL
public static final int ISSUER_SERIAL
- Sets the
WSSecSignature.build(Document, Crypto, WSSecHeader)
or the WSSecEncrypt.build(Document, Crypto, WSSecHeader)
method to send the issuer name and the serial number of a certificate to
the receiver.
In contrast to BST_DIRECT_REFERENCE
only the issuer name
and the serial number of the signing certificate are sent to the
receiver. This reduces the amount of data being sent. The encryption
method uses the public key associated with this certificate to encrypt
the symmetric key used to encrypt data.
Please refer to WS Security specification X509 1.1 profile, chapter 3.3.3
- See Also:
- Constant Field Values
X509_KEY_IDENTIFIER
public static final int X509_KEY_IDENTIFIER
- Sets the
WSSecSignature.build(Document, Crypto, WSSecHeader)
or the WSSecEncrypt.build(Document, Crypto, WSSecHeader)
method to send the certificate used to encrypt the symmetric key.
The encryption method uses the public key associated with this certificate
to encrypt the symmetric key used to encrypt data. The certificate is
converted into a KeyIdentifier
token and sent to the receiver.
Thus the complete certificate data is transfered to receiver.
The X509 profile recommends to use ISSUER_SERIAL
instead
of sending the whole certificate.
Please refer to WS Security SOAP Message security 1.1 specification,
chapter 7.3. Note that this is a NON-STANDARD method. The standard way to refer to
an X.509 Certificate via a KeyIdentifier is to use SKI_KEY_IDENTIFIER
- See Also:
- Constant Field Values
SKI_KEY_IDENTIFIER
public static final int SKI_KEY_IDENTIFIER
- Sets the
WSSecSignature.build(Document, Crypto, WSSecHeader)
method to send a SubjectKeyIdentifier
to identify
the signing certificate.
Refer to WS Security specification X509 1.1 profile, chapter 3.3.1
- See Also:
- Constant Field Values
EMBEDDED_KEYNAME
public static final int EMBEDDED_KEYNAME
- Embeds a keyinfo/key name into the EncryptedData element.
- See Also:
- Constant Field Values
EMBED_SECURITY_TOKEN_REF
public static final int EMBED_SECURITY_TOKEN_REF
- Embeds a keyinfo/wsse:SecurityTokenReference into EncryptedData element.
- See Also:
- Constant Field Values
UT_SIGNING
public static final int UT_SIGNING
UT_SIGNING
is used internally only to set a specific Signature
behavior.
The signing token is constructed from values in the UsernameToken according
to WS-Trust specification.
- See Also:
- Constant Field Values
THUMBPRINT_IDENTIFIER
public static final int THUMBPRINT_IDENTIFIER
THUMPRINT_IDENTIFIER
is used to set the specific key identifier
ThumbprintSHA1.
This identifier uses the SHA-1 digest of a security token to
identify the security token. Please refer to chapter 7.2 of the OASIS WSS 1.1
specification.
- See Also:
- Constant Field Values
CUSTOM_SYMM_SIGNING
public static final int CUSTOM_SYMM_SIGNING
CUSTOM_SYMM_SIGNING
is used internally only to set a
specific Signature behavior.
The signing key, reference id and value type are set externally.
- See Also:
- Constant Field Values
ENCRYPTED_KEY_SHA1_IDENTIFIER
public static final int ENCRYPTED_KEY_SHA1_IDENTIFIER
ENCRYPTED_KEY_SHA1_IDENTIFIER
is used to set the specific key identifier
EncryptedKeySHA1.
This identifier uses the SHA-1 digest of a security token to
identify the security token. Please refer to chapter 7.3 of the OASIS WSS 1.1
specification.
- See Also:
- Constant Field Values
CUSTOM_SYMM_SIGNING_DIRECT
public static final int CUSTOM_SYMM_SIGNING_DIRECT
CUSTOM_SYMM_SIGNING_DIRECT
is used internally only to set a
specific Signature behavior.
The signing key, reference id and value type are set externally.
- See Also:
- Constant Field Values
CUSTOM_KEY_IDENTIFIER
public static final int CUSTOM_KEY_IDENTIFIER
CUSTOM_KEY_IDENTIFIER
is used to set a KeyIdentifier to
a particular ID
The reference id and value type are set externally.
- See Also:
- Constant Field Values
KEY_VALUE
public static final int KEY_VALUE
KEY_VALUE
is used to set a ds:KeyInfo/ds:KeyValue element to refer to
either an RSA or DSA public key.
- See Also:
- Constant Field Values
NO_SECURITY
public static final int NO_SECURITY
- See Also:
- Constant Field Values
UT
public static final int UT
- See Also:
- Constant Field Values
SIGN
public static final int SIGN
- See Also:
- Constant Field Values
ENCR
public static final int ENCR
- See Also:
- Constant Field Values
ST_UNSIGNED
public static final int ST_UNSIGNED
- See Also:
- Constant Field Values
ST_SIGNED
public static final int ST_SIGNED
- See Also:
- Constant Field Values
TS
public static final int TS
- See Also:
- Constant Field Values
UT_SIGN
public static final int UT_SIGN
- See Also:
- Constant Field Values
SC
public static final int SC
- See Also:
- Constant Field Values
NO_SERIALIZE
public static final int NO_SERIALIZE
- See Also:
- Constant Field Values
SERIALIZE
public static final int SERIALIZE
- See Also:
- Constant Field Values
SCT
public static final int SCT
- See Also:
- Constant Field Values
DKT
public static final int DKT
- See Also:
- Constant Field Values
BST
public static final int BST
- See Also:
- Constant Field Values
UT_NOPASSWORD
public static final int UT_NOPASSWORD
- See Also:
- Constant Field Values
WSE_DERIVED_KEY_LEN
public static final int WSE_DERIVED_KEY_LEN
- Length of UsernameToken derived key used by .NET WSE to sign a message.
- See Also:
- Constant Field Values
LABEL_FOR_DERIVED_KEY
public static final String LABEL_FOR_DERIVED_KEY
- See Also:
- Constant Field Values
WSConstants
public WSConstants()
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.