/** * Method add * * @param mgmtdata */ public void add(MgmtData mgmtdata) { appendSelf(mgmtdata); addReturnToSelf(); }
/** * Method lengthRetrievalMethod * *@return the number of the RetrievalMethod tags */ public int lengthRetrievalMethod() { return this.length(Constants.SignatureSpecNS, Constants._TAG_RETRIEVALMETHOD); }
/** * Method containsKeyValue * * @return If the KeyInfo contains a KeyValue node */ public boolean containsKeyValue() { return this.lengthKeyValue() > 0; }
/** * Method containsX509Data * * @return If the KeyInfo contains a X509Data node */ public boolean containsX509Data() { return this.lengthX509Data() > 0; }
/** * Method containsMgmtData * * @return If the KeyInfo contains a MgmtData node */ public boolean containsMgmtData() { return this.lengthMgmtData() > 0; }
/** * Method containsSPKIData * * @return If the KeyInfo contains a SPKIData node */ public boolean containsSPKIData() { return this.lengthSPKIData() > 0; }
/** * Method containsUnknownElement * * @return If the KeyInfo contains a UnknownElement node */ public boolean containsUnknownElement() { return this.lengthUnknownElement() > 0; }
/** * Returns the <code>Id</code> attribute * * @return the <code>Id</code> attribute */ public String getId() { return getLocalAttribute(Constants._ATT_ID); }
/** * Method containsDEREncodedKeyValue * * @return If the KeyInfo contains a DEREncodedKeyValue node */ public boolean containsDEREncodedKeyValue() { return this.lengthDEREncodedKeyValue() > 0; }
/** * Method isEmpty * * @return true if the element has no descendants. */ public boolean isEmpty() { return getFirstChild() == null; }
/** * Method containsKeyInfoReference * * @return If the KeyInfo contains a KeyInfoReference node */ public boolean containsKeyInfoReference() { return this.lengthKeyInfoReference() > 0; }
/** * Method addPGPData * * @param pgpdata */ public void add(PGPData pgpdata) { appendSelf(pgpdata); addReturnToSelf(); }
/** * Method lengthSPKIData * *@return the number of the SPKIData tags */ public int lengthSPKIData() { return this.length(Constants.SignatureSpecNS, Constants._TAG_SPKIDATA); }
/** * Method add * * @param keyInfoReference */ public void add(KeyInfoReference keyInfoReference) { appendSelf(keyInfoReference); addReturnToSelf(); }
/** * Method lengthDEREncodedKeyValue * *@return the number of the DEREncodedKeyValue tags */ public int lengthDEREncodedKeyValue() { return this.length(Constants.SignatureSpec11NS, Constants._TAG_DERENCODEDKEYVALUE); }
/** * Method add * * @param keyname */ public void add(KeyName keyname) { appendSelf(keyname); addReturnToSelf(); }
/** * Method lengthKeyName * * @return the number of the KeyName tags */ public int lengthKeyName() { return this.length(Constants.SignatureSpecNS, Constants._TAG_KEYNAME); }
/** * Method add * * @param spkidata */ public void add(SPKIData spkidata) { appendSelf(spkidata); addReturnToSelf(); }
/** * Method lengthKeyInfoReference * *@return the number of the KeyInfoReference tags */ public int lengthKeyInfoReference() { return this.length(Constants.SignatureSpec11NS, Constants._TAG_KEYINFOREFERENCE); }
/** * Method addUnknownElement * * @param element */ public void addUnknownElement(Element element) { appendSelf(element); addReturnToSelf(); }