/// <summary> /// Create and initialize structure from RSAParameters /// </summary> /// <returns>Initialized structure</returns> public static BlobHeader FromRSAParameters(KeyBlobType blobType) { var blobHeader = new BlobHeader { BlobType = blobType, Version = 0x02, Reserved = 0x0000, KeyAlgorithm = AlgorithmIdentifier.CALG_RSA_KEYX }; return(blobHeader); }
/// <summary> /// Create and initialize structure from RSAParameters /// </summary> /// <returns>Initialized structure</returns> public static BlobHeader FromRSAParameters(KeyBlobType blobType) { var blobHeader = new BlobHeader { BlobType = blobType, Version = 0x02, Reserved = 0x0000, KeyAlgorithm = AlgorithmIdentifier.CALG_RSA_KEYX }; return blobHeader; }