Class RetrievalMethod
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.utils.SignatureElementProxy
-
- org.apache.xml.security.keys.content.RetrievalMethod
-
- All Implemented Interfaces:
KeyInfoContent
public class RetrievalMethod extends SignatureElementProxy implements KeyInfoContent
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_DSA
DSA retrievalstatic String
TYPE_MGMT
MGMT retrievalstatic String
TYPE_PGP
PGP retrievalstatic String
TYPE_RAWX509
RAWX509 retrievalstatic String
TYPE_RSA
RSA retrievalstatic String
TYPE_SPKI
SPKI retrievalstatic String
TYPE_X509
X509 retrieval-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI, LOG
-
-
Constructor Summary
Constructors Constructor Description RetrievalMethod(Document doc, String URI, Transforms transforms, String Type)
Constructor RetrievalMethodRetrievalMethod(Element element, String baseURI)
Constructor RetrievalMethod
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getBaseLocalName()
Returns the localname of the Elements of the sub-class.Transforms
getTransforms()
Method getTransformsString
getType()
String
getURI()
Method getURIAttr
getURIAttr()
Method getURIAttr-
Methods inherited from class org.apache.xml.security.utils.SignatureElementProxy
getBaseNamespace
-
Methods inherited from class org.apache.xml.security.utils.ElementProxy
addBase64Element, addBase64Text, addBigIntegerElement, addReturnToSelf, addText, addTextElement, appendOther, appendSelf, appendSelf, createElementForFamily, createElementForFamilyLocal, createText, getBaseURI, getBigIntegerFromChildElement, getBytesFromTextChild, getDefaultPrefix, getDocument, getElement, getElementPlusReturns, getFirstChild, getLocalAttribute, getTextFromChildElement, getTextFromTextChild, length, registerDefaultPrefixes, setDefaultPrefix, setDocument, setElement, setElement, setLocalAttribute, setLocalIdAttribute, setXPathNamespaceContext
-
-
-
-
Field Detail
-
TYPE_DSA
public static final String TYPE_DSA
DSA retrieval- See Also:
- Constant Field Values
-
TYPE_RSA
public static final String TYPE_RSA
RSA retrieval- See Also:
- Constant Field Values
-
TYPE_PGP
public static final String TYPE_PGP
PGP retrieval- See Also:
- Constant Field Values
-
TYPE_SPKI
public static final String TYPE_SPKI
SPKI retrieval- See Also:
- Constant Field Values
-
TYPE_MGMT
public static final String TYPE_MGMT
MGMT retrieval- See Also:
- Constant Field Values
-
TYPE_X509
public static final String TYPE_X509
X509 retrieval- See Also:
- Constant Field Values
-
TYPE_RAWX509
public static final String TYPE_RAWX509
RAWX509 retrieval- See Also:
- Constant Field Values
-
-
Constructor Detail
-
RetrievalMethod
public RetrievalMethod(Element element, String baseURI) throws XMLSecurityException
Constructor RetrievalMethod- Parameters:
element
-baseURI
-- Throws:
XMLSecurityException
-
RetrievalMethod
public RetrievalMethod(Document doc, String URI, Transforms transforms, String Type)
Constructor RetrievalMethod- Parameters:
doc
-URI
-transforms
-Type
-
-
-
Method Detail
-
getURIAttr
public Attr getURIAttr()
Method getURIAttr- Returns:
- the URI attribute
-
getURI
public String getURI()
Method getURI- Returns:
- URI string
-
getType
public String getType()
- Returns:
- the type
-
getTransforms
public Transforms getTransforms() throws XMLSecurityException
Method getTransforms- Returns:
- the transformations
- Throws:
XMLSecurityException
-
getBaseLocalName
public String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Specified by:
getBaseLocalName
in classElementProxy
- Returns:
- the localname of the Elements of the sub-class.
-
-