atls: make client cfg reusable

This commit is contained in:
Thomas Tendyck 2022-06-02 17:22:11 +02:00 committed by Thomas Tendyck
parent 989c128fa6
commit e9916a7d3a
3 changed files with 91 additions and 46 deletions

View file

@ -4,9 +4,6 @@ import (
"encoding/asn1"
)
// ATLSNonce is the ASN.1 object identifier used to transmit a nonce from server to client.
var ATLSNonce = asn1.ObjectIdentifier{1, 3, 9900, 0, 1}
// Getter returns an ASN.1 Object Identifier.
type Getter interface {
OID() asn1.ObjectIdentifier