You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
904 B

// Signature format: 2.0
package com.android.mediadrm.signer {
public final class MediaDrmSigner {
method public static com.android.mediadrm.signer.MediaDrmSigner.CertificateRequest getCertificateRequest(android.media.MediaDrm, int, String);
method public static com.android.mediadrm.signer.MediaDrmSigner.Certificate provideCertificateResponse(android.media.MediaDrm, byte[]) throws android.media.DeniedByServerException;
method public static byte[] signRSA(android.media.MediaDrm, byte[], String, byte[], byte[]);
field public static final int CERTIFICATE_TYPE_X509 = 1; // 0x1
}
public static final class MediaDrmSigner.Certificate {
method public byte[] getContent();
method public byte[] getWrappedPrivateKey();
}
public static final class MediaDrmSigner.CertificateRequest {
method public byte[] getData();
method public String getDefaultUrl();
}
}