public class KeyInfoEnc extends KeyInfo
baseURI| Constructor and Description |
|---|
KeyInfoEnc(Document doc) |
KeyInfoEnc(Element element,
String baseURI) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(AgreementMethod agreementMethod)
Method add AgreementMethod to the KeyInfo
|
boolean |
containsAgreementMethod()
Method containsAgreementMethod returns true if the KeyInfo contains a AgreementMethod node
|
AgreementMethod |
itemAgreementMethod(int i)
Method itemAgreementMethod
|
int |
lengthAgreementMethod()
Method lengthAgreementMethod
|
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, getBaseLocalName, getBaseNamespace, 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, setSecureValidationaddBase64Element, 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, setXPathNamespaceContextpublic KeyInfoEnc(Element element, String baseURI) throws XMLSecurityException
XMLSecurityExceptionKeyInfopublic void add(AgreementMethod agreementMethod)
agreementMethod - the AgreementMethod to be added. The AgreementMethod must extend
class ElementProxypublic int lengthAgreementMethod()
public AgreementMethod itemAgreementMethod(int i) throws XMLSecurityException
i - index of the AgreementMethod elementXMLSecurityException - if the element with AgreementMethod exists but with wrong namespacepublic boolean containsAgreementMethod()
Copyright © 2000–2025 The Apache Software Foundation. All rights reserved.