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
SecurityInfotype based on the providedObjectIdentifier.Declaration
Swift
internal static func decode(from oid: ObjectIdentifier) -> SecurityInfo.Type?Parameters
oidThe
ObjectIdentifierfor which to determine theSecurityInfotype.Return Value
The
SecurityInfotype associated with the providedObjectIdentifier, ornilif no matching type is found.
View on GitHub
SecurityInfoDecoder Class Reference