Class: Google::Cloud::Domains::V1::DnsSettings::DsRecord
- Inherits:
-
Object
- Object
- Google::Cloud::Domains::V1::DnsSettings::DsRecord
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/domains/v1/domains.rb
Overview
Defines a Delegation Signer (DS) record, which is needed to enable DNSSEC for a domain. It contains a digest (hash) of a DNSKEY record that must be present in the domain's DNS zone.
Defined Under Namespace
Modules: Algorithm, DigestType
Instance Attribute Summary collapse
-
#algorithm ⇒ ::Google::Cloud::Domains::V1::DnsSettings::DsRecord::Algorithm
The algorithm used to generate the referenced DNSKEY.
-
#digest ⇒ ::String
The digest generated from the referenced DNSKEY.
-
#digest_type ⇒ ::Google::Cloud::Domains::V1::DnsSettings::DsRecord::DigestType
The hash function used to generate the digest of the referenced DNSKEY.
-
#key_tag ⇒ ::Integer
The key tag of the record.
Instance Attribute Details
#algorithm ⇒ ::Google::Cloud::Domains::V1::DnsSettings::DsRecord::Algorithm
Returns The algorithm used to generate the referenced DNSKEY.
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
# File 'proto_docs/google/cloud/domains/v1/domains.rb', line 263 class DsRecord include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # List of algorithms used to create a DNSKEY. Certain # algorithms are not supported for particular domains. module Algorithm # The algorithm is unspecified. ALGORITHM_UNSPECIFIED = 0 # RSA/MD5. Cannot be used for new deployments. RSAMD5 = 1 # Diffie-Hellman. Cannot be used for new deployments. DH = 2 # DSA/SHA1. Not recommended for new deployments. DSA = 3 # ECC. Not recommended for new deployments. ECC = 4 # RSA/SHA-1. Not recommended for new deployments. RSASHA1 = 5 # DSA-NSEC3-SHA1. Not recommended for new deployments. DSANSEC3SHA1 = 6 # RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments. RSASHA1NSEC3SHA1 = 7 # RSA/SHA-256. RSASHA256 = 8 # RSA/SHA-512. RSASHA512 = 10 # GOST R 34.10-2001. ECCGOST = 12 # ECDSA Curve P-256 with SHA-256. ECDSAP256SHA256 = 13 # ECDSA Curve P-384 with SHA-384. ECDSAP384SHA384 = 14 # Ed25519. ED25519 = 15 # Ed448. ED448 = 16 # Reserved for Indirect Keys. Cannot be used for new deployments. INDIRECT = 252 # Private algorithm. Cannot be used for new deployments. PRIVATEDNS = 253 # Private algorithm OID. Cannot be used for new deployments. PRIVATEOID = 254 end # List of hash functions that may have been used to generate a digest of a # DNSKEY. module DigestType # The DigestType is unspecified. DIGEST_TYPE_UNSPECIFIED = 0 # SHA-1. Not recommended for new deployments. SHA1 = 1 # SHA-256. SHA256 = 2 # GOST R 34.11-94. GOST3411 = 3 # SHA-384. SHA384 = 4 end end |
#digest ⇒ ::String
Returns The digest generated from the referenced DNSKEY.
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
# File 'proto_docs/google/cloud/domains/v1/domains.rb', line 263 class DsRecord include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # List of algorithms used to create a DNSKEY. Certain # algorithms are not supported for particular domains. module Algorithm # The algorithm is unspecified. ALGORITHM_UNSPECIFIED = 0 # RSA/MD5. Cannot be used for new deployments. RSAMD5 = 1 # Diffie-Hellman. Cannot be used for new deployments. DH = 2 # DSA/SHA1. Not recommended for new deployments. DSA = 3 # ECC. Not recommended for new deployments. ECC = 4 # RSA/SHA-1. Not recommended for new deployments. RSASHA1 = 5 # DSA-NSEC3-SHA1. Not recommended for new deployments. DSANSEC3SHA1 = 6 # RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments. RSASHA1NSEC3SHA1 = 7 # RSA/SHA-256. RSASHA256 = 8 # RSA/SHA-512. RSASHA512 = 10 # GOST R 34.10-2001. ECCGOST = 12 # ECDSA Curve P-256 with SHA-256. ECDSAP256SHA256 = 13 # ECDSA Curve P-384 with SHA-384. ECDSAP384SHA384 = 14 # Ed25519. ED25519 = 15 # Ed448. ED448 = 16 # Reserved for Indirect Keys. Cannot be used for new deployments. INDIRECT = 252 # Private algorithm. Cannot be used for new deployments. PRIVATEDNS = 253 # Private algorithm OID. Cannot be used for new deployments. PRIVATEOID = 254 end # List of hash functions that may have been used to generate a digest of a # DNSKEY. module DigestType # The DigestType is unspecified. DIGEST_TYPE_UNSPECIFIED = 0 # SHA-1. Not recommended for new deployments. SHA1 = 1 # SHA-256. SHA256 = 2 # GOST R 34.11-94. GOST3411 = 3 # SHA-384. SHA384 = 4 end end |
#digest_type ⇒ ::Google::Cloud::Domains::V1::DnsSettings::DsRecord::DigestType
Returns The hash function used to generate the digest of the referenced DNSKEY.
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
# File 'proto_docs/google/cloud/domains/v1/domains.rb', line 263 class DsRecord include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # List of algorithms used to create a DNSKEY. Certain # algorithms are not supported for particular domains. module Algorithm # The algorithm is unspecified. ALGORITHM_UNSPECIFIED = 0 # RSA/MD5. Cannot be used for new deployments. RSAMD5 = 1 # Diffie-Hellman. Cannot be used for new deployments. DH = 2 # DSA/SHA1. Not recommended for new deployments. DSA = 3 # ECC. Not recommended for new deployments. ECC = 4 # RSA/SHA-1. Not recommended for new deployments. RSASHA1 = 5 # DSA-NSEC3-SHA1. Not recommended for new deployments. DSANSEC3SHA1 = 6 # RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments. RSASHA1NSEC3SHA1 = 7 # RSA/SHA-256. RSASHA256 = 8 # RSA/SHA-512. RSASHA512 = 10 # GOST R 34.10-2001. ECCGOST = 12 # ECDSA Curve P-256 with SHA-256. ECDSAP256SHA256 = 13 # ECDSA Curve P-384 with SHA-384. ECDSAP384SHA384 = 14 # Ed25519. ED25519 = 15 # Ed448. ED448 = 16 # Reserved for Indirect Keys. Cannot be used for new deployments. INDIRECT = 252 # Private algorithm. Cannot be used for new deployments. PRIVATEDNS = 253 # Private algorithm OID. Cannot be used for new deployments. PRIVATEOID = 254 end # List of hash functions that may have been used to generate a digest of a # DNSKEY. module DigestType # The DigestType is unspecified. DIGEST_TYPE_UNSPECIFIED = 0 # SHA-1. Not recommended for new deployments. SHA1 = 1 # SHA-256. SHA256 = 2 # GOST R 34.11-94. GOST3411 = 3 # SHA-384. SHA384 = 4 end end |
#key_tag ⇒ ::Integer
Returns The key tag of the record. Must be set in range 0 -- 65535.
263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 |
# File 'proto_docs/google/cloud/domains/v1/domains.rb', line 263 class DsRecord include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # List of algorithms used to create a DNSKEY. Certain # algorithms are not supported for particular domains. module Algorithm # The algorithm is unspecified. ALGORITHM_UNSPECIFIED = 0 # RSA/MD5. Cannot be used for new deployments. RSAMD5 = 1 # Diffie-Hellman. Cannot be used for new deployments. DH = 2 # DSA/SHA1. Not recommended for new deployments. DSA = 3 # ECC. Not recommended for new deployments. ECC = 4 # RSA/SHA-1. Not recommended for new deployments. RSASHA1 = 5 # DSA-NSEC3-SHA1. Not recommended for new deployments. DSANSEC3SHA1 = 6 # RSA/SHA1-NSEC3-SHA1. Not recommended for new deployments. RSASHA1NSEC3SHA1 = 7 # RSA/SHA-256. RSASHA256 = 8 # RSA/SHA-512. RSASHA512 = 10 # GOST R 34.10-2001. ECCGOST = 12 # ECDSA Curve P-256 with SHA-256. ECDSAP256SHA256 = 13 # ECDSA Curve P-384 with SHA-384. ECDSAP384SHA384 = 14 # Ed25519. ED25519 = 15 # Ed448. ED448 = 16 # Reserved for Indirect Keys. Cannot be used for new deployments. INDIRECT = 252 # Private algorithm. Cannot be used for new deployments. PRIVATEDNS = 253 # Private algorithm OID. Cannot be used for new deployments. PRIVATEOID = 254 end # List of hash functions that may have been used to generate a digest of a # DNSKEY. module DigestType # The DigestType is unspecified. DIGEST_TYPE_UNSPECIFIED = 0 # SHA-1. Not recommended for new deployments. SHA1 = 1 # SHA-256. SHA256 = 2 # GOST R 34.11-94. GOST3411 = 3 # SHA-384. SHA384 = 4 end end |