| Modifier and Type | Field and Description |
|---|---|
| protected List | |
| protected List | |
| protected String | |
| protected byte[] | |
| protected Collection | |
| protected PublicKey | |
| protected long | |
| protected static final Map | |
| protected final OpenSshCertificate. | |
| protected long | |
| protected long |
| Access | Constructor and Description |
|---|---|
| protected |
| criticalOptions | back to summary |
|---|---|
| protected List<OpenSshCertificate. | |
| extensions | back to summary |
|---|---|
| protected List<OpenSshCertificate. | |
| id | back to summary |
|---|---|
| protected String id | |
| nonce | back to summary |
|---|---|
| protected byte[] nonce | |
| principals | back to summary |
|---|---|
| protected Collection<String> principals | |
| publicKey | back to summary |
|---|---|
| protected PublicKey publicKey | |
| serial | back to summary |
|---|---|
| protected long serial | |
| SIGNATURE_ALGORITHM_MAP | back to summary |
|---|---|
| protected static final Map<String, String> SIGNATURE_ALGORITHM_MAP | |
| type | back to summary |
|---|---|
| protected final OpenSshCertificate. | |
| validAfter | back to summary |
|---|---|
| protected long validAfter | |
| validBefore | back to summary |
|---|---|
| protected long validBefore | |
| OpenSshCertificateBuilder | back to summary |
|---|---|
| protected OpenSshCertificateBuilder(OpenSshCertificate. | |
| criticalOptions | back to summary |
|---|---|
| public OpenSshCertificateBuilder criticalOptions(List<OpenSshCertificate. | |
| extensions | back to summary |
|---|---|
| public OpenSshCertificateBuilder extensions(List<OpenSshCertificate. | |
| hostCertificate | back to summary |
|---|---|
| public static OpenSshCertificateBuilder hostCertificate() | |
| id | back to summary |
|---|---|
| public OpenSshCertificateBuilder id(String id) | |
| lexicallyOrderOptions | back to summary |
|---|---|
| private List Lexically orders certificate options by name.
| |
| nonce | back to summary |
|---|---|
| public OpenSshCertificateBuilder nonce(byte[] nonce) | |
| principals | back to summary |
|---|---|
| public OpenSshCertificateBuilder principals(Collection<String> principals) | |
| publicKey | back to summary |
|---|---|
| public OpenSshCertificateBuilder publicKey(PublicKey publicKey) | |
| serial | back to summary |
|---|---|
| public OpenSshCertificateBuilder serial(long serial) | |
| sign | back to summary |
|---|---|
| public OpenSshCertificate sign(KeyPair caKeypair) throws Exception Creates a certificate signed with the given CA key. For RSA keys "rsa-sha2-512" is used for the signature.
| |
| sign | back to summary |
|---|---|
| public OpenSshCertificate sign(KeyPair caKeypair, String signatureAlgorithm) throws Exception Creates a certificate signed with the given CA key using the specified signature algorithm. If a signature
algorithm is given, it must be appropriate for the CA key type, otherwise an exception is thrown. If
| |
| userCertificate | back to summary |
|---|---|
| public static OpenSshCertificateBuilder userCertificate() | |
| validAfter | back to summary |
|---|---|
| public OpenSshCertificateBuilder validAfter(long validAfter) | |
| validAfter | back to summary |
|---|---|
| public OpenSshCertificateBuilder validAfter(Instant validAfter) If null, uses
| |
| validate | back to summary |
|---|---|
| protected void validate() | |
| validateOptions | back to summary |
|---|---|
| private void validateOptions(List<OpenSshCertificate. Validates that there are no duplicate options.
| |
| validBefore | back to summary |
|---|---|
| public OpenSshCertificateBuilder validBefore(long validBefore) | |
| validBefore | back to summary |
|---|---|
| public OpenSshCertificateBuilder validBefore(Instant validBefore) If null, uses
| |