@Implements(value=android.content.pm.SigningInfo.class, minSdk=28) public class ShadowSigningInfo extends Object
Modifier and Type | Field | Description |
---|---|---|
static Parcelable.Creator<SigningInfo> |
CREATOR |
Constructor | Description |
---|---|
ShadowSigningInfo() |
Modifier and Type | Method | Description |
---|---|---|
protected Signature[] |
getApkContentsSigners() |
|
protected Signature[] |
getSigningCertificateHistory() |
|
protected boolean |
hasMultipleSigners() |
|
protected boolean |
hasPastSigningCertificates() |
|
void |
setPastSigningCertificates(Signature[] pastSigningCertificates) |
Sets the history of Signatures for this package.
|
void |
setSignatures(Signature[] signatures) |
Set the current Signatures for this package.
|
void |
writeToParcel(Parcel parcel,
int flags) |
public static final Parcelable.Creator<SigningInfo> CREATOR
public void setSignatures(Signature[] signatures)
hasMultipleSigners()
will be true and getSigningCertificateHistory()
will return
null.public void setPastSigningCertificates(Signature[] pastSigningCertificates)
@Implementation protected boolean hasMultipleSigners()
@Implementation protected boolean hasPastSigningCertificates()
@Implementation protected Signature[] getSigningCertificateHistory()
@Implementation protected Signature[] getApkContentsSigners()
@Implementation public void writeToParcel(Parcel parcel, int flags)