- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for GeneralSecurityException (0.27 sec)
-
src/main/java/jcifs/pac/PacMac.java
* @param data the data to calculate the MAC for * @return the calculated MAC bytes * @throws GeneralSecurityException if cryptographic operations fail */ public static byte[] calculateMacArcfourHMACMD5(int keyusage, Key key, byte[] data) throws GeneralSecurityException { int ms_usage = mapArcfourMD5KeyUsage(keyusage); Mac mac = Mac.getInstance("HmacMD5");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 9K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt
* See the License for the specific language governing permissions and * limitations under the License. */ @file:JvmName("Certificates") package okhttp3.tls import java.security.GeneralSecurityException import java.security.cert.CertificateFactory import java.security.cert.X509Certificate import okio.Buffer import okio.ByteString import okio.ByteString.Companion.toByteString /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 2.8K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacMacTest.java
/** * Test method for * {@link jcifs.pac.PacMac#calculateMacArcfourHMACMD5(int, java.security.Key, byte[])}. * * @throws GeneralSecurityException */ @Test void testCalculateMacArcfourHMACMD5() throws GeneralSecurityException { // Using a key with a known value for reproducibility SecretKeySpec key = new SecretKeySpec(new byte[16], "ARCFOUR");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.tls.internal.der import java.math.BigInteger import java.security.GeneralSecurityException import java.security.PublicKey import java.security.Signature import java.security.SignatureException import java.security.cert.CertificateFactory import java.security.cert.X509Certificate import okio.Buffer
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
} /** * Test decrypt with RC4 encryption. * * @throws GeneralSecurityException if a security error occurs */ @Test void testDecryptRc4() throws GeneralSecurityException { // This is a simplified test and does not use real encrypted data from Kerberos // It mainly tests the decryption logic path
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java
* @throws SmbException if an SMB protocol error occurs * @throws GeneralSecurityException if a security error occurs during authentication */ public SmbComSessionSetupAndX(final CIFSContext tc, final SmbComNegotiateResponse negotiated, final ServerMessageBlock andx, final Object cred) throws SmbException, GeneralSecurityException { super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
package okhttp3.sample; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.security.GeneralSecurityException; import java.security.KeyStore; import java.security.SecureRandom; import javax.net.ssl.KeyManagerFactory; import javax.net.ssl.SSLContext; import javax.net.ssl.TrustManagerFactory; import okhttp3.mockwebserver.Dispatcher;
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jan 02 02:50:44 UTC 2019 - 4.7K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.tls import java.security.GeneralSecurityException import java.security.cert.Certificate import java.security.cert.X509Certificate import java.util.ArrayDeque import java.util.Deque import javax.net.ssl.SSLPeerUnverifiedException /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.8K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java
import com.google.common.collect.ImmutableSet; import com.google.common.util.concurrent.FuturesGetChecked.GetCheckedTypeValidator; import java.io.IOException; import java.net.URISyntaxException; import java.security.GeneralSecurityException; import java.security.KeyException; import java.util.ArrayList; import java.util.List; import java.util.TooManyListenersException; import java.util.concurrent.BrokenBarrierException;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.5K bytes - Viewed (0) -
src/main/java/jcifs/pac/kerberos/KerberosTicket.java
*/ package jcifs.pac.kerberos; import java.io.ByteArrayInputStream; import java.io.IOException; import java.math.BigInteger; import java.security.GeneralSecurityException; import java.util.Enumeration; import java.util.HashMap; import java.util.Map; import javax.security.auth.kerberos.KerberosKey; import javax.security.auth.login.LoginException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.7K bytes - Viewed (0)