summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Seth Moore <sethmo@google.com> 2021-09-14 11:01:28 -0700
committer Seth Moore <sethmo@google.com> 2021-09-14 11:01:28 -0700
commitfab34c1adcbaa63c27757ddf8ae861063b0bc3d2 (patch)
tree335e53f9cffd796c60f1b3b68abdce74e50a915d
parent0fa9d2ef6becfc9d4c5281aab0140611425a6ff5 (diff)
Fix typos in IdentityCredential.java javadoc
"byt" -> "but" "readerAuth" -> "readerSignature" Test: N/A Change-Id: Ie8e8c4fa4479d3694871fe00bb0d99698fa05966
-rw-r--r--identity/java/android/security/identity/IdentityCredential.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/identity/java/android/security/identity/IdentityCredential.java b/identity/java/android/security/identity/IdentityCredential.java
index 8f175bb63edb..1e685856d011 100644
--- a/identity/java/android/security/identity/IdentityCredential.java
+++ b/identity/java/android/security/identity/IdentityCredential.java
@@ -160,7 +160,7 @@ public abstract class IdentityCredential {
* not the case, the {@link SessionTranscriptMismatchException} exception is thrown.
*
* <p>If not {@code null} the {@code requestMessage} parameter must contain data for the request
- * from the verifier. The content can be defined in the way appropriate for the credential, byt
+ * from the verifier. The content can be defined in the way appropriate for the credential, but
* there are three requirements that must be met to work with this API:
* <ul>
* <li>The content must be a CBOR-encoded structure.</li>
@@ -205,9 +205,9 @@ public abstract class IdentityCredential {
* must appear somewhere in {@code sessionTranscript} and ditto for the 32 bytes for the Y
* coordinate.
*
- * <p>If {@code readerAuth} is not {@code null} it must be the bytes of a {@code COSE_Sign1}
- * structure as defined in RFC 8152. For the payload nil shall be used and the
- * detached payload is the ReaderAuthenticationBytes CBOR described below.
+ * <p>If {@code readerSignature} is not {@code null} it must be the bytes of a
+ * {@code COSE_Sign1} structure as defined in RFC 8152. For the payload nil shall be used and
+ * the detached payload is the ReaderAuthenticationBytes CBOR described below.
* <pre>
* ReaderAuthentication = [
* "ReaderAuthentication",