Discuss this help topic in SecureBlackbox Forum
This class incapsulates DNS-record.
Description
This class has two modes: creation of the new record with the new key
and parsing of the existing one.
To generate new record with new key you should perform the following sequence of operations:
- Create TElDKDNSRecord class instance.
- Set KeyGranularityNotesTestMode properties values.
- Call CreatePublicKey method with necessary parameter.
(only dkRSA is available now).
- For RSA-keys call TSBDKRSAPublicKey(ElDKDNSRecord.PublicKey).Generate method with necessary parameters.
- Call Save method and get string that can be written to the DNS-server configuration.
- Save the private key received with help of Generate method in any way.
- Delete the instance.
To generate record for the key revocation you should perform the following sequence of operations:
- Create TElDKDNSRecord class instance.
- Set KeyGranularityNotesTestMode properties values.
- Call CreatePublicKey method with necessary parameter
(only dkRSA is available now).
- For RSA-keys call TElDKDNSRecord.PublicKey.Revoke method with necessary parameters.
- Call Save method and get the string that can be written to the DNS-server configuration.
- Delete the instance.
To load DNS-record for signature verification you should perform the following sequence of operations:
- Create TElDKDNSRecord class instance.
- Call Load method passing the DNS-record as parameter.
- Verify the signature.
- Delete the instance.
Properties
Methods
Declared in
.NET:
- Namespace: SBDomainKeys
- Assembly: SecureBlackbox.MIME
VCL:Java:
- Package: SecureBlackbox.MIME.jar
C++:
Discuss this help topic in SecureBlackbox Forum