1 17 package com.sun.org.apache.xml.internal.security.keys.content; 18 19 20 21 import com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException; 22 import com.sun.org.apache.xml.internal.security.utils.Constants; 23 import com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy; 24 import org.w3c.dom.Document ; 25 import org.w3c.dom.Element ; 26 27 28 32 public class MgmtData extends SignatureElementProxy implements KeyInfoContent { 33 34 35 static java.util.logging.Logger log = 36 java.util.logging.Logger.getLogger(MgmtData.class.getName()); 37 38 45 public MgmtData(Element element, String BaseURI) 46 throws XMLSecurityException { 47 super(element, BaseURI); 48 } 49 50 56 public MgmtData(Document doc, String mgmtData) { 57 58 super(doc); 59 60 this.addText(mgmtData); 61 } 62 63 68 public String getMgmtData() { 69 return this.getTextFromTextChild(); 70 } 71 72 73 public String getBaseLocalName() { 74 return Constants._TAG_MGMTDATA; 75 } 76 } 77 | Popular Tags |