protected override void ProcessRecord() { this.WriteVerbose("Calculating Kerberos key."); // TODO: Using some unsupported KerberosKeyType values will result in a strange exception. var key = new KerberosKeyDataNew(this.KeyType, this.Password, this.Salt, this.Iterations); this.WriteObject(key); }
protected override void ProcessRecord() { this.WriteVerbose("Calculating Kerberos keys."); var aes256 = new KerberosKeyDataNew(KerberosKeyType.AES256_CTS_HMAC_SHA1_96, this.Password, this.Salt, this.Iterations); this.WriteObject(aes256); var aes128 = new KerberosKeyDataNew(KerberosKeyType.AES128_CTS_HMAC_SHA1_96, this.Password, this.Salt, this.Iterations); this.WriteObject(aes128); var des = new KerberosKeyDataNew(KerberosKeyType.DES_CBC_MD5, this.Password, this.Salt, this.Iterations); this.WriteObject(des); }