Class EncryptionConstants
java.lang.Object
org.apache.xml.security.utils.EncryptionConstants
- Author:
- $Author$
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringTag of Attr Algorithmstatic final StringTag of Attr encodingstatic final StringTag of Attr Idstatic final StringTag of Attr mimetypestatic final StringTag of Attr recipientstatic final StringTag of Attr Targetstatic final StringTag of Attr Typestatic final StringTag of Attr URIstatic final StringTag of Element AgreementMethodstatic final StringTag of Element CarriedKeyNamestatic final StringTag of Element CipherDatastatic final StringTag of Element CipherReferencestatic final StringTag of Element CipherValuestatic final StringTag of Element DataReferencestatic final StringTag of Element EncryptedDatastatic final StringTag of Element EncryptedKeystatic final StringTag of Element EncryptionMethodstatic final StringTag of Element EncryptionPropertiesstatic final StringTag of Element EncryptionPropertystatic final StringTag of Element KA-Noncestatic final StringTag of Element KeyReferencestatic final StringTag of Element KeySizestatic final StringTag of Element OAEPparamsstatic final StringTag of Element OriginatorKeyInfostatic final StringTag of Element RecipientKeyInfostatic final StringTag of Element ReferenceListstatic final StringTag of Element Transformsstatic final StringMessage Authentication - RECOMMENDED XML Digital Signaturestatic final StringBlock Encryption - REQUIRED AES-128static final StringBlock Encryption - OPTIONAL AES-192static final StringBlock Encryption - REQUIRED AES-256static final StringBlock Encryption - REQUIRED TRIPLEDESstatic final StringCanonicalization - OPTIONAL Canonical XML (omits comments)static final StringCanonicalization - OPTIONAL Canonical XML with Commentsstatic final StringEncoding - REQUIRED base64static final StringKey Agreement - OPTIONAL Diffie-Hellmanstatic final StringKey Transport - REQUIRED RSA-v1.5static final StringKey Transport - REQUIRED RSA-OAEPstatic final StringSymmetric Key Wrap - REQUIRED AES-128 KeyWrapstatic final StringSymmetric Key Wrap - OPTIONAL AES-192 KeyWrapstatic final StringSymmetric Key Wrap - REQUIRED AES-256 KeyWrapstatic final StringSymmetric Key Wrap - REQUIRED TRIPLEDES KeyWrapstatic final StringField ENCRYPTIONSPECIFICATION_URLstatic final StringThe namespace of the XML Encryption Syntax and Processingstatic final StringURI for contentstatic final StringURI for elementstatic final StringURI for mediatype -
Method Summary
Modifier and TypeMethodDescriptionstatic StringMethod getEncryptionSpecNSprefixstatic voidsetEncryptionSpecNSprefix(String newPrefix) Method setEncryptionSpecNSprefix
-
Field Details
-
_ATT_ALGORITHM
-
_ATT_ID
-
_ATT_TARGET
-
_ATT_TYPE
-
_ATT_URI
-
_ATT_ENCODING
-
_ATT_RECIPIENT
-
_ATT_MIMETYPE
-
_TAG_CARRIEDKEYNAME
-
_TAG_CIPHERDATA
-
_TAG_CIPHERREFERENCE
-
_TAG_CIPHERVALUE
-
_TAG_DATAREFERENCE
-
_TAG_ENCRYPTEDDATA
-
_TAG_ENCRYPTEDKEY
-
_TAG_ENCRYPTIONMETHOD
-
_TAG_ENCRYPTIONPROPERTIES
-
_TAG_ENCRYPTIONPROPERTY
-
_TAG_KEYREFERENCE
-
_TAG_KEYSIZE
-
_TAG_OAEPPARAMS
-
_TAG_REFERENCELIST
-
_TAG_TRANSFORMS
-
_TAG_AGREEMENTMETHOD
-
_TAG_KA_NONCE
-
_TAG_ORIGINATORKEYINFO
-
_TAG_RECIPIENTKEYINFO
-
ENCRYPTIONSPECIFICATION_URL
-
EncryptionSpecNS
The namespace of the XML Encryption Syntax and Processing- See Also:
-
TYPE_CONTENT
-
TYPE_ELEMENT
-
TYPE_MEDIATYPE
-
ALGO_ID_BLOCKCIPHER_TRIPLEDES
Block Encryption - REQUIRED TRIPLEDES- See Also:
-
ALGO_ID_BLOCKCIPHER_AES128
-
ALGO_ID_BLOCKCIPHER_AES256
-
ALGO_ID_BLOCKCIPHER_AES192
-
ALGO_ID_KEYTRANSPORT_RSA15
-
ALGO_ID_KEYTRANSPORT_RSAOAEP
-
ALGO_ID_KEYAGREEMENT_DH
Key Agreement - OPTIONAL Diffie-Hellman- See Also:
-
ALGO_ID_KEYWRAP_TRIPLEDES
Symmetric Key Wrap - REQUIRED TRIPLEDES KeyWrap- See Also:
-
ALGO_ID_KEYWRAP_AES128
Symmetric Key Wrap - REQUIRED AES-128 KeyWrap- See Also:
-
ALGO_ID_KEYWRAP_AES256
Symmetric Key Wrap - REQUIRED AES-256 KeyWrap- See Also:
-
ALGO_ID_KEYWRAP_AES192
Symmetric Key Wrap - OPTIONAL AES-192 KeyWrap- See Also:
-
ALGO_ID_AUTHENTICATION_XMLSIGNATURE
Message Authentication - RECOMMENDED XML Digital Signature- See Also:
-
ALGO_ID_C14N_WITHCOMMENTS
Canonicalization - OPTIONAL Canonical XML with Comments- See Also:
-
ALGO_ID_C14N_OMITCOMMENTS
Canonicalization - OPTIONAL Canonical XML (omits comments)- See Also:
-
ALGO_ID_ENCODING_BASE64
-
-
Method Details
-
setEncryptionSpecNSprefix
Method setEncryptionSpecNSprefix- Parameters:
newPrefix-- Throws:
XMLSecurityException
-
getEncryptionSpecNSprefix
Method getEncryptionSpecNSprefix- Returns:
- the prefix for this node.
-