public static class OpenSshCertificate.CertificateOption extends Object
[overall length][name(string)][data(string)]...
Where each Certificate Option is encoded as a name (string) and data (string). The entire name + data strings are added as bytes (which will get a length prefix).
Constructor and Description |
---|
CertificateOption(String name)
Creates a new
OpenSshCertificate.CertificateOption with a name without data. |
CertificateOption(String name,
String data)
Creates a new
OpenSshCertificate.CertificateOption with the given name and data. |
public CertificateOption(String name, String data)
OpenSshCertificate.CertificateOption
with the given name and data.name
- of the option; must be neither null
nor emptydata
- for the option; may be null
or emptypublic CertificateOption(String name)
OpenSshCertificate.CertificateOption
with a name without data.name
- of the option; must be neither null
nor emptyCopyright © 2018–2021 The Apache Software Foundation. All rights reserved.