Class NewSubmissionRequest
-
- All Implemented Interfaces:
public final class NewSubmissionRequestData that you provide when starting a submission to the notary service.
https://developer.apple.com/documentation/notaryapi/newsubmissionrequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classNewSubmissionRequest.NotificationsA notification that the notary service sends you when notarization finishes.
https://developer.apple.com/documentation/notaryapi/newsubmissionrequest/notifications
-
Field Summary
Fields Modifier and Type Field Description private final Stringsha256private final StringsubmissionNameprivate final List<NewSubmissionRequest.Notifications>notifications
-
Constructor Summary
Constructors Constructor Description NewSubmissionRequest(String sha256, String submissionName, List<NewSubmissionRequest.Notifications> notifications)
-
Method Summary
Modifier and Type Method Description final StringgetSha256()A cryptographic hash of the software that you want to notarize, computed using Secure Hashing Algorithm 2 (SHA-2) with a 256-bit digest. final StringgetSubmissionName()The name of the file that you plan to submit. final List<NewSubmissionRequest.Notifications>getNotifications()An optional array of notifications that you want to receive when notarization finishes. -
-
Constructor Detail
-
NewSubmissionRequest
NewSubmissionRequest(String sha256, String submissionName, List<NewSubmissionRequest.Notifications> notifications)
-
-
Method Detail
-
getSha256
final String getSha256()
A cryptographic hash of the software that you want to notarize, computed using Secure Hashing Algorithm 2 (SHA-2) with a 256-bit digest. Supply the hash as a string of 64 hexadecimal digits. You must compute the hash from the exact version of the software that you plan to upload to Amazon S3.
Value: /[A-Fa-f0-9]{64}/
-
getSubmissionName
final String getSubmissionName()
The name of the file that you plan to submit. The service includes this name in its responses when you ask for the status of a submission, get a list of previous submissions, or get a log file corresponding to a submission. The file name doesn’t have to be unique among all your submissions, but making it so might help you to distinguish among submissions in service responses.
-
getNotifications
final List<NewSubmissionRequest.Notifications> getNotifications()
An optional array of notifications that you want to receive when notarization finishes. Omit this key if you don’t need a notification.
-
-
-
-