KnownOIDs

Holds known OIDs and their descriptions. If indispensable-oids is part of your classpath, call KnownOIDs.describeAll() to add descriptions for all known OID constants shipped with the module.

Properties

Link copied to clipboard
Link copied to clipboard
open override val keys: MutableSet<ObjectIdentifier>
Link copied to clipboard
open override val size: Int
Link copied to clipboard
open override val values: MutableCollection<String>

Functions

Link copied to clipboard
open override fun clear()
Link copied to clipboard
open override fun containsKey(key: ObjectIdentifier): Boolean
Link copied to clipboard
open override fun containsValue(value: String): Boolean
Link copied to clipboard
open operator override fun get(key: ObjectIdentifier): String?

Returns a human-readable description of key (if known and loaded). If indispensable-oids is part of your classpath, call KnownOIDs.describeAll() to add descriptions for all known OID constants shipped with the module.

Link copied to clipboard
open override fun isEmpty(): Boolean
Link copied to clipboard
open override fun put(key: ObjectIdentifier, value: String): String?

Adds or overrides a description for key. This is useful for communicating context to humans, especially for (but not limited to) debugging. This method is neither thread-safe nor coroutine-safe! Unguarded concurrent calls can cause loss of descriptions. OID descriptions need to live outside the actual OID objects, because this semantic enhancement will never be serialized and thus cannot be deserialized.

Link copied to clipboard
open override fun putAll(from: Map<out ObjectIdentifier, String>)
Link copied to clipboard
open override fun remove(key: ObjectIdentifier): String?