Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit cc687c52 authored by Brian Carlstrom's avatar Brian Carlstrom
Browse files

Deprecate non-X509Certificate SslCertificate constructors

Change-Id: I45541c48b321fbd6054712c08d8ac64108d32674
parent 439f5c6b
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -117430,7 +117430,7 @@
 type="android.net.http.SslCertificate"
 static="false"
 final="false"
 deprecated="not deprecated"
 deprecated="deprecated"
 visibility="public"
>
<parameter name="issuedTo" type="java.lang.String">
@@ -237424,7 +237424,7 @@
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="s" type="java.lang.String">
<parameter name="key" type="java.lang.String">
</parameter>
</method>
<method name="describeContents"
@@ -237459,7 +237459,7 @@
 deprecated="not deprecated"
 visibility="public"
>
<parameter name="s" type="java.lang.String">
<parameter name="key" type="java.lang.String">
</parameter>
</method>
<method name="getIconResId"
+3 −1
Original line number Diff line number Diff line
@@ -110,7 +110,7 @@ public class SslCertificate {
     * @param issuedBy The entity that issued this certificate
     * @param validNotBefore The not-before date from the certificate validity period in ISO 8601 format
     * @param validNotAfter The not-after date from the certificate validity period in ISO 8601 format
     * @deprecated Use {@link #SslCertificate(String, String, Date, Date)}
     * @deprecated Use {@link #SslCertificate(X509Certificate)}
     */
    @Deprecated
    public SslCertificate(
@@ -124,7 +124,9 @@ public class SslCertificate {
     * @param issuedBy The entity that issued this certificate
     * @param validNotBefore The not-before date from the certificate validity period
     * @param validNotAfter The not-after date from the certificate validity period
     * @deprecated Use {@link #SslCertificate(X509Certificate)}
     */
    @Deprecated
    public SslCertificate(
            String issuedTo, String issuedBy, Date validNotBefore, Date validNotAfter) {
        mIssuedTo = new DName(issuedTo);