1 17 package com.sun.org.apache.xml.internal.security.keys.content.x509; 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 36 public class XMLX509CRL extends SignatureElementProxy 37 implements XMLX509DataContent { 38 39 40 static java.util.logging.Logger log = 41 java.util.logging.Logger.getLogger(XMLX509CRL.class.getName()); 42 43 50 public XMLX509CRL(Element element, String BaseURI) 51 throws XMLSecurityException { 52 super(element, BaseURI); 53 } 54 55 61 public XMLX509CRL(Document doc, byte[] crlBytes) { 62 63 super(doc); 64 65 this.addBase64Text(crlBytes); 66 } 67 68 74 public byte[] getCRLBytes() throws XMLSecurityException { 75 return this.getBytesFromTextChild(); 76 } 77 78 79 public String getBaseLocalName() { 80 return Constants._TAG_X509CRL; 81 } 82 } 83 | Popular Tags |