1// Signature format: 2.0 2package com.android.mediadrm.signer { 3 4 public final class MediaDrmSigner { 5 method public static com.android.mediadrm.signer.MediaDrmSigner.CertificateRequest getCertificateRequest(android.media.MediaDrm, int, String); 6 method public static com.android.mediadrm.signer.MediaDrmSigner.Certificate provideCertificateResponse(android.media.MediaDrm, byte[]) throws android.media.DeniedByServerException; 7 method public static byte[] signRSA(android.media.MediaDrm, byte[], String, byte[], byte[]); 8 field public static final int CERTIFICATE_TYPE_X509 = 1; // 0x1 9 } 10 11 public static final class MediaDrmSigner.Certificate { 12 method public byte[] getContent(); 13 method public byte[] getWrappedPrivateKey(); 14 } 15 16 public static final class MediaDrmSigner.CertificateRequest { 17 method public byte[] getData(); 18 method public String getDefaultUrl(); 19 } 20 21} 22 23