Class Constants
java.lang.Object
org.apache.xml.security.utils.Constants
Provides all constants and some translation functions for i18n.
For the used Algorithm identifiers and Namespaces, look at the
XML
Signature specification.
- 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 Targetstatic final StringTag of Attr Typestatic final StringTag of Attr URIstatic final StringTag of Element CanonicalizationMethodstatic final StringTag of Element DigestMethodstatic final StringTag of Element DigestValuestatic final StringTag of Element DSAKeyValuestatic final StringTag of Element Exponentstatic final StringTag of Element Gstatic final StringTag of Element HMACOutputLengthstatic final StringTag of Element Jstatic final StringTag of Element KeyInfostatic final StringTag of Element KeyNamestatic final StringTag of Element KeyValuestatic final StringTag of Element Manifeststatic final StringTag of Element Methodsstatic final StringTag of Element MgmtDatastatic final StringTag of Element Modulusstatic final StringTag of Element Objectstatic final StringTag of Element Pstatic final StringTag of Element PgenCounterstatic final StringTag of Element PGPDatastatic final StringTag of Element PGPKeyIDstatic final StringTag of Element PGPKeyPacketstatic final StringTag of Element Qstatic final StringTag of Element rawX509Certificatestatic final StringTag of Element Referencestatic final StringTag of Element RetrievalMethodstatic final StringTag of Element RSAKeyValuestatic final StringTag of Element Seedstatic final StringTag of Element Signaturestatic final StringTag of Element SignatureMethodstatic final StringTag of Element SignaturePropertiesstatic final StringTag of Element SignaturePropertystatic final StringTag of Element SignatureValuestatic final StringTag of Element SignedInfostatic final StringTag of Element SPKIDatastatic final StringTag of Element SPKISexpstatic final StringTag of Element Transformstatic final StringTag of Element Transformsstatic final StringTag of Element X509Certificatestatic final StringTag of Element X509CRLstatic final StringTag of Element X509Datastatic final StringTag of Element X509IssuerNamestatic final StringTag of Element X509IssuerSerialstatic final StringTag of Element X509SerialNumberstatic final StringTag of Element X509SKIstatic final StringTag of Element X509SubjectNamestatic final StringTag of Element XPathstatic final StringTag of Element Ystatic final StringDigest - Required SHA1static final Stringstatic StringField configurationFilestatic final StringField configurationFileNewstatic final StringField exceptionMessagesResourceBundleBase is the location of theResourceBundlestatic final StringField exceptionMessagesResourceBundleDirstatic final StringThe URL for more algorithmstatic final StringThe URI for XMLNS specstatic final StringThe URL of the XML Signature specificationstatic final StringThe namespace of the XML Signature specificationstatic final StringThe URI for XML spec -
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns the XML namespace prefix which is used for elements in the XML Signature namespace.static voidsetSignatureSpecNSprefix(String newPrefix) Sets the namespace prefix which will be used to identify elements in the XML Signature Namespace.
-
Field Details
-
configurationFile
Field configurationFile -
configurationFileNew
-
exceptionMessagesResourceBundleDir
Field exceptionMessagesResourceBundleDir- See Also:
-
exceptionMessagesResourceBundleBase
Field exceptionMessagesResourceBundleBase is the location of theResourceBundle- See Also:
-
SIGNATURESPECIFICATION_URL
The URL of the XML Signature specification- See Also:
-
SignatureSpecNS
The namespace of the XML Signature specification- See Also:
-
MoreAlgorithmsSpecNS
-
XML_LANG_SPACE_SpecNS
-
NamespaceSpecNS
-
_ATT_ALGORITHM
-
_ATT_URI
-
_ATT_TYPE
-
_ATT_ID
-
_ATT_MIMETYPE
-
_ATT_ENCODING
-
_ATT_TARGET
-
_TAG_CANONICALIZATIONMETHOD
Tag of Element CanonicalizationMethod- See Also:
-
_TAG_DIGESTMETHOD
-
_TAG_DIGESTVALUE
-
_TAG_MANIFEST
-
_TAG_METHODS
-
_TAG_OBJECT
-
_TAG_REFERENCE
-
_TAG_SIGNATURE
-
_TAG_SIGNATUREMETHOD
-
_TAG_HMACOUTPUTLENGTH
-
_TAG_SIGNATUREPROPERTIES
-
_TAG_SIGNATUREPROPERTY
-
_TAG_SIGNATUREVALUE
-
_TAG_SIGNEDINFO
-
_TAG_TRANSFORM
-
_TAG_TRANSFORMS
-
_TAG_XPATH
-
_TAG_KEYINFO
-
_TAG_KEYNAME
-
_TAG_KEYVALUE
-
_TAG_RETRIEVALMETHOD
-
_TAG_X509DATA
-
_TAG_PGPDATA
-
_TAG_SPKIDATA
-
_TAG_MGMTDATA
-
_TAG_RSAKEYVALUE
-
_TAG_EXPONENT
-
_TAG_MODULUS
-
_TAG_DSAKEYVALUE
-
_TAG_P
-
_TAG_Q
-
_TAG_G
-
_TAG_Y
-
_TAG_J
-
_TAG_SEED
-
_TAG_PGENCOUNTER
-
_TAG_RAWX509CERTIFICATE
-
_TAG_X509ISSUERSERIAL
-
_TAG_X509SKI
-
_TAG_X509SUBJECTNAME
-
_TAG_X509CERTIFICATE
-
_TAG_X509CRL
-
_TAG_X509ISSUERNAME
-
_TAG_X509SERIALNUMBER
-
_TAG_PGPKEYID
-
_TAG_PGPKEYPACKET
-
_TAG_SPKISEXP
-
ALGO_ID_DIGEST_SHA1
-
ALGO_ID_SIGNATURE_ECDSA_CERTICOM
- See Also:
-
-
Method Details
-
setSignatureSpecNSprefix
Sets the namespace prefix which will be used to identify elements in the XML Signature Namespace.Constants.setSignatureSpecNSprefix("dsig");- Parameters:
newPrefix- is the new namespace prefix.- Throws:
XMLSecurityException- See Also:
-
getSignatureSpecNSprefix
Returns the XML namespace prefix which is used for elements in the XML Signature namespace. It is defaulted todsig, but can be changed using thesetSignatureSpecNSprefix(String)function.- Returns:
- the current used namespace prefix
- See Also:
-