| Modifier and Type | Field and Description |
|---|---|
| private PublicKey | |
| private PublicKey | |
| private List | |
| private List | |
| private String | |
| private String | |
| private byte[] | |
| private byte[] | |
| private Collection | |
| private String | |
| private long | |
| private static final long | |
| private byte[] | |
| private int | |
| private long | |
| private long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String | getAlgorithm()
Implements java. Returns the standard algorithm name for this key. |
| public PublicKey | getCaPubKey()
Implements org. Retrieves the CA public key of this certificate. |
| public PublicKey | getCertPubKey()
Implements org. Retrieves the certified public key. |
| public List | getCriticalOptions()
Implements org. Retrieves the critical options set in the certificate. |
| public byte[] | getEncoded()
Implements java. Returns the key in its primary encoding format, or |
| public List | getExtensions()
Implements org. Retrieves the extensions set in the certificate. |
| public String | getFormat()
Implements java. Returns the name of the primary encoding format of this key,
or |
| public String | getId()
Implements org. Retrieves a free-form text set by the CA when the certificate was generated; intended to identify the identity principal in log message. |
| public String | getKeyType()
Implements org. Retrieves the SSH key type. |
| public byte[] | getMessage()
Implements org. Retrieves the raw byte content of the certificate, minus the signature. |
| public byte[] | getNonce()
Implements org. Retrieves the nonce of this certificate. |
| public Collection | getPrincipals()
Implements org. Retrieves the principals mentioned in the certificate. |
| public String | getRawKeyType()
Implements org. Retrieves the raw SSH key type of this certificate. |
| public byte[] | getRawSignature()
Implements org. Retrieves the raw signature bytes, without the signature algorithm. |
| public String | getReserved()
Implements org. Retrieves the "reserved" field of the certificate. |
| public long | getSerial()
Implements org. Retrieves the serial number of this certificate. |
| public byte[] | getSignature()
Implements org. Retrieves the signature of the certificate, including the signature algorithm. |
| public String | getSignatureAlgorithm()
Implements org. Retrieves the signature algorithm used for the signature. |
| public OpenSshCertificate. | getType()
Implements org. Retrieves the type of certificate. |
| public long | getValidAfter()
Implements org. Retrieves the time in number of seconds since the |
| public long | getValidBefore()
Implements org. Retrieves the time in number of seconds since the |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | setValidAfter(Instant
Instant to use for validAfterIf null, uses |
| public void | |
| public void | setValidBefore(Instant
Instant to use for validBeforeIf null, uses |
| private static String | |
| public String |
| caPubKey | back to summary |
|---|---|
| private PublicKey caPubKey | |
| certificatePublicKey | back to summary |
|---|---|
| private PublicKey certificatePublicKey | |
| criticalOptions | back to summary |
|---|---|
| private List<OpenSshCertificate. | |
| extensions | back to summary |
|---|---|
| private List<OpenSshCertificate. | |
| id | back to summary |
|---|---|
| private String id | |
| keyType | back to summary |
|---|---|
| private String keyType | |
| message | back to summary |
|---|---|
| private byte[] message | |
| nonce | back to summary |
|---|---|
| private byte[] nonce | |
| principals | back to summary |
|---|---|
| private Collection<String> principals | |
| reserved | back to summary |
|---|---|
| private String reserved | |
| serial | back to summary |
|---|---|
| private long serial | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID Hides java. | |
| signature | back to summary |
|---|---|
| private byte[] signature | |
| type | back to summary |
|---|---|
| private int type | |
| validAfter | back to summary |
|---|---|
| private long validAfter | |
| validBefore | back to summary |
|---|---|
| private long validBefore | |
| OpenSshCertificateImpl | back to summary |
|---|---|
| public OpenSshCertificateImpl() | |
| getAlgorithm | back to summary |
|---|---|
| public String getAlgorithm() Implements java. Doc from java. Returns the standard algorithm name for this key. For example, "DSA" would indicate that this key is a DSA key. See the key related sections (KeyFactory, KeyGenerator, KeyPairGenerator, and SecretKeyFactory) in the Java Security Standard Algorithm Names Specification for information about standard key algorithm names. | |
| getCaPubKey | back to summary |
|---|---|
| public PublicKey getCaPubKey() Implements org. Doc from org. Retrieves the CA public key of this certificate. | |
| getCertPubKey | back to summary |
|---|---|
| public PublicKey getCertPubKey() Implements org. Doc from org. Retrieves the certified public key. | |
| getCriticalOptions | back to summary |
|---|---|
| public List Implements org. Doc from org. Retrieves the critical options set in the certificate.
| |
| getEncoded | back to summary |
|---|---|
| public byte[] getEncoded() Implements java. Doc from java. Returns the key in its primary encoding format, or
| |
| getExtensions | back to summary |
|---|---|
| public List Implements org. Doc from org. Retrieves the extensions set in the certificate.
| |
| getFormat | back to summary |
|---|---|
| public String getFormat() Implements java. Doc from java. Returns the name of the primary encoding format of this key,
or | |
| getId | back to summary |
|---|---|
| public String getId() Implements org. Doc from org. Retrieves a free-form text set by the CA when the certificate was generated; intended to identify the identity principal in log message. | |
| getKeyType | back to summary |
|---|---|
| public String getKeyType() Implements org. Doc from org. Retrieves the SSH key type. | |
| getMessage | back to summary |
|---|---|
| public byte[] getMessage() Implements org. Doc from org. Retrieves the raw byte content of the certificate, minus the signature. This is the data that was signed.
| |
| getNonce | back to summary |
|---|---|
| public byte[] getNonce() Implements org. Doc from org. Retrieves the nonce of this certificate.
| |
| getPrincipals | back to summary |
|---|---|
| public Collection Implements org. Doc from org. Retrieves the principals mentioned in the certificate.
| |
| getRawKeyType | back to summary |
|---|---|
| public String getRawKeyType() Implements org. Doc from org. Retrieves the raw SSH key type of this certificate.
| |
| getRawSignature | back to summary |
|---|---|
| public byte[] getRawSignature() Implements org. Doc from org. Retrieves the raw signature bytes, without the signature algorithm.
| |
| getReserved | back to summary |
|---|---|
| public String getReserved() Implements org. Doc from org. Retrieves the "reserved" field of the certificate. OpenSSH currently doesn't use it and ignores it. | |
| getSerial | back to summary |
|---|---|
| public long getSerial() Implements org. Doc from org. Retrieves the serial number of this certificate.
| |
| getSignature | back to summary |
|---|---|
| public byte[] getSignature() Implements org. Doc from org. Retrieves the signature of the certificate, including the signature algorithm.
| |
| getSignatureAlgorithm | back to summary |
|---|---|
| public String getSignatureAlgorithm() Implements org. Doc from org. Retrieves the signature algorithm used for the signature. | |
| getType | back to summary |
|---|---|
| public OpenSshCertificate. Implements org. Doc from org. Retrieves the type of certificate.
| |
| getValidAfter | back to summary |
|---|---|
| public long getValidAfter() Implements org. Doc from org. Retrieves the time in number of seconds since the
| |
| getValidBefore | back to summary |
|---|---|
| public long getValidBefore() Implements org. Doc from org. Retrieves the time in number of seconds since the
| |
| setCaPubKey | back to summary |
|---|---|
| public void setCaPubKey(PublicKey caPubKey) | |
| setCertPubKey | back to summary |
|---|---|
| public void setCertPubKey(PublicKey certificatePublicKey) | |
| setCriticalOptions | back to summary |
|---|---|
| public void setCriticalOptions(List<OpenSshCertificate. | |
| setExtensions | back to summary |
|---|---|
| public void setExtensions(List<OpenSshCertificate. | |
| setId | back to summary |
|---|---|
| public void setId(String id) | |
| setKeyType | back to summary |
|---|---|
| public void setKeyType(String keyType) | |
| setMessage | back to summary |
|---|---|
| public void setMessage(byte[] message) | |
| setNonce | back to summary |
|---|---|
| public void setNonce(byte[] nonce) | |
| setPrincipals | back to summary |
|---|---|
| public void setPrincipals(Collection<String> principals) | |
| setReserved | back to summary |
|---|---|
| public void setReserved(String reserved) | |
| setSerial | back to summary |
|---|---|
| public void setSerial(long serial) | |
| setSignature | back to summary |
|---|---|
| public void setSignature(byte[] signature) | |
| setType | back to summary |
|---|---|
| public void setType(OpenSshCertificate. | |
| setValidAfter | back to summary |
|---|---|
| public void setValidAfter(long validAfter) | |
| setValidAfter | back to summary |
|---|---|
| public void setValidAfter(Instant validAfter) If null, uses | |
| setValidBefore | back to summary |
|---|---|
| public void setValidBefore(long validBefore) | |
| setValidBefore | back to summary |
|---|---|
| public void setValidBefore(Instant validBefore) If null, uses | |
| toDate | back to summary |
|---|---|
| private static String toDate(long timestamp) | |
| toString | back to summary |
|---|---|
| public String toString() Overrides java. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |