FileDocCategorySizeDatePackage
EncryptionConstants.javaAPI DocJava SE 6 API8556Tue Jun 10 00:23:04 BST 2008com.sun.org.apache.xml.internal.security.utils

EncryptionConstants

public class EncryptionConstants extends Object
author
$Author: raul $

Fields Summary
public static final String
_ATT_ALGORITHM
Tag of Attr Algorithm
public static final String
_ATT_ID
Tag of Attr Id
public static final String
_ATT_TARGET
Tag of Attr Target
public static final String
_ATT_TYPE
Tag of Attr Type
public static final String
_ATT_URI
Tag of Attr URI
public static final String
_ATT_ENCODING
Tag of Attr encoding
public static final String
_ATT_RECIPIENT
Tag of Attr recipient
public static final String
_ATT_MIMETYPE
Tag of Attr mimetype
public static final String
_TAG_CARRIEDKEYNAME
Tag of Element CarriedKeyName
public static final String
_TAG_CIPHERDATA
Tag of Element CipherData
public static final String
_TAG_CIPHERREFERENCE
Tag of Element CipherReference
public static final String
_TAG_CIPHERVALUE
Tag of Element CipherValue
public static final String
_TAG_DATAREFERENCE
Tag of Element DataReference
public static final String
_TAG_ENCRYPTEDDATA
Tag of Element EncryptedData
public static final String
_TAG_ENCRYPTEDKEY
Tag of Element EncryptedKey
public static final String
_TAG_ENCRYPTIONMETHOD
Tag of Element EncryptionMethod
public static final String
_TAG_ENCRYPTIONPROPERTIES
Tag of Element EncryptionProperties
public static final String
_TAG_ENCRYPTIONPROPERTY
Tag of Element EncryptionProperty
public static final String
_TAG_KEYREFERENCE
Tag of Element KeyReference
public static final String
_TAG_KEYSIZE
Tag of Element KeySize
public static final String
_TAG_OAEPPARAMS
Tag of Element OAEPparams
public static final String
_TAG_REFERENCELIST
Tag of Element ReferenceList
public static final String
_TAG_TRANSFORMS
Tag of Element Transforms
public static final String
_TAG_AGREEMENTMETHOD
Tag of Element AgreementMethod
public static final String
_TAG_KA_NONCE
Tag of Element KA-Nonce
public static final String
_TAG_ORIGINATORKEYINFO
Tag of Element OriginatorKeyInfo
public static final String
_TAG_RECIPIENTKEYINFO
Tag of Element RecipientKeyInfo
public static final String
ENCRYPTIONSPECIFICATION_URL
Field ENCRYPTIONSPECIFICATION_URL
public static final String
EncryptionSpecNS
The namespace of the XML Encryption Syntax and Processing
public static final String
TYPE_CONTENT
URI for content
public static final String
TYPE_ELEMENT
URI for element
public static final String
TYPE_MEDIATYPE
URI for mediatype
public static final String
ALGO_ID_BLOCKCIPHER_TRIPLEDES
Block Encryption - REQUIRED TRIPLEDES
public static final String
ALGO_ID_BLOCKCIPHER_AES128
Block Encryption - REQUIRED AES-128
public static final String
ALGO_ID_BLOCKCIPHER_AES256
Block Encryption - REQUIRED AES-256
public static final String
ALGO_ID_BLOCKCIPHER_AES192
Block Encryption - OPTIONAL AES-192
public static final String
ALGO_ID_KEYTRANSPORT_RSA15
Key Transport - REQUIRED RSA-v1.5
public static final String
ALGO_ID_KEYTRANSPORT_RSAOAEP
Key Transport - REQUIRED RSA-OAEP
public static final String
ALGO_ID_KEYAGREEMENT_DH
Key Agreement - OPTIONAL Diffie-Hellman
public static final String
ALGO_ID_KEYWRAP_TRIPLEDES
Symmetric Key Wrap - REQUIRED TRIPLEDES KeyWrap
public static final String
ALGO_ID_KEYWRAP_AES128
Symmetric Key Wrap - REQUIRED AES-128 KeyWrap
public static final String
ALGO_ID_KEYWRAP_AES256
Symmetric Key Wrap - REQUIRED AES-256 KeyWrap
public static final String
ALGO_ID_KEYWRAP_AES192
Symmetric Key Wrap - OPTIONAL AES-192 KeyWrap
public static final String
ALGO_ID_AUTHENTICATION_XMLSIGNATURE
Message Authentication - RECOMMENDED XML Digital Signature
public static final String
ALGO_ID_C14N_WITHCOMMENTS
Canonicalization - OPTIONAL Canonical XML with Comments
public static final String
ALGO_ID_C14N_OMITCOMMENTS
Canonicalization - OPTIONAL Canonical XML (omits comments)
public static final String
ALGO_ID_ENCODING_BASE64
Encoding - REQUIRED base64
Constructors Summary
private EncryptionConstants()

   //J+

     
     // we don't allow instantiation
   
Methods Summary
public static java.lang.StringgetEncryptionSpecNSprefix()
Method getEncryptionSpecNSprefix

return
the prefix for this node.

      return ElementProxy
         .getDefaultPrefix(EncryptionConstants.EncryptionSpecNS);
   
public static voidsetEncryptionSpecNSprefix(java.lang.String newPrefix)
Method setEncryptionSpecNSprefix

param
newPrefix
throws
XMLSecurityException

      ElementProxy.setDefaultPrefix(EncryptionConstants.EncryptionSpecNS,
                                    newPrefix);