1// See com.google.currysrc.aosp.Annotations.addUnsupportedAppUsage(Path) method for details on the 2// syntax. 3[ 4 { 5 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#getAlpnSelectedProtocol()", 6 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 7 "publicAlternatives": "Use {@code javax.net.ssl.SSLSocket#getApplicationProtocol()}." 8 }, 9 { 10 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#getApplicationProtocols()", 11 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 12 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#getApplicationProtocols()}." 13 }, 14 { 15 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#getChannelId()", 16 "maxTargetSdk": 30, 17 "trackingBug": 170729553 18 }, 19 { 20 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#getHostname()", 21 "maxTargetSdk": 30, 22 "trackingBug": 170729553 23 }, 24 { 25 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#getHostnameOrIP()", 26 "maxTargetSdk": 30, 27 "trackingBug": 170729553 28 }, 29 { 30 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#getNpnSelectedProtocol()", 31 "maxTargetSdk": 30, 32 "trackingBug": 170729553 33 }, 34 { 35 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#getSoWriteTimeout()", 36 "maxTargetSdk": 30, 37 "trackingBug": 170729553 38 }, 39 { 40 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setAlpnProtocols(byte[])", 41 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 42 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setApplicationProtocols(java.lang.String[])}." 43 }, 44 { 45 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setAlpnProtocols(String[])", 46 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 47 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setApplicationProtocols(java.lang.String[])}." 48 }, 49 { 50 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setApplicationProtocols(String[])", 51 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 52 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setApplicationProtocols(java.lang.String[])}." 53 }, 54 { 55 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setChannelIdEnabled(boolean)", 56 "maxTargetSdk": 30, 57 "trackingBug": 170729553 58 }, 59 { 60 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setChannelIdPrivateKey(PrivateKey)", 61 "maxTargetSdk": 30, 62 "trackingBug": 170729553 63 }, 64 { 65 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setHandshakeTimeout(int)", 66 "maxTargetSdk": 30, 67 "trackingBug": 170729553 68 }, 69 { 70 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setHostname(String)", 71 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 72 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setServerNames}." 73 }, 74 { 75 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setNpnProtocols(byte[])", 76 "maxTargetSdk": 30, 77 "trackingBug": 170729553 78 }, 79 { 80 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setSoWriteTimeout(int)", 81 "maxTargetSdk": 30, 82 "trackingBug": 170729553 83 }, 84 { 85 "@location": "method:com.android.org.conscrypt.AbstractConscryptSocket#setUseSessionTickets(boolean)", 86 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 87 "publicAlternatives": "Use {@link android.net.ssl.SSLSockets#setUseSessionTickets}." 88 }, 89 { 90 "@location": "method:com.android.org.conscrypt.ClientSessionContext#getSession(String,int)" 91 }, 92 { 93 "@location": "method:com.android.org.conscrypt.ClientSessionContext#setPersistentCache(SSLClientSessionCache)" 94 }, 95 { 96 "@location": "method:com.android.org.conscrypt.ConscryptEngineSocket#setHostname(String)", 97 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 98 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setServerNames}." 99 }, 100 { 101 "@location": "method:com.android.org.conscrypt.ConscryptEngineSocket#setUseSessionTickets(boolean)", 102 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 103 "publicAlternatives": "Use {@link android.net.ssl.SSLSockets#setUseSessionTickets}." 104 }, 105 { 106 "@location": "method:com.android.org.conscrypt.ConscryptFileDescriptorSocket#setHostname(String)", 107 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 108 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setServerNames}." 109 }, 110 { 111 "@location": "method:com.android.org.conscrypt.ConscryptFileDescriptorSocket#setUseSessionTickets(boolean)", 112 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 113 "publicAlternatives": "Use {@link android.net.ssl.SSLSockets#setUseSessionTickets}." 114 }, 115 { 116 "@location": "method:com.android.org.conscrypt.FileClientSessionCache$Impl#getSessionData(String,int)" 117 }, 118 { 119 "@location": "method:com.android.org.conscrypt.FileClientSessionCache#usingDirectory(File)" 120 }, 121 { 122 "@location": "method:com.android.org.conscrypt.NativeCrypto#ASN1_seq_pack_X509(long[])" 123 }, 124 { 125 "@location": "method:com.android.org.conscrypt.NativeCrypto#ASN1_seq_unpack_X509_bio(long)" 126 }, 127 { 128 "@location": "method:com.android.org.conscrypt.NativeCrypto#ASN1_TIME_to_Calendar(long,Calendar)" 129 }, 130 { 131 "@location": "method:com.android.org.conscrypt.NativeCrypto#BIO_free_all(long)" 132 }, 133 { 134 "@location": "method:com.android.org.conscrypt.NativeCrypto#create_BIO_InputStream(OpenSSLBIOInputStream,boolean)" 135 }, 136 { 137 "@location": "method:com.android.org.conscrypt.NativeCrypto#create_BIO_OutputStream(OutputStream)" 138 }, 139 { 140 "@location": "method:com.android.org.conscrypt.NativeCrypto#d2i_PKCS7_bio(long,int)" 141 }, 142 { 143 "@location": "method:com.android.org.conscrypt.NativeCrypto#d2i_SSL_SESSION(byte[])" 144 }, 145 { 146 "@location": "method:com.android.org.conscrypt.NativeCrypto#d2i_X509(byte[])" 147 }, 148 { 149 "@location": "method:com.android.org.conscrypt.NativeCrypto#d2i_X509_bio(long)" 150 }, 151 { 152 "@location": "method:com.android.org.conscrypt.NativeCrypto#d2i_X509_CRL_bio(long)" 153 }, 154 { 155 "@location": "method:com.android.org.conscrypt.NativeCrypto#EC_GROUP_clear_free(long)" 156 }, 157 { 158 "@location": "method:com.android.org.conscrypt.NativeCrypto#EC_GROUP_new_by_curve_name(String)" 159 }, 160 { 161 "@location": "method:com.android.org.conscrypt.NativeCrypto#EC_POINT_clear_free(long)" 162 }, 163 { 164 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_CIPHER_CTX_new()" 165 }, 166 { 167 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_CIPHER_iv_length(long)" 168 }, 169 { 170 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_get_cipherbyname(String)" 171 }, 172 { 173 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_get_digestbyname(String)" 174 }, 175 { 176 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_MD_CTX_create()" 177 }, 178 { 179 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_MD_CTX_destroy(long)" 180 }, 181 { 182 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_MD_size(long)" 183 }, 184 { 185 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_PKEY_free(long)" 186 }, 187 { 188 "@location": "method:com.android.org.conscrypt.NativeCrypto#EVP_PKEY_new_RSA(byte[],byte[],byte[],byte[],byte[],byte[],byte[],byte[])" 189 }, 190 { 191 "@location": "method:com.android.org.conscrypt.NativeCrypto#get_X509_REVOKED_ext_oids(long,int)" 192 }, 193 { 194 "@location": "method:com.android.org.conscrypt.NativeCrypto#get_X509_REVOKED_revocationDate(long)" 195 }, 196 { 197 "@location": "method:com.android.org.conscrypt.NativeCrypto#i2d_PKCS7(long[])" 198 }, 199 { 200 "@location": "method:com.android.org.conscrypt.NativeCrypto#i2d_SSL_SESSION(long)" 201 }, 202 { 203 "@location": "method:com.android.org.conscrypt.NativeCrypto#i2d_X509_REVOKED(long)" 204 }, 205 { 206 "@location": "method:com.android.org.conscrypt.NativeCrypto#PEM_read_bio_PKCS7(long,int)" 207 }, 208 { 209 "@location": "method:com.android.org.conscrypt.NativeCrypto#PEM_read_bio_X509(long)" 210 }, 211 { 212 "@location": "method:com.android.org.conscrypt.NativeCrypto#PEM_read_bio_X509_CRL(long)" 213 }, 214 { 215 "@location": "method:com.android.org.conscrypt.NativeCrypto#RAND_bytes(byte[])" 216 }, 217 { 218 "@location": "method:com.android.org.conscrypt.NativeCrypto#RSA_generate_key_ex(int,byte[])" 219 }, 220 { 221 "@location": "method:com.android.org.conscrypt.NativeCrypto#SSL_CTX_new()" 222 }, 223 { 224 "@location": "method:com.android.org.conscrypt.NativeCrypto#SSL_SESSION_cipher(long)" 225 }, 226 { 227 "@location": "method:com.android.org.conscrypt.NativeCrypto#SSL_SESSION_free(long)" 228 }, 229 { 230 "@location": "method:com.android.org.conscrypt.NativeCrypto#SSL_SESSION_get_time(long)" 231 }, 232 { 233 "@location": "method:com.android.org.conscrypt.NativeCrypto#SSL_SESSION_get_version(long)" 234 }, 235 { 236 "@location": "method:com.android.org.conscrypt.NativeCrypto#SSL_SESSION_session_id(long)" 237 }, 238 { 239 "@location": "method:com.android.org.conscrypt.NativeCrypto#X509_REVOKED_dup(long)" 240 }, 241 { 242 "@location": "method:com.android.org.conscrypt.NativeCrypto#X509_REVOKED_get_ext(long,String)" 243 }, 244 { 245 "@location": "method:com.android.org.conscrypt.NativeCrypto#X509_REVOKED_get_ext_oid(long,String)" 246 }, 247 { 248 "@location": "method:com.android.org.conscrypt.NativeCrypto#X509_REVOKED_get_serialNumber(long)" 249 }, 250 { 251 "@location": "method:com.android.org.conscrypt.NativeCrypto#X509_REVOKED_print(long,long)" 252 }, 253 { 254 "@location": "method:com.android.org.conscrypt.NativeCrypto#X509_supported_extension(long)" 255 }, 256 { 257 "@location": "method:com.android.org.conscrypt.OpenSSLBIOInputStream#OpenSSLBIOInputStream(InputStream,boolean)" 258 }, 259 { 260 "@location": "method:com.android.org.conscrypt.OpenSSLBIOInputStream#getBioContext()" 261 }, 262 { 263 "@location": "method:com.android.org.conscrypt.OpenSSLBIOInputStream#release()" 264 }, 265 { 266 "@location": "method:com.android.org.conscrypt.OpenSSLContextImpl$TLSv12#TLSv12()" 267 }, 268 { 269 "@location": "method:com.android.org.conscrypt.OpenSSLContextImpl#OpenSSLContextImpl()" 270 }, 271 { 272 "@location": "method:com.android.org.conscrypt.OpenSSLContextImpl#getPreferred()" 273 }, 274 { 275 "@location": "method:com.android.org.conscrypt.OpenSSLKey#OpenSSLKey(long)" 276 }, 277 { 278 "@location": "method:com.android.org.conscrypt.OpenSSLKey#fromPrivateKey(PrivateKey)" 279 }, 280 { 281 "@location": "method:com.android.org.conscrypt.OpenSSLKey#getNativeRef()" 282 }, 283 { 284 "@location": "method:com.android.org.conscrypt.OpenSSLKey#getPublicKey()" 285 }, 286 { 287 "@location": "method:com.android.org.conscrypt.OpenSSLKeyHolder#getOpenSSLKey()" 288 }, 289 { 290 "@location": "method:com.android.org.conscrypt.OpenSSLProvider#OpenSSLProvider()" 291 }, 292 { 293 "@location": "method:com.android.org.conscrypt.OpenSSLRandom#OpenSSLRandom()" 294 }, 295 { 296 "@location": "method:com.android.org.conscrypt.OpenSSLSocketFactoryImpl#OpenSSLSocketFactoryImpl()" 297 }, 298 { 299 "@location": "field:com.android.org.conscrypt.OpenSSLSocketFactoryImpl#sslParameters" 300 }, 301 { 302 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#getAlpnSelectedProtocol()", 303 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 304 "publicAlternatives": "Use {@code javax.net.ssl.SSLSocket#getApplicationProtocol()}." 305 }, 306 { 307 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#getChannelId()", 308 "maxTargetSdk": 30, 309 "trackingBug": 170729553 310 }, 311 { 312 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#getHostname()", 313 "maxTargetSdk": 30, 314 "trackingBug": 170729553 315 }, 316 { 317 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#getHostnameOrIP()", 318 "maxTargetSdk": 30, 319 "trackingBug": 170729553 320 }, 321 { 322 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#getNpnSelectedProtocol()" 323 }, 324 { 325 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#getSoWriteTimeout()", 326 "maxTargetSdk": 30, 327 "trackingBug": 170729553 328 }, 329 { 330 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setAlpnProtocols(byte[])", 331 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 332 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setApplicationProtocols(java.lang.String[])}." 333 }, 334 { 335 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setAlpnProtocols(String[])", 336 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 337 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setApplicationProtocols(java.lang.String[])}." 338 }, 339 { 340 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setChannelIdEnabled(boolean)", 341 "maxTargetSdk": 30, 342 "trackingBug": 170729553 343 }, 344 { 345 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setChannelIdPrivateKey(PrivateKey)", 346 "maxTargetSdk": 30, 347 "trackingBug": 170729553 348 }, 349 { 350 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setHandshakeTimeout(int)", 351 "maxTargetSdk": 30, 352 "trackingBug": 170729553 353 }, 354 { 355 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setHostname(String)", 356 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 357 "publicAlternatives": "Use {@code javax.net.ssl.SSLParameters#setServerNames}." 358 }, 359 { 360 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setNpnProtocols(byte[])" 361 }, 362 { 363 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setSoWriteTimeout(int)", 364 "maxTargetSdk": 30, 365 "trackingBug": 170729553 366 }, 367 { 368 "@location": "method:com.android.org.conscrypt.OpenSSLSocketImpl#setUseSessionTickets(boolean)", 369 "maxTargetSdk": "dalvik.annotation.compat.VersionCodes.Q", 370 "publicAlternatives": "Use {@link android.net.ssl.SSLSockets#setUseSessionTickets}." 371 }, 372 { 373 "@location": "method:com.android.org.conscrypt.OpenSSLX509Certificate#fromX509PemInputStream(InputStream)" 374 }, 375 { 376 "@location": "field:com.android.org.conscrypt.OpenSSLX509Certificate#mContext" 377 }, 378 { 379 "@location": "method:com.android.org.conscrypt.SSLParametersImpl#getDefault()" 380 }, 381 { 382 "@location": "method:com.android.org.conscrypt.SSLParametersImpl#getDefaultX509TrustManager()" 383 }, 384 { 385 "@location": "method:com.android.org.conscrypt.SSLParametersImpl#getX509TrustManager()", 386 "maxTargetSdk": 30, 387 "trackingBug": 170729553 388 }, 389 { 390 "@location": "method:com.android.org.conscrypt.SSLParametersImpl#setEnabledProtocols(String[])", 391 "maxTargetSdk": 30, 392 "trackingBug": 170729553 393 }, 394 { 395 "@location": "field:com.android.org.conscrypt.SSLParametersImpl#x509TrustManager" 396 }, 397 { 398 "@location": "method:com.android.org.conscrypt.TrustedCertificateStore#TrustedCertificateStore()" 399 }, 400 { 401 "@location": "method:com.android.org.conscrypt.TrustedCertificateStore#getCertificateChain(X509Certificate)" 402 }, 403 { 404 "@location": "method:com.android.org.conscrypt.TrustManagerImpl#TrustManagerImpl(KeyStore)" 405 }, 406 { 407 "@location": "method:com.android.org.conscrypt.TrustManagerImpl#checkServerTrusted(X509Certificate[],String,String)" 408 }, 409 { 410 "@location": "method:com.android.org.conscrypt.X509PublicKey#X509PublicKey(String,byte[])" 411 } 412] 413