public static KrbChecksum EncodeDelegationChecksum(DelegationInfo deleg) { return(new KrbChecksum { Type = ChecksumContainsDelegationType, Checksum = deleg.Encode() }); }
public static KrbChecksum EncodeDelegationChecksum(DelegationInfo deleg) { if (deleg == null) { throw new ArgumentNullException(nameof(deleg)); } return(new KrbChecksum { Type = ChecksumContainsDelegationType, Checksum = deleg.Encode() }); }