/// <summary> /// Method to create the extended info for the vault. /// </summary> /// <returns>returns the object as task</returns> private VaultExtendedInfoResource CreateVaultExtendedInformation() { VaultExtendedInfoResource extendedInformation = new VaultExtendedInfoResource(); extendedInformation.IntegrityKey = Utilities.GenerateRandomKey(128); extendedInformation.Algorithm = CryptoAlgorithm.None.ToString(); this.CreateExtendedInfo(extendedInformation); return(extendedInformation); }
/// <summary> /// Method to create the extended info for the vault. /// </summary> /// <returns>returns the object as task</returns> private ResourceExtendedInformation CreateVaultExtendedInformation() { ResourceExtendedInformation extendedInformation = new ResourceExtendedInformation(); extendedInformation.Properties = new ResourceExtendedInfoProperties(); extendedInformation.Properties.IntegrityKey = Utilities.GenerateRandomKey(128); extendedInformation.Properties.Algorithm = CryptoAlgorithm.None.ToString(); ResourceExtendedInformationArgs extendedInfoArgs = new ResourceExtendedInformationArgs(); extendedInfoArgs.Properties = new ResourceExtendedInfoProperties(); extendedInfoArgs.Properties.Algorithm = extendedInformation.Properties.Algorithm; extendedInfoArgs.Properties.IntegrityKey = extendedInformation.Properties.IntegrityKey; this.CreateExtendedInfo(extendedInfoArgs); return(extendedInformation); }