| Modifier and Type | Class and Description |
|---|---|
| private static record | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private final Set | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final Map | |
| private static final int | |
| pack-priv static final byte[] | MAGIC
The "magic" bytes at the start of an OpenSSH binary KRL. |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private static final int | |
| private final Set | |
| private final Set |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private OpenSshBinaryKrl. | |
| private static long | |
| private static long | |
| private OpenSshBinaryKrl. | |
| pack-priv boolean | |
| private boolean | |
| pack-priv static OpenSshBinaryKrl | Returns: a newOpenSshBinaryKrl.InputStream to read fromwhether the magicSkipped)MAGIC bytes at the beginning have already
been skippedLoads a binary KRL from the given stream. |
| private static OpenSshBinaryKrl | |
| private static void | readBlobs(String sectionName, Set<OpenSshBinaryKrl.
|
| private static void | readCertificates(Map<OpenSshBinaryKrl.
|
| private static void | |
| private static void | |
| private static void | |
| private static void |
| blobs | back to summary |
|---|---|
| private final Set<OpenSshBinaryKrl. | |
| CERT_EXTENSIONS | back to summary |
|---|---|
| private static final int CERT_EXTENSIONS | |
| CERT_KEY_IDS | back to summary |
|---|---|
| private static final int CERT_KEY_IDS | |
| CERT_SERIAL_BITS | back to summary |
|---|---|
| private static final int CERT_SERIAL_BITS | |
| CERT_SERIAL_LIST | back to summary |
|---|---|
| private static final int CERT_SERIAL_LIST | |
| CERT_SERIAL_RANGES | back to summary |
|---|---|
| private static final int CERT_SERIAL_RANGES | |
| certificates | back to summary |
|---|---|
| private final Map<OpenSshBinaryKrl. | |
| FORMAT_VERSION | back to summary |
|---|---|
| private static final int FORMAT_VERSION | |
| MAGIC | back to summary |
|---|---|
| pack-priv static final byte[] MAGIC The "magic" bytes at the start of an OpenSSH binary KRL. | |
| SECTION_CERTIFICATES | back to summary |
|---|---|
| private static final int SECTION_CERTIFICATES | |
| SECTION_EXTENSION | back to summary |
|---|---|
| private static final int SECTION_EXTENSION | |
| SECTION_KEY | back to summary |
|---|---|
| private static final int SECTION_KEY | |
| SECTION_SHA1 | back to summary |
|---|---|
| private static final int SECTION_SHA1 | |
| SECTION_SHA256 | back to summary |
|---|---|
| private static final int SECTION_SHA256 | |
| SECTION_SIGNATURE | back to summary |
|---|---|
| private static final int SECTION_SIGNATURE | |
| sha1 | back to summary |
|---|---|
| private final Set<OpenSshBinaryKrl. | |
| sha256 | back to summary |
|---|---|
| private final Set<OpenSshBinaryKrl. | |
| OpenSshBinaryKrl | back to summary |
|---|---|
| private OpenSshBinaryKrl() | |
| blob | back to summary |
|---|---|
| private OpenSshBinaryKrl. | |
| getLong | back to summary |
|---|---|
| private static long getLong(InputStream in) throws IOException | |
| getUInt | back to summary |
|---|---|
| private static long getUInt(InputStream in) throws IOException | |
| hash | back to summary |
|---|---|
| private OpenSshBinaryKrl. | |
| isRevoked | back to summary |
|---|---|
| pack-priv boolean isRevoked(PublicKey key) Tells whether the given key has been revoked. | |
| isRevoked | back to summary |
|---|---|
| private boolean isRevoked(OpenSshCertificate certificate, OpenSshBinaryKrl. | |
| load | back to summary |
|---|---|
| pack-priv static OpenSshBinaryKrl load(InputStream in, boolean magicSkipped) throws IOException Loads a binary KRL from the given stream.
| |
| load | back to summary |
|---|---|
| private static OpenSshBinaryKrl load(InputStream in) throws IOException | |
| readBlobs | back to summary |
|---|---|
| private static void readBlobs(String sectionName, Set<OpenSshBinaryKrl. | |
| readCertificates | back to summary |
|---|---|
| private static void readCertificates(Map<OpenSshBinaryKrl. | |
| readIds | back to summary |
|---|---|
| private static void readIds(Set<String> ids, InputStream in, long subLength) throws IOException | |
| readSerialBitSet | back to summary |
|---|---|
| private static void readSerialBitSet(SerialRangeSet set, InputStream in, long subLength) throws IOException | |
| readSerials | back to summary |
|---|---|
| private static void readSerials(SerialRangeSet set, InputStream in, long length, boolean ranges) throws IOException | |
| skipHeader | back to summary |
|---|---|
| private static void skipHeader(InputStream in) throws IOException | |
Map or Set.
equals(Object) and hashCode() are based on the content.
| Modifier and Type | Field and Description |
|---|---|
| private final byte[] |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public final boolean | equals(Object
the reference object with which to compare. any)Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| blob | back to summary |
|---|---|
| private final byte[] blob Record Component accessed by blob(). the array to wrap | |
| Blob | back to summary |
|---|---|
| private Blob(byte[] blob) | |
| blob | back to summary |
|---|---|
| public byte[] blob() Record Component getter of blob.
| |
| equals | back to summary |
|---|---|
| public final boolean equals(Object any) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Set | |
| pack-priv final SerialRangeSet |
| Access | Constructor and Description |
|---|---|
| private |
| keyIds | back to summary |
|---|---|
| pack-priv final Set<String> keyIds | |
| ranges | back to summary |
|---|---|
| pack-priv final SerialRangeSet ranges | |
| CertificateRevocation | back to summary |
|---|---|
| private CertificateRevocation() | |