Searched refs:unwrap (Results 1 - 25 of 105) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/com/sun/security/sasl/digest/
H A DSecurityCtx.java55 byte[] unwrap(byte[] outgoing, int start, int len) method in interface:SecurityCtx
/openjdk7/jdk/test/java/nio/file/Files/
H A DPassThroughFileSystem.java57 static Path unwrap(Path wrapper) { method in class:PassThroughFileSystem
138 return matcher.matches(unwrap(path));
215 Files.setAttribute(unwrap(file), attribute, value, options);
222 return Files.readAttributes(unwrap(file), attributes, options);
230 return Files.getFileAttributeView(unwrap(file), type, options);
239 return Files.readAttributes(unwrap(file), type, options);
244 Files.delete(unwrap(file));
251 Files.createSymbolicLink(unwrap(link), unwrap(target), attrs);
256 Files.createLink(unwrap(lin
[all...]
/openjdk7/jdk/src/share/classes/javax/security/sasl/
H A DSaslClient.java71 * // Use SaslClient.wrap() and SaslClient.unwrap() for future
172 public abstract byte[] unwrap(byte[] incoming, int offset, int len) method in interface:SaslClient
H A DSaslServer.java72 * // Use SaslServer.wrap() and SaslServer.unwrap() for future
165 public abstract byte[] unwrap(byte[] incoming, int offset, int len) method in interface:SaslServer
/openjdk7/jdk/src/share/classes/java/sql/
H A DWrapper.java52 * the result of calling <code>unwrap</code> recursively on the wrapped object
61 <T> T unwrap(java.lang.Class<T> iface) throws java.sql.SQLException; method in interface:Wrapper
68 * This method should be implemented as a low-cost operation compared to <code>unwrap</code> so that
69 * callers can use this method to avoid expensive <code>unwrap</code> calls that may fail. If this method
70 * returns true then calling <code>unwrap</code> with the same argument should succeed.
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DWrappingJavaFileManager.java93 protected FileObject unwrap(FileObject fileObject) { method in class:WrappingJavaFileManager
98 * This implementation forwards to {@link #unwrap(FileObject)}.
105 protected JavaFileObject unwrap(JavaFileObject fileObject) { method in class:WrappingJavaFileManager
106 return (JavaFileObject)unwrap((FileObject)fileObject);
129 protected URI unwrap(URI uri) { method in class:WrappingJavaFileManager
149 return super.inferBinaryName(location, unwrap(file));
176 return wrap(super.getJavaFileForOutput(location, className, kind, unwrap(sibling)));
204 unwrap(sibling)));
/openjdk7/jdk/src/share/classes/javax/net/ssl/
H A DSSLEngine.java101 * wrap() | | | unwrap()
168 * <code>wrap()</code>, <code>unwrap()</code>, or
173 * ByteBuffer) wrap()} or {@link #unwrap(ByteBuffer, ByteBuffer)
174 * unwrap()} on outbound or inbound data, respectively. Depending on
179 * <code>unwrap()</code> will examine the source buffer and may
185 * Calls to <code>wrap()</code> and <code>unwrap()</code> return an
192 * calls to <code>wrap()/unwrap()</code>. Thus input and output
203 * For example, <code>unwrap()</code> will return a {@link
208 * enlarging the buffer if necessary. Similarly, if <code>unwrap()</code>
215 * SSLEngineResult r = engine.unwrap(sr
622 public SSLEngineResult unwrap(ByteBuffer src, method in class:SSLEngine
659 public SSLEngineResult unwrap(ByteBuffer src, method in class:SSLEngine
747 public abstract SSLEngineResult unwrap(ByteBuffer src, method in class:SSLEngine
[all...]
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/DES/
H A DKeyWrapping.java46 // wrap and unwrap the session key
57 (SecretKey)c1.unwrap(wrappedKey, "DES",
88 Key unwrappedPub = c1.unwrap(wrappedPub, "DSA",
90 Key unwrappedPri = c1.unwrap(wrappedPri, "DSA",
/openjdk7/jdk/test/javax/crypto/NullCipher/
H A DTestWithoutInit.java54 // try calling wrap() and unwrap() directly
62 ci.unwrap(in, "any", Cipher.SECRET_KEY);
/openjdk7/jdk/test/sun/security/ssl/javax/net/ssl/NewAPIs/SSLEngine/
H A DCheckStatus.java141 log("unexpected empty unwrap");
143 result1 = ssle1.unwrap(twoToOne, appIn1);
155 result2 = ssle2.unwrap(oneToTwo, appIn2);
163 log("Check for unwrap when wrap needed");
164 result2 = ssle2.unwrap(oneToTwo, appIn2);
176 result1 = ssle1.unwrap(twoToOne, appIn1);
190 result2 = ssle2.unwrap(oneToTwo, appIn2);
205 result2 = ssle2.unwrap(oneToTwo, appIn2);
220 result2 = ssle2.unwrap(oneToTwo, appIn2);
235 result1 = ssle1.unwrap(twoToOn
[all...]
H A DArgCheck.java65 ssle.unwrap(netData, appData);
82 ssle.unwrap(netData, appData);
99 ssle.unwrap(netData, appData, offset, len);
119 ssle.unwrap(netData, appData, offset, len);
137 ssle.unwrap(netData, appData, offset, len);
153 // For unwrap(), the BUFFER_OVERFLOW will not be generated
156 // BUFFER_OVERFLOW/UNDERFLOW for both wrap() and unwrap().
158 //res = ssle.unwrap(netBB, smallAppBB);
173 // For unwrap(), the BUFFER_OVERFLOW will not be generated
176 // BUFFER_OVERFLOW/UNDERFLOW for both wrap() and unwrap()
[all...]
H A DBasics.java170 /* Checking for overflow wrap/unwrap() */
178 // For unwrap(), the BUFFER_OVERFLOW will not be generated
181 // BUFFER_OVERFLOW/UNDERFLOW for both wrap() and unwrap().
183 //if (ssle.unwrap(smallBB, smallBB).getStatus() !=
185 // throw new Exception("unwrap should have overflowed");
201 throw new Exception("initial client hello needs unwrap");
204 /* Checking for overflow wrap/unwrap() */
208 throw new Exception("unwrap should have overflowed");
213 System.out.println("checking for wrap/unwrap on RO Buffers");
222 ssle.unwrap(netB
[all...]
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/
H A DExternalClient.java116 public byte[] unwrap(byte[] incoming, int offset, int len) method in class:ExternalClient
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/codemodel/internal/
H A DJPrimitiveType.java114 public JExpression unwrap( JExpression exp ) { method in class:JPrimitiveType
115 // it just so happens that the unwrap method is always
/openjdk7/jdk/src/share/classes/org/ietf/jgss/
H A DGSSContext.java654 public byte [] unwrap(byte[] inBuf, int offset, int len, method in interface:GSSContext
682 * method is equivalent to the byte array based {@link #unwrap(byte[],
683 * int, int, MessageProp) unwrap} method.<p>
701 public void unwrap(InputStream inStream, OutputStream outStream, method in interface:GSSContext
946 * in to the <code>unwrap</code> method or the <code>verifyMIC</code>
978 * in to the <code>unwrap</code> method or the <code>verifyMIC</code>
1225 * @return true if methods like <code>wrap</code>, <code>unwrap</code>,
/openjdk7/jdk/src/share/classes/com/sun/script/javascript/
H A DRhinoTopLevel.java83 arg = ((Wrapper)arg).unwrap();
113 arg = ((Wrapper)arg).unwrap();
H A DJavaAdapter.java85 Object o = ((Wrapper)obj1).unwrap();
/openjdk7/jdk/src/share/classes/com/sun/security/sasl/gsskerb/
H A DGssKrb5Base.java65 public byte[] unwrap(byte[] incoming, int start, int len) method in class:GssKrb5Base
78 byte[] answer = secCtx.unwrap(incoming, start, len, msgProp);
/openjdk7/jdk/test/sun/security/ssl/com/sun/net/ssl/internal/ssl/SSLEngineImpl/
H A DRehandshakeFinished.java64 * (wrap/unwrap) pass before any application data is consumed or
72 * ... unwrap() ClientHello
74 * unwrap() ... ServerHello/Certificate
78 * ... unwrap() ClientKeyExchange
79 * ... unwrap() ChangeCipherSpec
80 * ... unwrap() Finished
83 * unwrap() ... ChangeCipherSpec
84 * unwrap() ... Finished
251 serverEngine.unwrap(cTOs, serverIn), HandshakeStatus.NEED_WRAP,
261 clientEngine.unwrap(sTO
[all...]
/openjdk7/jdk/src/share/classes/sun/security/jgss/spi/
H A DGSSContextSpi.java81 * OutputStream. Similarly, they will want to use unwrap() where they read
84 * do not contain overloaded forms of wrap() and unwrap() that do just
261 * @see unwrap
292 * with unwrap.
312 public void unwrap(InputStream is, OutputStream os, method in interface:GSSContextSpi
318 public byte[] unwrap(byte inBuf[], int offset, int len, method in interface:GSSContextSpi
328 public int unwrap(byte inBuf[], int inOffset, int len,
342 public int unwrap(InputStream is,
/openjdk7/jdk/test/sun/security/krb5/auto/
H A DSaslGSS.java104 token = sc.unwrap(token, 0, token.length, new MessageProp(0, false));
118 ss.unwrap(token, 0, token.length);
122 sc.unwrap(token, 0, token.length, qop);
/openjdk7/jdk/src/share/classes/sun/security/jgss/wrapper/
H A DNativeGSSContext.java405 public byte[] unwrap(byte[] inBuf, int offset, int len, method in class:NativeGSSContext
411 return cStub.unwrap(pContext, temp, msgProp);
413 return cStub.unwrap(pContext, inBuf, msgProp);
416 public int unwrap(byte[] inBuf, int inOffset, int len, method in class:NativeGSSContext
423 result = cStub.unwrap(pContext, temp, msgProp);
425 result = cStub.unwrap(pContext, inBuf, msgProp);
430 public void unwrap(InputStream inStream, OutputStream outStream, method in class:NativeGSSContext
435 byte[] data = unwrap(wrapped, 0, wLength, msgProp);
443 public int unwrap(InputStream inStream, method in class:NativeGSSContext
451 byte[] result = unwrap(wrappe
[all...]
/openjdk7/jdk/test/com/sun/crypto/provider/Cipher/AES/
H A DTest4626070.java27 * @summary Verify that AES cipher can wrap and unwrap keys
55 Key recoveredKey = ci.unwrap(wrappedKeyEncoding, "AES",
59 "key after wrap/unwrap is different from the original!");
/openjdk7/jdk/test/sun/security/ssl/sanity/pluggability/
H A DMySSLEngineImpl.java50 public SSLEngineResult unwrap(ByteBuffer src, method in class:MySSLEngineImpl
/openjdk7/jdk/test/javax/crypto/Cipher/
H A DTestCipherMode.java72 // call wrap()/unwrap() and see if ISE is thrown.
80 c.unwrap(new byte[16], ALGO, Cipher.SECRET_KEY);
81 throw new Exception("ERROR: should throw ISE for unwrap()");
83 System.out.println("expected ISE is thrown for unwrap()");

Completed in 71 milliseconds

12345