| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static String | Returns: null if the certificate is valid at the given instant;
otherwise a descriptive messageOpenSshCertificate to checkInstant to checkChecks whether a certificate is valid at a given time. |
| private static byte[] | |
| pack-priv static String | Returns: null if the certificate is valid; otherwise a descriptive
messageOpenSshCertificate to verifyInstant to check whether the certificate is valid at
that time; maybe null, in which case the valid-time
check is skipped.Verifies a certificate: checks that it is a user certificate and has a valid signature, and if a time is given, that the certificate is valid at that time. |
| pack-priv static String | Returns: null if the signature is valid; otherwise a descriptive
messageOpenSshCertificate to verifyVerifies the signature on a certificate. |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| SshCertificateUtils | back to summary |
|---|---|
| pack-priv SshCertificateUtils() | |
| checkExpiration | back to summary |
|---|---|
| pack-priv static String checkExpiration(OpenSshCertificate certificate, Instant signatureTime) Checks whether a certificate is valid at a given time.
| |
| getBlob | back to summary |
|---|---|
| private static byte[] getBlob(OpenSshCertificate certificate) | |
| verify | back to summary |
|---|---|
| pack-priv static String verify(OpenSshCertificate certificate, Instant signatureTime) Verifies a certificate: checks that it is a user certificate and has a valid signature, and if a time is given, that the certificate is valid at that time.
| |
| verifySignature | back to summary |
|---|---|
| pack-priv static String verifySignature(OpenSshCertificate certificate) Verifies the signature on a certificate.
| |