ZoneSign Method
Signs a zone
Namespace: ARSoft.Tools.Net.DnsAssembly: ARSoft.Tools.Net (in ARSoft.Tools.Net.dll) Version: 3.6.1+aaafdcd61f068318c11734f7b3c59c69371c0549
public Zone Sign(
List<DnsKeyRecord> keys,
DateTime inception,
DateTime expiration,
NSec3HashAlgorithm nsec3Algorithm = ,
int nsec3Iterations = 10,
byte[]? nsec3Salt = null,
bool nsec3OptOut = false,
bool updateZoneDigests = true
)
Public Function Sign (
keys As List(Of DnsKeyRecord),
inception As DateTime,
expiration As DateTime,
Optional nsec3Algorithm As NSec3HashAlgorithm = ,
Optional nsec3Iterations As Integer = 10,
Optional nsec3Salt As Byte() = Nothing,
Optional nsec3OptOut As Boolean = false,
Optional updateZoneDigests As Boolean = true
) As Zone
public:
Zone^ Sign(
List<DnsKeyRecord^>^ keys,
DateTime inception,
DateTime expiration,
NSec3HashAlgorithm nsec3Algorithm = ,
int nsec3Iterations = 10,
array<unsigned char>^ nsec3Salt = nullptr,
bool nsec3OptOut = false,
bool updateZoneDigests = true
)
member Sign :
keys : List<DnsKeyRecord> *
inception : DateTime *
expiration : DateTime *
?nsec3Algorithm : NSec3HashAlgorithm *
?nsec3Iterations : int *
?nsec3Salt : byte[] *
?nsec3OptOut : bool *
?updateZoneDigests : bool
(* Defaults:
let _nsec3Algorithm = defaultArg nsec3Algorithm
let _nsec3Iterations = defaultArg nsec3Iterations 10
let _nsec3Salt = defaultArg nsec3Salt null
let _nsec3OptOut = defaultArg nsec3OptOut false
let _updateZoneDigests = defaultArg updateZoneDigests true
*)
-> Zone
- keys ListDnsKeyRecord
- A list of keys to sign the zone
- inception DateTime
- The inception date of the signatures
- expiration DateTime
- The expiration date of the signatures
- nsec3Algorithm NSec3HashAlgorithm (Optional)
- The NSEC3 algorithm (or 0 when NSEC should be used)
- nsec3Iterations Int32 (Optional)
- The number of iterations when NSEC3 is used
- nsec3Salt Byte (Optional)
- The salt when NSEC3 is used
- nsec3OptOut Boolean (Optional)
- true, of NSEC3 OptOut should be used for delegations without DS record
- updateZoneDigests Boolean (Optional)
- true, if ZONEMD records should be updated while signing
ZoneA signed zone