001: /*
002: * The contents of this file are subject to the terms
003: * of the Common Development and Distribution License
004: * (the License). You may not use this file except in
005: * compliance with the License.
006: *
007: * You can obtain a copy of the license at
008: * https://glassfish.dev.java.net/public/CDDLv1.0.html.
009: * See the License for the specific language governing
010: * permissions and limitations under the License.
011: *
012: * When distributing Covered Code, include this CDDL
013: * Header Notice in each file and include the License file
014: * at https://glassfish.dev.java.net/public/CDDLv1.0.html.
015: * If applicable, add the following below the CDDL Header,
016: * with the fields enclosed by brackets [] replaced by
017: * you own identifying information:
018: * "Portions Copyrighted [year] [name of copyright owner]"
019: *
020: * Copyright 2006 Sun Microsystems Inc. All Rights Reserved
021: */
022:
023: package com.sun.xml.ws.security.opt.api.keyinfo;
024:
025: import com.sun.xml.ws.security.secext10.SecurityTokenReferenceType;
026: import java.math.BigInteger;
027:
028: /**
029: *
030: * @author K.Venugopal@sun.com
031: */
032: public interface DerivedKeyToken {
033: /**
034: * Gets the value of the algorithm property.
035: *
036: *
037: * @return possible object is
038: * {@link String }
039: */
040: String getAlgorithm();
041:
042: /**
043: * Gets the value of the generation property.
044: *
045: *
046: * @return possible object is
047: * {@link BigInteger }
048: */
049: BigInteger getGeneration();
050:
051: /**
052: * Gets the value of the id property.
053: *
054: *
055: * @return possible object is
056: * {@link String }
057: */
058: String getId();
059:
060: /**
061: * Gets the value of the label property.
062: *
063: *
064: * @return possible object is
065: * {@link String }
066: */
067: String getLabel();
068:
069: /**
070: * Gets the value of the length property.
071: *
072: *
073: * @return possible object is
074: * {@link BigInteger }
075: */
076: BigInteger getLength();
077:
078: /**
079: * Gets the value of the nonce property.
080: *
081: *
082: * @return possible object is
083: * byte[]
084: */
085: byte[] getNonce();
086:
087: /**
088: * Gets the value of the offset property.
089: *
090: *
091: * @return possible object is
092: * {@link BigInteger }
093: */
094: BigInteger getOffset();
095:
096: /**
097: * Gets the value of the securityTokenReference property.
098: *
099: *
100: * @return possible object is
101: * {@link SecurityTokenReferenceType }
102: */
103: SecurityTokenReferenceType getSecurityTokenReference();
104:
105: /**
106: * Sets the value of the algorithm property.
107: *
108: *
109: * @param value
110: * allowed object is
111: * {@link String }
112: */
113: void setAlgorithm(String value);
114:
115: /**
116: * Sets the value of the generation property.
117: *
118: *
119: * @param value
120: * allowed object is
121: * {@link BigInteger }
122: */
123: void setGeneration(BigInteger value);
124:
125: /**
126: * Sets the value of the id property.
127: *
128: *
129: * @param value
130: * allowed object is
131: * {@link String }
132: */
133: void setId(String value);
134:
135: /**
136: * Sets the value of the label property.
137: *
138: *
139: * @param value
140: * allowed object is
141: * {@link String }
142: */
143: void setLabel(String value);
144:
145: /**
146: * Sets the value of the length property.
147: *
148: *
149: * @param value
150: * allowed object is
151: * {@link BigInteger }
152: */
153: void setLength(BigInteger value);
154:
155: /**
156: * Sets the value of the nonce property.
157: *
158: *
159: * @param value
160: * allowed object is
161: * byte[]
162: */
163: void setNonce(byte[] value);
164:
165: /**
166: * Sets the value of the offset property.
167: *
168: *
169: * @param value
170: * allowed object is
171: * {@link BigInteger }
172: */
173: void setOffset(BigInteger value);
174:
175: /**
176: * Sets the value of the securityTokenReference property.
177: *
178: *
179: * @param value
180: * allowed object is
181: * {@link SecurityTokenReferenceType }
182: */
183: void setSecurityTokenReference(SecurityTokenReferenceType value);
184:
185: }
|