0N/A/*
0N/A * reserved comment block
0N/A * DO NOT REMOVE OR ALTER!
0N/A */
0N/A/*
0N/A * Copyright 1999-2004 The Apache Software Foundation.
0N/A *
0N/A * Licensed under the Apache License, Version 2.0 (the "License");
0N/A * you may not use this file except in compliance with the License.
0N/A * You may obtain a copy of the License at
0N/A *
0N/A * http://www.apache.org/licenses/LICENSE-2.0
0N/A *
0N/A * Unless required by applicable law or agreed to in writing, software
0N/A * distributed under the License is distributed on an "AS IS" BASIS,
0N/A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
0N/A * See the License for the specific language governing permissions and
0N/A * limitations under the License.
0N/A *
0N/A */
0N/Apackage com.sun.org.apache.xml.internal.security.keys.content;
0N/A
0N/Aimport com.sun.org.apache.xml.internal.security.exceptions.XMLSecurityException;
0N/Aimport com.sun.org.apache.xml.internal.security.utils.Constants;
0N/Aimport com.sun.org.apache.xml.internal.security.utils.SignatureElementProxy;
0N/Aimport org.w3c.dom.Document;
0N/Aimport org.w3c.dom.Element;
0N/A
0N/A/**
0N/A *
661N/A * @author $Author: mullan $
0N/A */
0N/Apublic class MgmtData extends SignatureElementProxy implements KeyInfoContent {
0N/A
0N/A /**
0N/A * Constructor MgmtData
0N/A *
0N/A * @param element
0N/A * @param BaseURI
0N/A * @throws XMLSecurityException
0N/A */
0N/A public MgmtData(Element element, String BaseURI)
0N/A throws XMLSecurityException {
0N/A super(element, BaseURI);
0N/A }
0N/A
0N/A /**
0N/A * Constructor MgmtData
0N/A *
0N/A * @param doc
0N/A * @param mgmtData
0N/A */
0N/A public MgmtData(Document doc, String mgmtData) {
0N/A
0N/A super(doc);
0N/A
0N/A this.addText(mgmtData);
0N/A }
0N/A
0N/A /**
0N/A * Method getMgmtData
0N/A *
0N/A * @return the managment data
0N/A */
0N/A public String getMgmtData() {
0N/A return this.getTextFromTextChild();
0N/A }
0N/A
0N/A /** @inheritDoc */
0N/A public String getBaseLocalName() {
0N/A return Constants._TAG_MGMTDATA;
0N/A }
0N/A}