Module org.apache.santuario.xmlsec
Class OriginatorKeyInfo
- java.lang.Object
-
- org.apache.xml.security.utils.ElementProxy
-
- org.apache.xml.security.keys.KeyInfo
-
- org.apache.xml.security.encryption.keys.KeyInfoEnc
-
- org.apache.xml.security.encryption.keys.OriginatorKeyInfo
-
public class OriginatorKeyInfo extends KeyInfoEnc
The OriginatorKeyInfo element is used in theds:KeyInfowith AgreementMethod elements.- See Also:
- KeyAgreement. The OriginatorKeyInfo element extends ds:KeyInfo with namespace xenc (http://www.w3.org/2001/04/xmlenc#) and is used to convey the originator's public key.
-
-
Field Summary
-
Fields inherited from class org.apache.xml.security.utils.ElementProxy
baseURI
-
-
Constructor Summary
Constructors Constructor Description OriginatorKeyInfo(Document doc)OriginatorKeyInfo(Element element, String baseURI)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBaseLocalName()Returns the localname of the Elements of the sub-class.StringgetBaseNamespace()Returns the namespace of the Elements of the sub-class.-
Methods inherited from class org.apache.xml.security.encryption.keys.KeyInfoEnc
add, containsAgreementMethod, itemAgreementMethod, lengthAgreementMethod
-
Methods inherited from class org.apache.xml.security.keys.KeyInfo
add, add, add, add, add, add, add, add, add, add, add, add, add, addDEREncodedKeyValue, addKeyInfoReference, addKeyName, addKeyValue, addKeyValue, addMgmtData, addRetrievalMethod, addStorageResolver, addUnknownElement, containsDEREncodedKeyValue, containsKeyInfoReference, containsKeyName, containsKeyValue, containsMgmtData, containsPGPData, containsRetrievalMethod, containsSPKIData, containsUnknownElement, containsX509Data, getId, getPrivateKey, getPublicKey, getSecretKey, getX509Certificate, isEmpty, itemDEREncodedKeyValue, itemEncryptedKey, itemKeyInfoReference, itemKeyName, itemKeyValue, itemMgmtData, itemPGPData, itemRetrievalMethod, itemSPKIData, itemUnknownElement, itemX509Data, lengthDEREncodedKeyValue, lengthKeyInfoReference, lengthKeyName, lengthKeyValue, lengthMgmtData, lengthPGPData, lengthRetrievalMethod, lengthSPKIData, lengthUnknownElement, lengthX509Data, registerInternalKeyResolver, setId, setSecureValidation
-
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
-
-
-
-
Constructor Detail
-
OriginatorKeyInfo
public OriginatorKeyInfo(Document doc)
-
OriginatorKeyInfo
public OriginatorKeyInfo(Element element, String baseURI) throws XMLSecurityException
- Throws:
XMLSecurityException
-
-
Method Detail
-
getBaseNamespace
public String getBaseNamespace()
Returns the namespace of the Elements of the sub-class.- Overrides:
getBaseNamespacein classKeyInfo- Returns:
- the namespace of the Elements of the sub-class.
-
getBaseLocalName
public String getBaseLocalName()
Returns the localname of the Elements of the sub-class.- Overrides:
getBaseLocalNamein classKeyInfo- Returns:
- the localname of the Elements of the sub-class.
-
-