예제 #1
0
 internal static ICryptoStorage Deserialize(Stream source)
 {
     source.ThrowIfNull(nameof(source));
     return((ICryptoStorage)GenericSerializer.Deserialize(source, EnumToConstuctorMappings, FormatExceptionMessage));
 }
예제 #2
0
 internal static IKeyDerivationFunction Deserialize(Stream source)
 {
     source.ThrowIfNull(nameof(source));
     return((IKeyDerivationFunction)GenericSerializer.Deserialize(source, EnumToConstuctorMappings, FormatExceptionMessage));
 }