File size: 33,405 Bytes
7141f4e
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
dataset_index,text,true_label,predicted_label,correct,error_type,probability_authentication_identity,probability_unrelated
11,public UserAuth getUserAuth() { return auth; },unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.9732205271720886,0.026779482141137123
13,public void setUserPattern(String userPattern) { this.userPattern = userPattern; if (userPattern == null) { userPatternArray = null; } else { userPatternArray = parseUserPatternString(userPattern); singleConnection = create(); } },unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.9618523716926575,0.03814757242798805
15,"@Override public int getLoginTimeout() { throw new UnsupportedOperationException(""Login timeout is not supported.""); }",unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.5356550216674805,0.46434497833251953
17,"private void put(int wait, Resource resource, File source, HttpEntity httpEntity, String url) throws TransferFailedException, AuthorizationException, ResourceDoesNotExistException { try { mkdirs(PathUtils.dirname(resource.getName())); } catch (HttpException he) { fireTransferError(resource, he, TransferEvent.REQUEST_PUT); } catch (IOException e) { fireTransferError(resource, e, TransferEvent.REQUEST_PUT); } Repository repo = getRepository(); HttpHost targetHost = new HttpHost(repo.getHost(), repo.getPort(), repo.getProtocol()); AuthScope targetScope = getBasicAuthScope().getScope(targetHost); if (credentialsProvider.getCredentials(targetScope) != null) { BasicScheme targetAuth = new BasicScheme(StandardCharsets.UTF_8); authCache.put(targetHost, targetAuth); } HttpPut putMethod = new HttpPut(url); firePutStarted(resource, source); try { putMethod.setEntity(httpEntity); CloseableHttpResponse response = execute(putMethod); try { fireTransferDebug(formatTransferDebugMessage( url, response.getStatusLine().getStatusCode(), response.getStatusLine().getReasonPhrase(), getProxyInfo())); int statusCode = response.getStatusLine().getStatusCode(); switch (statusCode) { case HttpStatus.SC_OK: case HttpStatus.SC_CREATED: case HttpStatus.SC_ACCEPTED: case HttpStatus.SC_NO_CONTENT: break; case HttpStatus.SC_FORBIDDEN: case HttpStatus.SC_UNAUTHORIZED: case HttpStatus.SC_PROXY_AUTHENTICATION_REQUIRED: EntityUtils.consumeQuietly(response.getEntity()); fireSessionConnectionRefused(); throw new AuthorizationException(formatAuthorizationMessage( url, response.getStatusLine().getStatusCode(), response.getStatusLine().getReasonPhrase(), getProxyInfo())); case HttpStatus.SC_NOT_FOUND: case HttpStatus.SC_GONE: EntityUtils.consumeQuietly(response.getEntity()); throw new ResourceDoesNotExistException(formatResourceDoesNotExistMessage( url, response.getStatusLine().getStatusCode(), response.getStatusLine().getReasonPhrase(), getProxyInfo())); case SC_TOO_MANY_REQUESTS: EntityUtils.consumeQuietly(response.getEntity()); put(backoff(wait, url), resource, source, httpEntity, url); break; default: EntityUtils.consumeQuietly(response.getEntity()); TransferFailedException e = new TransferFailedException(formatTransferFailedMessage( url, response.getStatusLine().getStatusCode(), response.getStatusLine().getReasonPhrase(), getProxyInfo())); fireTransferError(resource, e, TransferEvent.REQUEST_PUT); throw e; } firePutCompleted(resource, source); EntityUtils.consume(response.getEntity()); } finally { response.close(); } } catch (IOException | HttpException | InterruptedException e) { fireTransferError(resource, e, TransferEvent.REQUEST_PUT); throw new TransferFailedException(formatTransferFailedMessage(url, getProxyInfo()), e); } }",unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.976065456867218,0.02393457293510437
18,@Override public AuthScheme get(HttpHost host) { if (host == null) { return null; } return map.get(host); },unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.984558641910553,0.01544132549315691
19,"private final ConcurrentHashMap<HttpHost, AuthScheme> map = new ConcurrentHashMap<>();",unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.9842276573181152,0.01577228493988514
23,"OpenSSLProvider(String providerName, boolean includeTrustManager, String defaultTlsProtocol, boolean deprecatedTlsV1, boolean enabledTlsV1) { super(providerName, 1.0, ""Android's OpenSSL-backed security provider""); NativeCrypto.checkAvailability(); if (!deprecatedTlsV1 && !enabledTlsV1) { throw new IllegalArgumentException(""TLSv1 is not deprecated and cannot be disabled.""); } Platform.setup(deprecatedTlsV1, enabledTlsV1); String classOpenSSLContextImpl = PREFIX + ""OpenSSLContextImpl""; String tls12SSLContextSuffix = ""$TLSv12""; String tls13SSLContextSuffix = ""$TLSv13""; String defaultSSLContextSuffix; switch (defaultTlsProtocol) { case ""TLSv1.2"": defaultSSLContextSuffix = tls12SSLContextSuffix; break; case ""TLSv1.3"": defaultSSLContextSuffix = tls13SSLContextSuffix; break; default: throw new IllegalArgumentException(""Choice of default protocol is unsupported: "" + defaultTlsProtocol); } put(""SSLContext.SSL"", classOpenSSLContextImpl + defaultSSLContextSuffix); put(""SSLContext.TLS"", classOpenSSLContextImpl + defaultSSLContextSuffix); put(""SSLContext.TLSv1"", classOpenSSLContextImpl + ""$TLSv1""); put(""SSLContext.TLSv1.1"", classOpenSSLContextImpl + ""$TLSv11""); put(""SSLContext.TLSv1.2"", classOpenSSLContextImpl + tls12SSLContextSuffix); put(""SSLContext.TLSv1.3"", classOpenSSLContextImpl + tls13SSLContextSuffix); put(""SSLContext.Default"", PREFIX + ""DefaultSSLContextImpl"" + defaultSSLContextSuffix); if (includeTrustManager) { put(""TrustManagerFactory.PKIX"", TrustManagerFactoryImpl.class.getName()); put(""Alg.Alias.TrustManagerFactory.X509"", ""PKIX""); } put(""KeyManagerFactory.PKIX"", KeyManagerFactoryImpl.class.getName()); put(""Alg.Alias.KeyManagerFactory.X509"", ""PKIX""); put(""AlgorithmParameters.AES"", PREFIX + ""IvParameters$AES""); put(""Alg.Alias.AlgorithmParameters.2.16.840.1.101.3.4.1.2"", ""AES""); put(""Alg.Alias.AlgorithmParameters.2.16.840.1.101.3.4.1.22"", ""AES""); put(""Alg.Alias.AlgorithmParameters.2.16.840.1.101.3.4.1.42"", ""AES""); put(""AlgorithmParameters.ChaCha20"", PREFIX + ""IvParameters$ChaCha20""); put(""AlgorithmParameters.DESEDE"", PREFIX + ""IvParameters$DESEDE""); put(""Alg.Alias.AlgorithmParameters.TDEA"", ""DESEDE""); put(""Alg.Alias.AlgorithmParameters.1.2.840.113549.3.7"", ""DESEDE""); put(""AlgorithmParameters.GCM"", PREFIX + ""GCMParameters""); put(""Alg.Alias.AlgorithmParameters.2.16.840.1.101.3.4.1.6"", ""GCM""); put(""Alg.Alias.AlgorithmParameters.2.16.840.1.101.3.4.1.26"", ""GCM""); put(""Alg.Alias.AlgorithmParameters.2.16.840.1.101.3.4.1.46"", ""GCM""); put(""AlgorithmParameters.OAEP"", PREFIX + ""OAEPParameters""); put(""AlgorithmParameters.PSS"", PREFIX + ""PSSParameters""); put(""AlgorithmParameters.EC"", PREFIX + ""ECParameters""); put(""MessageDigest.SHA-1"", PREFIX + ""OpenSSLMessageDigestJDK$SHA1""); put(""Alg.Alias.MessageDigest.SHA1"", ""SHA-1""); put(""Alg.Alias.MessageDigest.SHA"", ""SHA-1""); put(""Alg.Alias.MessageDigest.1.3.14.3.2.26"", ""SHA-1""); put(""MessageDigest.SHA-224"", PREFIX + ""OpenSSLMessageDigestJDK$SHA224""); put(""Alg.Alias.MessageDigest.SHA224"", ""SHA-224""); put(""Alg.Alias.MessageDigest.2.16.840.1.101.3.4.2.4"", ""SHA-224""); put(""MessageDigest.SHA-256"", PREFIX + ""OpenSSLMessageDigestJDK$SHA256""); put(""Alg.Alias.MessageDigest.SHA256"", ""SHA-256""); put(""Alg.Alias.MessageDigest.2.16.840.1.101.3.4.2.1"", ""SHA-256""); put(""MessageDigest.SHA-384"", PREFIX + ""OpenSSLMessageDigestJDK$SHA384""); put(""Alg.Alias.MessageDigest.SHA384"", ""SHA-384""); put(""Alg.Alias.MessageDigest.2.16.840.1.101.3.4.2.2"", ""SHA-384""); put(""MessageDigest.SHA-512"", PREFIX + ""OpenSSLMessageDigestJDK$SHA512""); put(""Alg.Alias.MessageDigest.SHA512"", ""SHA-512""); put(""Alg.Alias.MessageDigest.2.16.840.1.101.3.4.2.3"", ""SHA-512""); put(""MessageDigest.MD5"", PREFIX + ""OpenSSLMessageDigestJDK$MD5""); put(""Alg.Alias.MessageDigest.1.2.840.113549.2.5"", ""MD5""); put(""KeyGenerator.ARC4"", PREFIX + ""KeyGeneratorImpl$ARC4""); put(""Alg.Alias.KeyGenerator.RC4"", ""ARC4""); put(""Alg.Alias.KeyGenerator.1.2.840.113549.3.4"", ""ARC4""); put(""KeyGenerator.AES"", PREFIX + ""KeyGeneratorImpl$AES""); put(""KeyGenerator.ChaCha20"", PREFIX + ""KeyGeneratorImpl$ChaCha20""); put(""KeyGenerator.DESEDE"", PREFIX + ""KeyGeneratorImpl$DESEDE""); put(""Alg.Alias.KeyGenerator.TDEA"", ""DESEDE""); put(""KeyGenerator.HmacMD5"", PREFIX + ""KeyGeneratorImpl$HmacMD5""); put(""Alg.Alias.KeyGenerator.1.3.6.1.5.5.8.1.1"", ""HmacMD5""); put(""Alg.Alias.KeyGenerator.HMAC-MD5"", ""HmacMD5""); put(""Alg.Alias.KeyGenerator.HMAC/MD5"", ""HmacMD5""); put(""KeyGenerator.HmacSHA1"", PREFIX + ""KeyGeneratorImpl$HmacSHA1""); put(""Alg.Alias.KeyGenerator.1.2.840.113549.2.7"", ""HmacSHA1""); put(""Alg.Alias.KeyGenerator.1.3.6.1.5.5.8.1.2"", ""HmacSHA1""); put(""Alg.Alias.KeyGenerator.HMAC-SHA1"", ""HmacSHA1""); put(""Alg.Alias.KeyGenerator.HMAC/SHA1"", ""HmacSHA1""); put(""KeyGenerator.HmacSHA224"", PREFIX + ""KeyGeneratorImpl$HmacSHA224""); put(""Alg.Alias.KeyGenerator.1.2.840.113549.2.8"", ""HmacSHA224""); put(""Alg.Alias.KeyGenerator.HMAC-SHA224"", ""HmacSHA224""); put(""Alg.Alias.KeyGenerator.HMAC/SHA224"", ""HmacSHA224""); put(""KeyGenerator.HmacSHA256"", PREFIX + ""KeyGeneratorImpl$HmacSHA256""); put(""Alg.Alias.KeyGenerator.1.2.840.113549.2.9"", ""HmacSHA256""); put(""Alg.Alias.KeyGenerator.2.16.840.1.101.3.4.2.1"", ""HmacSHA256""); put(""Alg.Alias.KeyGenerator.HMAC-SHA256"", ""HmacSHA256""); put(""Alg.Alias.KeyGenerator.HMAC/SHA256"", ""HmacSHA256""); put(""KeyGenerator.HmacSHA384"", PREFIX + ""KeyGeneratorImpl$HmacSHA384""); put(""Alg.Alias.KeyGenerator.1.2.840.113549.2.10"", ""HmacSHA384""); put(""Alg.Alias.KeyGenerator.HMAC-SHA384"", ""HmacSHA384""); put(""Alg.Alias.KeyGenerator.HMAC/SHA384"", ""HmacSHA384""); put(""KeyGenerator.HmacSHA512"", PREFIX + ""KeyGeneratorImpl$HmacSHA512""); put(""Alg.Alias.KeyGenerator.1.2.840.113549.2.11"", ""HmacSHA512""); put(""Alg.Alias.KeyGenerator.HMAC-SHA512"", ""HmacSHA512""); put(""Alg.Alias.KeyGenerator.HMAC/SHA512"", ""HmacSHA512""); put(""KeyPairGenerator.RSA"", PREFIX + ""OpenSSLRSAKeyPairGenerator""); put(""Alg.Alias.KeyPairGenerator.1.2.840.113549.1.1.1"", ""RSA""); put(""Alg.Alias.KeyPairGenerator.1.2.840.113549.1.1.7"", ""RSA""); put(""Alg.Alias.KeyPairGenerator.2.5.8.1.1"", ""RSA""); put(""KeyPairGenerator.EC"", PREFIX + ""OpenSSLECKeyPairGenerator""); put(""Alg.Alias.KeyPairGenerator.1.2.840.10045.2.1"", ""EC""); put(""Alg.Alias.KeyPairGenerator.1.3.133.16.840.63.0.2"", ""EC""); put(""KeyPairGenerator.XDH"", PREFIX + ""OpenSSLXDHKeyPairGenerator""); put(""Alg.Alias.KeyPairGenerator.1.3.101.110"", ""XDH""); put(""Alg.Alias.KeyPairGenerator.X25519"", ""XDH""); put(""KeyPairGenerator.EdDSA"", PREFIX + ""OpenSslEdDsaKeyPairGenerator""); put(""Alg.Alias.KeyPairGenerator.1.3.101.112"", ""EdDSA""); put(""Alg.Alias.KeyPairGenerator.Ed25519"", ""EdDSA""); put(""KeyPairGenerator.ML-DSA"", PREFIX + ""OpenSslMlDsaKeyPairGenerator$MlDsa""); put(""KeyPairGenerator.ML-DSA-44"", PREFIX + ""OpenSslMlDsaKeyPairGenerator$MlDsa44""); put(""Alg.Alias.KeyPairGenerator.2.16.840.1.101.3.4.3.17"", ""ML-DSA-44""); put(""Alg.Alias.KeyPairGenerator.OID.2.16.840.1.101.3.4.3.17"", ""ML-DSA-44""); put(""KeyPairGenerator.ML-DSA-65"", PREFIX + ""OpenSslMlDsaKeyPairGenerator$MlDsa65""); put(""Alg.Alias.KeyPairGenerator.2.16.840.1.101.3.4.3.18"", ""ML-DSA-65""); put(""Alg.Alias.KeyPairGenerator.OID.2.16.840.1.101.3.4.3.18"", ""ML-DSA-65""); put(""KeyPairGenerator.ML-DSA-87"", PREFIX + ""OpenSslMlDsaKeyPairGenerator$MlDsa87""); put(""Alg.Alias.KeyPairGenerator.2.16.840.1.101.3.4.3.19"", ""ML-DSA-87""); put(""Alg.Alias.KeyPairGenerator.OID.2.16.840.1.101.3.4.3.19"", ""ML-DSA-87""); put(""KeyPairGenerator.SLH-DSA-SHA2-128S"", PREFIX + ""OpenSslSlhDsaKeyPairGenerator""); put(""KeyPairGenerator.ML-KEM"", PREFIX + ""OpenSslMlKemKeyPairGenerator$MlKem""); put(""KeyPairGenerator.ML-KEM-768"", PREFIX + ""OpenSslMlKemKeyPairGenerator$MlKem768""); put(""KeyPairGenerator.ML-KEM-1024"", PREFIX + ""OpenSslMlKemKeyPairGenerator$MlKem1024""); put(""KeyPairGenerator.XWING"", PREFIX + ""OpenSslXwingKeyPairGenerator""); put(""KeyFactory.RSA"", PREFIX + ""OpenSSLRSAKeyFactory""); put(""Alg.Alias.KeyFactory.1.2.840.113549.1.1.1"", ""RSA""); put(""Alg.Alias.KeyFactory.1.2.840.113549.1.1.7"", ""RSA""); put(""Alg.Alias.KeyFactory.2.5.8.1.1"", ""RSA""); put(""KeyFactory.EC"", PREFIX + ""OpenSSLECKeyFactory""); put(""Alg.Alias.KeyFactory.1.2.840.10045.2.1"", ""EC""); put(""Alg.Alias.KeyFactory.1.3.133.16.840.63.0.2"", ""EC""); put(""KeyFactory.XDH"", PREFIX + ""OpenSSLXDHKeyFactory""); put(""Alg.Alias.KeyFactory.1.3.101.110"", ""XDH""); put(""Alg.Alias.KeyFactory.X25519"", ""XDH""); put(""KeyFactory.EdDSA"", PREFIX + ""OpenSslEdDsaKeyFactory""); put(""Alg.Alias.KeyFactory.1.3.101.112"", ""EdDSA""); put(""Alg.Alias.KeyFactory.Ed25519"", ""EdDSA""); put(""KeyFactory.ML-DSA"", PREFIX + ""OpenSslMlDsaKeyFactory$MlDsa""); put(""KeyFactory.ML-DSA-44"", PREFIX + ""OpenSslMlDsaKeyFactory$MlDsa44""); put(""Alg.Alias.KeyFactory.2.16.840.1.101.3.4.3.17"", ""ML-DSA-44""); put(""Alg.Alias.KeyFactory.OID.2.16.840.1.101.3.4.3.17"", ""ML-DSA-44""); put(""KeyFactory.ML-DSA-65"", PREFIX + ""OpenSslMlDsaKeyFactory$MlDsa65""); put(""Alg.Alias.KeyFactory.2.16.840.1.101.3.4.3.18"", ""ML-DSA-65""); put(""Alg.Alias.KeyFactory.OID.2.16.840.1.101.3.4.3.18"", ""ML-DSA-65""); put(""KeyFactory.ML-DSA-87"", PREFIX + ""OpenSslMlDsaKeyFactory$MlDsa87""); put(""Alg.Alias.KeyFactory.2.16.840.1.101.3.4.3.19"", ""ML-DSA-87""); put(""Alg.Alias.KeyFactory.OID.2.16.840.1.101.3.4.3.19"", ""ML-DSA-87""); put(""KeyFactory.SLH-DSA-SHA2-128S"", PREFIX + ""OpenSslSlhDsaKeyFactory""); put(""KeyFactory.ML-KEM"", PREFIX + ""OpenSslMlKemKeyFactory$MlKem""); put(""KeyFactory.ML-KEM-768"", PREFIX + ""OpenSslMlKemKeyFactory$MlKem768""); put(""KeyFactory.ML-KEM-1024"", PREFIX + ""OpenSslMlKemKeyFactory$MlKem1024""); put(""KeyFactory.XWING"", PREFIX + ""OpenSslXwingKeyFactory""); put(""SecretKeyFactory.DESEDE"", PREFIX + ""DESEDESecretKeyFactory""); put(""Alg.Alias.SecretKeyFactory.TDEA"", ""DESEDE""); put(""SecretKeyFactory.SCRYPT"", PREFIX + ""ScryptSecretKeyFactory""); put(""Alg.Alias.SecretKeyFactory.1.3.6.1.4.1.11591.4.11"", ""SCRYPT""); put(""Alg.Alias.SecretKeyFactory.OID.1.3.6.1.4.1.11591.4.11"", ""SCRYPT""); putECDHKeyAgreementImplClass(""OpenSSLECDHKeyAgreement""); putXDHKeyAgreementImplClass(""OpenSSLXDHKeyAgreement""); putSignatureImplClass(""MD5withRSA"", ""OpenSSLSignature$MD5RSA""); put(""Alg.Alias.Signature.MD5withRSAEncryption"", ""MD5withRSA""); put(""Alg.Alias.Signature.MD5/RSA"", ""MD5withRSA""); put(""Alg.Alias.Signature.1.2.840.113549.1.1.4"", ""MD5withRSA""); put(""Alg.Alias.Signature.OID.1.2.840.113549.1.1.4"", ""MD5withRSA""); put(""Alg.Alias.Signature.1.2.840.113549.2.5with1.2.840.113549.1.1.1"", ""MD5withRSA""); putSignatureImplClass(""SHA1withRSA"", ""OpenSSLSignature$SHA1RSA""); put(""Alg.Alias.Signature.SHA1withRSAEncryption"", ""SHA1withRSA""); put(""Alg.Alias.Signature.SHA1/RSA"", ""SHA1withRSA""); put(""Alg.Alias.Signature.SHA-1/RSA"", ""SHA1withRSA""); put(""Alg.Alias.Signature.1.2.840.113549.1.1.5"", ""SHA1withRSA""); put(""Alg.Alias.Signature.OID.1.2.840.113549.1.1.5"", ""SHA1withRSA""); put(""Alg.Alias.Signature.1.3.14.3.2.26with1.2.840.113549.1.1.1"", ""SHA1withRSA""); put(""Alg.Alias.Signature.1.3.14.3.2.26with1.2.840.113549.1.1.5"", ""SHA1withRSA""); put(""Alg.Alias.Signature.1.3.14.3.2.29"", ""SHA1withRSA""); put(""Alg.Alias.Signature.OID.1.3.14.3.2.29"", ""SHA1withRSA""); putSignatureImplClass(""SHA224withRSA"", ""OpenSSLSignature$SHA224RSA""); put(""Alg.Alias.Signature.SHA224withRSAEncryption"", ""SHA224withRSA""); put(""Alg.Alias.Signature.SHA224/RSA"", ""SHA224withRSA""); put(""Alg.Alias.Signature.1.2.840.113549.1.1.14"", ""SHA224withRSA""); put(""Alg.Alias.Signature.OID.1.2.840.113549.1.1.14"", ""SHA224withRSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.4with1.2.840.113549.1.1.1"", ""SHA224withRSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.4with1.2.840.113549.1.1.14"", ""SHA224withRSA""); putSignatureImplClass(""SHA256withRSA"", ""OpenSSLSignature$SHA256RSA""); put(""Alg.Alias.Signature.SHA256withRSAEncryption"", ""SHA256withRSA""); put(""Alg.Alias.Signature.SHA256/RSA"", ""SHA256withRSA""); put(""Alg.Alias.Signature.1.2.840.113549.1.1.11"", ""SHA256withRSA""); put(""Alg.Alias.Signature.OID.1.2.840.113549.1.1.11"", ""SHA256withRSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.1with1.2.840.113549.1.1.1"", ""SHA256withRSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.1with1.2.840.113549.1.1.11"", ""SHA256withRSA""); putSignatureImplClass(""SHA384withRSA"", ""OpenSSLSignature$SHA384RSA""); put(""Alg.Alias.Signature.SHA384withRSAEncryption"", ""SHA384withRSA""); put(""Alg.Alias.Signature.SHA384/RSA"", ""SHA384withRSA""); put(""Alg.Alias.Signature.1.2.840.113549.1.1.12"", ""SHA384withRSA""); put(""Alg.Alias.Signature.OID.1.2.840.113549.1.1.12"", ""SHA384withRSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.2with1.2.840.113549.1.1.1"", ""SHA384withRSA""); putSignatureImplClass(""SHA512withRSA"", ""OpenSSLSignature$SHA512RSA""); put(""Alg.Alias.Signature.SHA512withRSAEncryption"", ""SHA512withRSA""); put(""Alg.Alias.Signature.SHA512/RSA"", ""SHA512withRSA""); put(""Alg.Alias.Signature.1.2.840.113549.1.1.13"", ""SHA512withRSA""); put(""Alg.Alias.Signature.OID.1.2.840.113549.1.1.13"", ""SHA512withRSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.3with1.2.840.113549.1.1.1"", ""SHA512withRSA""); putRAWRSASignatureImplClass(""OpenSSLSignatureRawRSA""); putSignatureImplClass(""NONEwithECDSA"", ""OpenSSLSignatureRawECDSA""); putSignatureImplClass(""SHA1withECDSA"", ""OpenSSLSignature$SHA1ECDSA""); put(""Alg.Alias.Signature.ECDSA"", ""SHA1withECDSA""); put(""Alg.Alias.Signature.ECDSAwithSHA1"", ""SHA1withECDSA""); put(""Alg.Alias.Signature.1.2.840.10045.4.1"", ""SHA1withECDSA""); put(""Alg.Alias.Signature.1.3.14.3.2.26with1.2.840.10045.2.1"", ""SHA1withECDSA""); putSignatureImplClass(""SHA224withECDSA"", ""OpenSSLSignature$SHA224ECDSA""); put(""Alg.Alias.Signature.SHA224/ECDSA"", ""SHA224withECDSA""); put(""Alg.Alias.Signature.1.2.840.10045.4.3.1"", ""SHA224withECDSA""); put(""Alg.Alias.Signature.OID.1.2.840.10045.4.3.1"", ""SHA224withECDSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.4with1.2.840.10045.2.1"", ""SHA224withECDSA""); putSignatureImplClass(""SHA256withECDSA"", ""OpenSSLSignature$SHA256ECDSA""); put(""Alg.Alias.Signature.SHA256/ECDSA"", ""SHA256withECDSA""); put(""Alg.Alias.Signature.1.2.840.10045.4.3.2"", ""SHA256withECDSA""); put(""Alg.Alias.Signature.OID.1.2.840.10045.4.3.2"", ""SHA256withECDSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.1with1.2.840.10045.2.1"", ""SHA256withECDSA""); putSignatureImplClass(""SHA384withECDSA"", ""OpenSSLSignature$SHA384ECDSA""); put(""Alg.Alias.Signature.SHA384/ECDSA"", ""SHA384withECDSA""); put(""Alg.Alias.Signature.1.2.840.10045.4.3.3"", ""SHA384withECDSA""); put(""Alg.Alias.Signature.OID.1.2.840.10045.4.3.3"", ""SHA384withECDSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.2with1.2.840.10045.2.1"", ""SHA384withECDSA""); putSignatureImplClass(""SHA512withECDSA"", ""OpenSSLSignature$SHA512ECDSA""); put(""Alg.Alias.Signature.SHA512/ECDSA"", ""SHA512withECDSA""); put(""Alg.Alias.Signature.1.2.840.10045.4.3.4"", ""SHA512withECDSA""); put(""Alg.Alias.Signature.OID.1.2.840.10045.4.3.4"", ""SHA512withECDSA""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.2.3with1.2.840.10045.2.1"", ""SHA512withECDSA""); putSignatureImplClass(""SHA1withRSA/PSS"", ""OpenSSLSignature$SHA1RSAPSS""); put(""Alg.Alias.Signature.SHA1withRSAandMGF1"", ""SHA1withRSA/PSS""); putSignatureImplClass(""SHA224withRSA/PSS"", ""OpenSSLSignature$SHA224RSAPSS""); put(""Alg.Alias.Signature.SHA224withRSAandMGF1"", ""SHA224withRSA/PSS""); putSignatureImplClass(""SHA256withRSA/PSS"", ""OpenSSLSignature$SHA256RSAPSS""); put(""Alg.Alias.Signature.SHA256withRSAandMGF1"", ""SHA256withRSA/PSS""); putSignatureImplClass(""SHA384withRSA/PSS"", ""OpenSSLSignature$SHA384RSAPSS""); put(""Alg.Alias.Signature.SHA384withRSAandMGF1"", ""SHA384withRSA/PSS""); putSignatureImplClass(""SHA512withRSA/PSS"", ""OpenSSLSignature$SHA512RSAPSS""); put(""Alg.Alias.Signature.SHA512withRSAandMGF1"", ""SHA512withRSA/PSS""); putSignatureImplClass(""EdDSA"", ""OpenSslSignatureEdDsa""); put(""Alg.Alias.Signature.1.3.101.112"", ""EdDSA""); put(""Alg.Alias.Signature.Ed25519"", ""EdDSA""); putSignatureImplClass(""ML-DSA"", ""OpenSslSignatureMlDsa$MlDsa""); putSignatureImplClass(""ML-DSA-44"", ""OpenSslSignatureMlDsa$MlDsa44""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.3.17"", ""ML-DSA-44""); put(""Alg.Alias.Signature.OID.2.16.840.1.101.3.4.3.17"", ""ML-DSA-44""); putSignatureImplClass(""ML-DSA-65"", ""OpenSslSignatureMlDsa$MlDsa65""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.3.18"", ""ML-DSA-65""); put(""Alg.Alias.Signature.OID.2.16.840.1.101.3.4.3.18"", ""ML-DSA-65""); putSignatureImplClass(""ML-DSA-87"", ""OpenSslSignatureMlDsa$MlDsa87""); put(""Alg.Alias.Signature.2.16.840.1.101.3.4.3.19"", ""ML-DSA-87""); put(""Alg.Alias.Signature.OID.2.16.840.1.101.3.4.3.19"", ""ML-DSA-87""); putSignatureImplClass(""SLH-DSA-SHA2-128S"", ""OpenSslSignatureSlhDsa""); put(""SecureRandom.SHA1PRNG"", PREFIX + ""OpenSSLRandom""); put(""SecureRandom.SHA1PRNG ImplementedIn"", ""Software""); putRSACipherImplClass(""RSA/ECB/NoPadding"", ""OpenSSLCipherRSA$Raw""); put(""Alg.Alias.Cipher.RSA/None/NoPadding"", ""RSA/ECB/NoPadding""); putRSACipherImplClass(""RSA/ECB/PKCS1Padding"", ""OpenSSLCipherRSA$PKCS1""); put(""Alg.Alias.Cipher.RSA/None/PKCS1Padding"", ""RSA/ECB/PKCS1Padding""); putRSACipherImplClass(""RSA/ECB/OAEPPadding"", ""OpenSSLCipherRSA$OAEP$SHA1""); put(""Alg.Alias.Cipher.RSA/None/OAEPPadding"", ""RSA/ECB/OAEPPadding""); putRSACipherImplClass(""RSA/ECB/OAEPWithSHA-1AndMGF1Padding"", ""OpenSSLCipherRSA$OAEP$SHA1""); put(""Alg.Alias.Cipher.RSA/None/OAEPWithSHA-1AndMGF1Padding"", ""RSA/ECB/OAEPWithSHA-1AndMGF1Padding""); putRSACipherImplClass(""RSA/ECB/OAEPWithSHA-224AndMGF1Padding"", ""OpenSSLCipherRSA$OAEP$SHA224""); put(""Alg.Alias.Cipher.RSA/None/OAEPWithSHA-224AndMGF1Padding"", ""RSA/ECB/OAEPWithSHA-224AndMGF1Padding""); putRSACipherImplClass(""RSA/ECB/OAEPWithSHA-256AndMGF1Padding"", ""OpenSSLCipherRSA$OAEP$SHA256""); put(""Alg.Alias.Cipher.RSA/None/OAEPWithSHA-256AndMGF1Padding"", ""RSA/ECB/OAEPWithSHA-256AndMGF1Padding""); putRSACipherImplClass(""RSA/ECB/OAEPWithSHA-384AndMGF1Padding"", ""OpenSSLCipherRSA$OAEP$SHA384""); put(""Alg.Alias.Cipher.RSA/None/OAEPWithSHA-384AndMGF1Padding"", ""RSA/ECB/OAEPWithSHA-384AndMGF1Padding""); putRSACipherImplClass(""RSA/ECB/OAEPWithSHA-512AndMGF1Padding"", ""OpenSSLCipherRSA$OAEP$SHA512""); put(""Alg.Alias.Cipher.RSA/None/OAEPWithSHA-512AndMGF1Padding"", ""RSA/ECB/OAEPWithSHA-512AndMGF1Padding""); putSymmetricCipherImplClass(""AES/ECB/NoPadding"", ""OpenSSLEvpCipherAES$AES$ECB$NoPadding""); putSymmetricCipherImplClass(""AES/ECB/PKCS5Padding"", ""OpenSSLEvpCipherAES$AES$ECB$PKCS5Padding""); put(""Alg.Alias.Cipher.AES/ECB/PKCS7Padding"", ""AES/ECB/PKCS5Padding""); putSymmetricCipherImplClass(""AES/CBC/NoPadding"", ""OpenSSLEvpCipherAES$AES$CBC$NoPadding""); putSymmetricCipherImplClass(""AES/CBC/PKCS5Padding"", ""OpenSSLEvpCipherAES$AES$CBC$PKCS5Padding""); put(""Alg.Alias.Cipher.AES/CBC/PKCS7Padding"", ""AES/CBC/PKCS5Padding""); putSymmetricCipherImplClass(""AES/CTR/NoPadding"", ""OpenSSLEvpCipherAES$AES$CTR""); putSymmetricCipherImplClass(""AES_128/ECB/NoPadding"", ""OpenSSLEvpCipherAES$AES_128$ECB$NoPadding""); putSymmetricCipherImplClass(""AES_128/ECB/PKCS5Padding"", ""OpenSSLEvpCipherAES$AES_128$ECB$PKCS5Padding""); put(""Alg.Alias.Cipher.AES_128/ECB/PKCS7Padding"", ""AES_128/ECB/PKCS5Padding""); putSymmetricCipherImplClass(""AES_128/CBC/NoPadding"", ""OpenSSLEvpCipherAES$AES_128$CBC$NoPadding""); putSymmetricCipherImplClass(""AES_128/CBC/PKCS5Padding"", ""OpenSSLEvpCipherAES$AES_128$CBC$PKCS5Padding""); put(""Alg.Alias.Cipher.AES_128/CBC/PKCS7Padding"", ""AES_128/CBC/PKCS5Padding""); put(""Alg.Alias.Cipher.PBEWithHmacSHA1AndAES_128"", ""AES_128/CBC/PKCS5PADDING""); put(""Alg.Alias.Cipher.PBEWithHmacSHA224AndAES_128"", ""AES_128/CBC/PKCS5PADDING""); put(""Alg.Alias.Cipher.PBEWithHmacSHA256AndAES_128"", ""AES_128/CBC/PKCS5PADDING""); put(""Alg.Alias.Cipher.PBEWithHmacSHA384AndAES_128"", ""AES_128/CBC/PKCS5PADDING""); put(""Alg.Alias.Cipher.PBEWithHmacSHA512AndAES_128"", ""AES_128/CBC/PKCS5PADDING""); putSymmetricCipherImplClass(""AES_256/ECB/NoPadding"", ""OpenSSLEvpCipherAES$AES_256$ECB$NoPadding""); putSymmetricCipherImplClass(""AES_256/ECB/PKCS5Padding"", ""OpenSSLEvpCipherAES$AES_256$ECB$PKCS5Padding""); put(""Alg.Alias.Cipher.AES_256/ECB/PKCS7Padding"", ""AES_256/ECB/PKCS5Padding""); putSymmetricCipherImplClass(""AES_256/CBC/NoPadding"", ""OpenSSLEvpCipherAES$AES_256$CBC$NoPadding""); putSymmetricCipherImplClass(""AES_256/CBC/PKCS5Padding"", ""OpenSSLEvpCipherAES$AES_256$CBC$PKCS5Padding""); put(""Alg.Alias.Cipher.AES_256/CBC/PKCS7Padding"", ""AES_256/CBC/PKCS5Padding""); put(""Alg.Alias.Cipher.PBEWithHmacSHA1AndAES_256"", ""AES_256/CBC/PKCS5PADDING""); put(""Alg.Alias.Cipher.PBEWithHmacSHA224AndAES_256"", ""AES_256/CBC/PKCS5PADDING""); put(""Alg.Alias.Cipher.PBEWithHmacSHA256AndAES_256"", ""AES_256/CBC/PKCS5PADDING""); put(""Alg.Alias.Cipher.PBEWithHmacSHA384AndAES_256"", ""AES_256/CBC/PKCS5PADDING""); put(""Alg.Alias.Cipher.PBEWithHmacSHA512AndAES_256"", ""AES_256/CBC/PKCS5PADDING""); putSymmetricCipherImplClass(""DESEDE/CBC/NoPadding"", ""OpenSSLEvpCipherDESEDE$CBC$NoPadding""); putSymmetricCipherImplClass(""DESEDE/CBC/PKCS5Padding"", ""OpenSSLEvpCipherDESEDE$CBC$PKCS5Padding""); put(""Alg.Alias.Cipher.DESEDE/CBC/PKCS7Padding"", ""DESEDE/CBC/PKCS5Padding""); putSymmetricCipherImplClass(""ARC4"", ""OpenSSLEvpCipherARC4""); put(""Alg.Alias.Cipher.ARCFOUR"", ""ARC4""); put(""Alg.Alias.Cipher.RC4"", ""ARC4""); put(""Alg.Alias.Cipher.1.2.840.113549.3.4"", ""ARC4""); put(""Alg.Alias.Cipher.OID.1.2.840.113549.3.4"", ""ARC4""); putSymmetricCipherImplClass(""AES/GCM/NoPadding"", ""OpenSSLAeadCipherAES$GCM""); put(""Alg.Alias.Cipher.GCM"", ""AES/GCM/NoPadding""); put(""Alg.Alias.Cipher.2.16.840.1.101.3.4.1.6"", ""AES/GCM/NoPadding""); put(""Alg.Alias.Cipher.2.16.840.1.101.3.4.1.26"", ""AES/GCM/NoPadding""); put(""Alg.Alias.Cipher.2.16.840.1.101.3.4.1.46"", ""AES/GCM/NoPadding""); putSymmetricCipherImplClass(""AES_128/GCM/NoPadding"", ""OpenSSLAeadCipherAES$GCM$AES_128""); putSymmetricCipherImplClass(""AES_256/GCM/NoPadding"", ""OpenSSLAeadCipherAES$GCM$AES_256""); putSymmetricCipherImplClass(""AES/GCM-SIV/NoPadding"", ""OpenSSLAeadCipherAES$GCM_SIV""); putSymmetricCipherImplClass(""AES_128/GCM-SIV/NoPadding"", ""OpenSSLAeadCipherAES$GCM_SIV$AES_128""); putSymmetricCipherImplClass(""AES_256/GCM-SIV/NoPadding"", ""OpenSSLAeadCipherAES$GCM_SIV$AES_256""); putSymmetricCipherImplClass(""ChaCha20"", ""OpenSSLCipherChaCha20""); putSymmetricCipherImplClass(""ChaCha20/Poly1305/NoPadding"", ""OpenSSLAeadCipherChaCha20""); put(""Alg.Alias.Cipher.ChaCha20-Poly1305"", ""ChaCha20/Poly1305/NoPadding""); putMacImplClass(""HmacMD5"", ""OpenSSLMac$HmacMD5""); put(""Alg.Alias.Mac.1.3.6.1.5.5.8.1.1"", ""HmacMD5""); put(""Alg.Alias.Mac.HMAC-MD5"", ""HmacMD5""); put(""Alg.Alias.Mac.HMAC/MD5"", ""HmacMD5""); putMacImplClass(""HmacSHA1"", ""OpenSSLMac$HmacSHA1""); put(""Alg.Alias.Mac.1.2.840.113549.2.7"", ""HmacSHA1""); put(""Alg.Alias.Mac.1.3.6.1.5.5.8.1.2"", ""HmacSHA1""); put(""Alg.Alias.Mac.HMAC-SHA1"", ""HmacSHA1""); put(""Alg.Alias.Mac.HMAC/SHA1"", ""HmacSHA1""); putMacImplClass(""HmacSHA224"", ""OpenSSLMac$HmacSHA224""); put(""Alg.Alias.Mac.1.2.840.113549.2.8"", ""HmacSHA224""); put(""Alg.Alias.Mac.HMAC-SHA224"", ""HmacSHA224""); put(""Alg.Alias.Mac.HMAC/SHA224"", ""HmacSHA224""); put(""Alg.Alias.Mac.PBEWITHHMACSHA224"", ""HmacSHA224""); putMacImplClass(""HmacSHA256"", ""OpenSSLMac$HmacSHA256""); put(""Alg.Alias.Mac.1.2.840.113549.2.9"", ""HmacSHA256""); put(""Alg.Alias.Mac.2.16.840.1.101.3.4.2.1"", ""HmacSHA256""); put(""Alg.Alias.Mac.HMAC-SHA256"", ""HmacSHA256""); put(""Alg.Alias.Mac.HMAC/SHA256"", ""HmacSHA256""); put(""Alg.Alias.Mac.PBEWITHHMACSHA256"", ""HmacSHA256""); putMacImplClass(""HmacSHA384"", ""OpenSSLMac$HmacSHA384""); put(""Alg.Alias.Mac.1.2.840.113549.2.10"", ""HmacSHA384""); put(""Alg.Alias.Mac.HMAC-SHA384"", ""HmacSHA384""); put(""Alg.Alias.Mac.HMAC/SHA384"", ""HmacSHA384""); put(""Alg.Alias.Mac.PBEWITHHMACSHA384"", ""HmacSHA384""); putMacImplClass(""HmacSHA512"", ""OpenSSLMac$HmacSHA512""); put(""Alg.Alias.Mac.1.2.840.113549.2.11"", ""HmacSHA512""); put(""Alg.Alias.Mac.HMAC-SHA512"", ""HmacSHA512""); put(""Alg.Alias.Mac.HMAC/SHA512"", ""HmacSHA512""); put(""Alg.Alias.Mac.PBEWITHHMACSHA512"", ""HmacSHA512""); putMacImplClass(""AESCMAC"", ""OpenSSLMac$AesCmac""); put(""CertificateFactory.X509"", PREFIX + ""OpenSSLX509CertificateFactory""); put(""Alg.Alias.CertificateFactory.X.509"", ""X509""); String baseClass = PREFIX + ""HpkeImpl""; put(""ConscryptHpke.DHKEM_X25519_HKDF_SHA256/HKDF_SHA256/AES_128_GCM"", baseClass + ""$X25519_AES_128""); put(""Alg.Alias.ConscryptHpke.DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_AES_128_GCM"", ""DHKEM_X25519_HKDF_SHA256/HKDF_SHA256/AES_128_GCM""); put(""ConscryptHpke.DHKEM_X25519_HKDF_SHA256/HKDF_SHA256/AES_256_GCM"", baseClass + ""$X25519_AES_256""); put(""Alg.Alias.ConscryptHpke.DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_AES_256_GCM"", ""DHKEM_X25519_HKDF_SHA256/HKDF_SHA256/AES_256_GCM""); put(""ConscryptHpke.DHKEM_X25519_HKDF_SHA256/HKDF_SHA256/CHACHA20POLY1305"", baseClass + ""$X25519_CHACHA20""); put(""Alg.Alias.ConscryptHpke.DHKEM_X25519_HKDF_SHA256_HKDF_SHA256_GhpkeCHACHA20POLY1305"", ""DHKEM_X25519_HKDF_SHA256/HKDF_SHA256/CHACHA20POLY1305""); put(""ConscryptHpke.MLKEM_768/HKDF_SHA256/AES_128_GCM"", baseClass + ""$MlKem768HkdfSha256Aes128Gcm""); put(""ConscryptHpke.MLKEM_768/HKDF_SHA256/AES_256_GCM"", baseClass + ""$MlKem768HkdfSha256Aes256Gcm""); put(""ConscryptHpke.MLKEM_768/HKDF_SHA256/CHACHA20POLY1305"", baseClass + ""$MlKem768HkdfSha256ChaCha20Poly1305""); put(""ConscryptHpke.MLKEM_1024/HKDF_SHA256/AES_128_GCM"", baseClass + ""$MlKem1024HkdfSha256Aes128Gcm""); put(""ConscryptHpke.MLKEM_1024/HKDF_SHA256/AES_256_GCM"", baseClass + ""$MlKem1024HkdfSha256Aes256Gcm""); put(""ConscryptHpke.MLKEM_1024/HKDF_SHA256/CHACHA20POLY1305"", baseClass + ""$MlKem1024HkdfSha256ChaCha20Poly1305""); put(""ConscryptHpke.XWING/HKDF_SHA256/AES_128_GCM"", baseClass + ""$XwingHkdfSha256Aes128Gcm""); put(""ConscryptHpke.XWING/HKDF_SHA256/AES_256_GCM"", baseClass + ""$XwingHkdfSha256Aes256Gcm""); put(""ConscryptHpke.XWING/HKDF_SHA256/CHACHA20POLY1305"", baseClass + ""$XwingHkdfSha256ChaCha20Poly1305""); if (Platform.isPakeSupported()) { put(""TrustManagerFactory.PAKE"", PREFIX + ""PakeTrustManagerFactory""); put(""KeyManagerFactory.PAKE"", PREFIX + ""PakeKeyManagerFactory""); } }",unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.5298706293106079,0.4701293408870697
34,"private X509CRL loadCRLFromLDAP(CertificateFactory cf, URI remoteURI) throws GeneralSecurityException { Hashtable<String, String> env = new Hashtable<>(2); env.put(Context.INITIAL_CONTEXT_FACTORY, ldapContext.getLdapFactoryClassName()); env.put(Context.PROVIDER_URL, remoteURI.toString()); try { DirContext ctx = new InitialDirContext(env); try { Attributes attrs = ctx.getAttributes(""""); Attribute cRLAttribute = attrs.get(""certificateRevocationList;binary""); byte[] data = (byte[])cRLAttribute.get(); if (data == null || data.length == 0) { throw new CertificateException(String.format(""Failed to download CRL from \""%s\"""", remoteURI.toString())); } try (InputStream is = new ByteArrayInputStream(data)) { return loadFromStream(cf, is); } } finally { ctx.close(); } } catch (NamingException e) { logger.error(e.getMessage()); } catch(IOException e) { logger.error(e.getMessage()); } return null; }",unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.9848581552505493,0.015141860581934452
42,"protected void sessionExpired(String id) { if (cluster.getMembers().length > 0) { if (enableStatistics) { counterSend_EVT_SESSION_EXPIRED.incrementAndGet(); } SessionMessage msg = new SessionMessageImpl(getName(), SessionMessage.EVT_SESSION_EXPIRED, null, id, id + ""-EXPIRED-MSG""); msg.setTimestamp(System.currentTimeMillis()); if (log.isDebugEnabled()) { log.debug(sm.getString(""deltaManager.createMessage.expire"", getName(), id)); } send(msg); } }",unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.9766142964363098,0.0233856700360775
45,JwtBuilder provider(Provider provider);,unrelated,authentication_identity,False,true_unrelated_predicted_authentication_identity,0.9811105728149414,0.018889425322413445
58,"JWTVerifier(Algorithm algorithm, List<ExpectedCheckHolder> expectedChecks) { this.algorithm = algorithm; this.expectedChecks = Collections.unmodifiableList(expectedChecks); this.parser = new JWTParser(); }",authentication_identity,unrelated,False,true_authentication_identity_predicted_unrelated,0.0026118215173482895,0.9973881840705872