Documentation ¶
Index ¶
- Variables
- type DigitallySigned
- func (*DigitallySigned) Descriptor() ([]byte, []int)
- func (m *DigitallySigned) GetHashAlgorithm() DigitallySigned_HashAlgorithm
- func (m *DigitallySigned) GetSignature() []byte
- func (m *DigitallySigned) GetSignatureAlgorithm() DigitallySigned_SignatureAlgorithm
- func (*DigitallySigned) ProtoMessage()
- func (m *DigitallySigned) Reset()
- func (m *DigitallySigned) String() string
- func (m *DigitallySigned) XXX_DiscardUnknown()
- func (m *DigitallySigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DigitallySigned) XXX_Merge(src proto.Message)
- func (m *DigitallySigned) XXX_Size() int
- func (m *DigitallySigned) XXX_Unmarshal(b []byte) error
- type DigitallySigned_HashAlgorithm
- type DigitallySigned_SignatureAlgorithm
Constants ¶
This section is empty.
Variables ¶
View Source
var DigitallySigned_HashAlgorithm_name = map[int32]string{
0: "NONE",
4: "SHA256",
}
View Source
var DigitallySigned_HashAlgorithm_value = map[string]int32{
"NONE": 0,
"SHA256": 4,
}
View Source
var DigitallySigned_SignatureAlgorithm_name = map[int32]string{
0: "ANONYMOUS",
1: "RSA",
3: "ECDSA",
7: "ED25519",
}
View Source
var DigitallySigned_SignatureAlgorithm_value = map[string]int32{
"ANONYMOUS": 0,
"RSA": 1,
"ECDSA": 3,
"ED25519": 7,
}
Functions ¶
This section is empty.
Types ¶
type DigitallySigned ¶
type DigitallySigned struct { // hash_algorithm contains the hash algorithm used. HashAlgorithm DigitallySigned_HashAlgorithm `` /* 142-byte string literal not displayed */ // sig_algorithm contains the signing algorithm used. SignatureAlgorithm DigitallySigned_SignatureAlgorithm `` /* 162-byte string literal not displayed */ // signature contains the object signature. Signature []byte `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Protocol buffer encoding of the TLS DigitallySigned type, from RFC 5246 §4.7.
func (*DigitallySigned) Descriptor ¶
func (*DigitallySigned) Descriptor() ([]byte, []int)
func (*DigitallySigned) GetHashAlgorithm ¶
func (m *DigitallySigned) GetHashAlgorithm() DigitallySigned_HashAlgorithm
func (*DigitallySigned) GetSignature ¶
func (m *DigitallySigned) GetSignature() []byte
func (*DigitallySigned) GetSignatureAlgorithm ¶
func (m *DigitallySigned) GetSignatureAlgorithm() DigitallySigned_SignatureAlgorithm
func (*DigitallySigned) ProtoMessage ¶
func (*DigitallySigned) ProtoMessage()
func (*DigitallySigned) Reset ¶
func (m *DigitallySigned) Reset()
func (*DigitallySigned) String ¶
func (m *DigitallySigned) String() string
func (*DigitallySigned) XXX_DiscardUnknown ¶ added in v1.2.0
func (m *DigitallySigned) XXX_DiscardUnknown()
func (*DigitallySigned) XXX_Marshal ¶ added in v1.2.0
func (m *DigitallySigned) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DigitallySigned) XXX_Merge ¶ added in v1.2.0
func (m *DigitallySigned) XXX_Merge(src proto.Message)
func (*DigitallySigned) XXX_Size ¶ added in v1.2.0
func (m *DigitallySigned) XXX_Size() int
func (*DigitallySigned) XXX_Unmarshal ¶ added in v1.2.0
func (m *DigitallySigned) XXX_Unmarshal(b []byte) error
type DigitallySigned_HashAlgorithm ¶
type DigitallySigned_HashAlgorithm int32
HashAlgorithm defines the approved methods for object hashing.
Supported hash algorithms. The numbering space is the same as for TLS, given in RFC 5246 s7.4.1.4.1 and at: http://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-18
const ( // No hash algorithm is used. DigitallySigned_NONE DigitallySigned_HashAlgorithm = 0 // SHA256 is used. DigitallySigned_SHA256 DigitallySigned_HashAlgorithm = 4 )
func (DigitallySigned_HashAlgorithm) EnumDescriptor ¶
func (DigitallySigned_HashAlgorithm) EnumDescriptor() ([]byte, []int)
func (DigitallySigned_HashAlgorithm) String ¶
func (x DigitallySigned_HashAlgorithm) String() string
type DigitallySigned_SignatureAlgorithm ¶
type DigitallySigned_SignatureAlgorithm int32
SignatureAlgorithm defines the algorithm used to sign the object.
Supported signature algorithms. The numbering space is the same as for TLS, given in RFC 5246 s7.4.1.4.1 and at: http://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml#tls-parameters-16
const ( // Anonymous signature scheme. DigitallySigned_ANONYMOUS DigitallySigned_SignatureAlgorithm = 0 // RSA signature scheme. DigitallySigned_RSA DigitallySigned_SignatureAlgorithm = 1 // ECDSA signature scheme. DigitallySigned_ECDSA DigitallySigned_SignatureAlgorithm = 3 // Ed25519 signature scheme. DigitallySigned_ED25519 DigitallySigned_SignatureAlgorithm = 7 )
func (DigitallySigned_SignatureAlgorithm) EnumDescriptor ¶
func (DigitallySigned_SignatureAlgorithm) EnumDescriptor() ([]byte, []int)
func (DigitallySigned_SignatureAlgorithm) String ¶
func (x DigitallySigned_SignatureAlgorithm) String() string
Click to show internal directories.
Click to hide internal directories.