01: /*
02: * X509Data.java
03: *
04: * Created on January 24, 2006, 4:52 PM
05: */
06:
07: /*
08: * The contents of this file are subject to the terms
09: * of the Common Development and Distribution License
10: * (the License). You may not use this file except in
11: * compliance with the License.
12: *
13: * You can obtain a copy of the license at
14: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
15: * See the License for the specific language governing
16: * permissions and limitations under the License.
17: *
18: * When distributing Covered Code, include this CDDL
19: * Header Notice in each file and include the License file
20: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
21: * If applicable, add the following below the CDDL Header,
22: * with the fields enclosed by brackets [] replaced by
23: * you own identifying information:
24: * "Portions Copyrighted [year] [name of copyright owner]"
25: *
26: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
27: */
28:
29: package com.sun.xml.ws.security.opt.crypto.dsig.keyinfo;
30:
31: import java.util.List;
32: import javax.xml.bind.annotation.XmlRootElement;
33:
34: /**
35: *
36: * @author Abhijit Das
37: */
38: @XmlRootElement(name="X509Data",namespace="http://www.w3.org/2000/09/xmldsig#")
39: public class X509Data extends
40: com.sun.xml.security.core.dsig.X509DataType implements
41: javax.xml.crypto.dsig.keyinfo.X509Data {
42:
43: /** Creates a new instance of X509Data */
44: public X509Data() {
45: }
46:
47: public List getContent() {
48: return x509IssuerSerialOrX509SKIOrX509SubjectName;
49: }
50:
51: public boolean isFeatureSupported(String string) {
52: return false;
53: }
54:
55: public void setX509IssuerSerialOrX509SKIOrX509SubjectName(
56: List<Object> x509IssuerSerialOrX509SKIOrX509SubjectName) {
57: this.x509IssuerSerialOrX509SKIOrX509SubjectName = x509IssuerSerialOrX509SKIOrX509SubjectName;
58: }
59:
60: }
|