public class CSRCreateRequest extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
CSRCreateRequest.Attribute
Attribute.
|
Constructor and Description |
---|
CSRCreateRequest(String description,
boolean isTemporal,
List<CSRCreateRequest.Attribute> subject,
String algorithm,
int keySize)
Instantiates a new CSR create request.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Gets algorithm.
|
String |
getDescription()
Gets description
|
int |
getKeySize()
Gets keySize.
|
List<CSRCreateRequest.Attribute> |
getSubject()
Gets subject.
|
boolean |
isTemporal()
Gets isTemporal.
|
public CSRCreateRequest(String description, boolean isTemporal, List<CSRCreateRequest.Attribute> subject, String algorithm, int keySize)
description
- the descriptionisTemporal
- the is temporalsubject
- the subjectalgorithm
- the algorithmkeySize
- the key sizepublic boolean isTemporal()
Whether or not the CSR is temporal
public List<CSRCreateRequest.Attribute> getSubject()
The list of attributes of the CSR request. X509 field name: https://tools.ietf.org/html/rfc5280#section-4.1
List
of CSRCreateRequest.Attribute
the subjectpublic String getAlgorithm()
The private key algorithm. Options are RSA or DSA. Default is RSA. Note: SSL VPN-Plus supports RSA certificates only
String
the algorithmpublic int getKeySize()
The key size in bits. The default and minimum is 2048 bits
Copyright © 2023 iland Internet Solutions, Corp. All rights reserved.