01: /*
02: * KeyName.java
03: *
04: * Created on January 24, 2006, 4:45 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 javax.xml.bind.annotation.XmlRootElement;
32:
33: /**
34: *
35: * @author Abhijit Das
36: */
37: @XmlRootElement(name="KeyName",namespace="http://www.w3.org/2000/09/xmldsig#")
38: public class KeyName implements javax.xml.crypto.dsig.keyinfo.KeyName {
39:
40: private String keyName = null;
41:
42: /** Creates a new instance of KeyName */
43: public KeyName() {
44: }
45:
46: public String getName() {
47: return keyName;
48: }
49:
50: public void setKeyName(String keyName) {
51: this .keyName = keyName;
52: }
53:
54: public boolean isFeatureSupported(String string) {
55: return false;
56: }
57:
58: }
|