Skip to content

Commit

Permalink
Merge pull request #79 from alexanderjordanbaker/UpdateSignedDataVeri…
Browse files Browse the repository at this point in the history
…fierDocumentation

Update method documentation for SignedDataVerifier to link to Apple d…
  • Loading branch information
alexanderjordanbaker authored Mar 29, 2024
2 parents fe7d066 + e0ed2e5 commit 0913e43
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ public SignedDataVerifier(Set<InputStream> rootCertificates, String bundleId, Lo

/**
* Verifies and decodes a signedTransaction obtained from the App Store Server API, an App Store Server Notification, or from a device
* @see <a href="https://developer.apple.com/documentation/appstoreserverapi/jwstransaction">JWSTransaction</a>
*
* @param signedTransaction The signedTransaction field
* @return The decoded transaction info after verification
Expand All @@ -80,6 +81,7 @@ public JWSTransactionDecodedPayload verifyAndDecodeTransaction(String signedTran

/**
* Verifies and decodes a signedRenewalInfo obtained from the App Store Server API, an App Store Server Notification, or from a device
* @see <a href="https://developer.apple.com/documentation/appstoreserverapi/jwsrenewalinfo">JWSRenewalInfo</a>
*
* @param signedRenewalInfo The signedRenewalInfo field
* @return The decoded renewal info after verification
Expand All @@ -95,6 +97,7 @@ public JWSRenewalInfoDecodedPayload verifyAndDecodeRenewalInfo(String signedRene

/**
* Verifies and decodes an App Store Server Notification signedPayload
* @see <a href="https://developer.apple.com/documentation/appstoreservernotifications/signedpayload">signedPayload</a>
*
* @param signedPayload The payload received by your server
* @return The decoded payload after verification
Expand Down Expand Up @@ -142,6 +145,8 @@ protected void verifyNotification(String bundleId, Long appAppleId, Environment

/**
* Verifies and decodes a signed AppTransaction
* @see <a href="https://developer.apple.com/documentation/storekit/apptransaction">AppTransaction</a>
*
* @param signedAppTransaction The signed AppTransaction
* @return The decoded AppTransaction after validation
* @throws VerificationException Thrown if the data could not be verified
Expand Down

0 comments on commit 0913e43

Please sign in to comment.