api: add micalg result extra to detached signature api call
This commit is contained in:
@@ -27,6 +27,9 @@ public class PgpSignEncryptResult extends InputPendingResult {
|
||||
|
||||
byte[] mDetachedSignature;
|
||||
public long mOperationTime;
|
||||
// this is the micalg parameter used in PGP/MIME, see RFC3156:
|
||||
// https://tools.ietf.org/html/rfc3156#section-5
|
||||
private String mMicAlgDigestName;
|
||||
|
||||
public void setDetachedSignature(byte[] detachedSignature) {
|
||||
mDetachedSignature = detachedSignature;
|
||||
@@ -74,4 +77,11 @@ public class PgpSignEncryptResult extends InputPendingResult {
|
||||
}
|
||||
};
|
||||
|
||||
public void setMicAlgDigestName(String micAlgDigestName) {
|
||||
mMicAlgDigestName = micAlgDigestName;
|
||||
}
|
||||
|
||||
public String getMicAlgDigestName() {
|
||||
return mMicAlgDigestName;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user