TrustAnchorLoadProblem

Why TrustAnchors.load loaded nothing. Each value is a fact about the content or the file, never a verdict on any certificate in it.

Experimental: see ExperimentalTesseraChipApi.

Since

1.0.0

Entries

Link copied to clipboard

The path names no file that exists.

Link copied to clipboard

The file exists but its bytes could not be read: it may be a folder, or the app lacks permission.

Link copied to clipboard

The content is larger than the 16 MiB cap, so it was not read into memory, or it holds more than 10 000 PEM blocks or DER items, far more than any master list.

Link copied to clipboard

The bytes are none of the kinds this reader knows: not a master list, not a certificate, not PEM.

Link copied to clipboard

The string names a web address, not a local file. The SDK never downloads; the app fetches the file itself.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
expect val name: String
Link copied to clipboard
expect val ordinal: Int

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.