public class iOSApplicationUploadForm extends Object
| Constructor and Description |
|---|
iOSApplicationUploadForm() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getCertificate() |
String |
getDescription() |
String |
getName() |
String |
getPassphrase() |
Boolean |
getProduction() |
boolean |
isCertificatePassphraseValid()
Validates whether the certificate/passphrase pair
is valid, and does not contain any bogus content.
|
void |
setCertificate(byte[] data)
Reads the certificate file upload from the multipart request.
|
void |
setDescription(String description)
Reads the description field from the multipart request.
|
void |
setName(String name)
Reads the name field from the multipart request.
|
void |
setPassphrase(String passphrase)
Reads the passphrase field from the multipart request.
|
void |
setProduction(Boolean production)
Reads the boolean flag from the multipart request,
which indicates if the iOS variant is a 'production' variant or not.
|
public Boolean getProduction()
public void setProduction(Boolean production)
iOSVariant model differentiates between production and test
in order to establish connections to different APNs Servers.production - flag if producution or not.public String getName()
public void setName(String name)
name - the name valuepublic String getDescription()
public void setDescription(String description)
description - the description valuepublic String getPassphrase()
public void setPassphrase(String passphrase)
passphrase - the passphrase valuepublic byte[] getCertificate()
public void setCertificate(byte[] data)
data - the cert value@AssertTrue(message="the provided certificate passphrase does not match with the uploaded certificate") public boolean isCertificatePassphraseValid()
Copyright © 2019 JBoss by Red Hat. All rights reserved.