SecurityInfoDecoder
internal final class SecurityInfoDecoder
SecurityInfoDecoder
is a class responsible for decoding security information based on the provided
ObjectIdentifier
. It maps specific object identifiers to their corresponding SecurityInfo
types.
-
Decode a
SecurityInfo
type based on the providedObjectIdentifier
.Declaration
Swift
internal static func decode(from oid: ObjectIdentifier) -> SecurityInfo.Type?
Parameters
oid
The
ObjectIdentifier
for which to determine theSecurityInfo
type.Return Value
The
SecurityInfo
type associated with the providedObjectIdentifier
, ornil
if no matching type is found.