Documentation
¶
Overview ¶
Code generated by cmd/cgo; DO NOT EDIT. Copyright (c) Ultraviolet SPDX-License-Identifier: Apache-2.0
Index ¶
- Constants
- func DialTLSClient(hostname string, port int) (net.Conn, error)
- func Listen(addr string, cert []byte, key []byte) (net.Listener, error)
- type ATLSConn
- func (c *ATLSConn) Close() error
- func (c *ATLSConn) LocalAddr() net.Addr
- func (c *ATLSConn) Read(b []byte) (int, error)
- func (c *ATLSConn) RemoteAddr() net.Addr
- func (c *ATLSConn) SetDeadline(t time.Time) error
- func (c *ATLSConn) SetReadDeadline(t time.Time) error
- func (c *ATLSConn) SetWriteDeadline(t time.Time) error
- func (c *ATLSConn) Write(b []byte) (int, error)
- type ATLSServerListener
- type FetchAttestation
- type ValidationVerification
Constants ¶
View Source
const ( NoTee int = iota AmdSevSnp )
View Source
const ( NO_ERROR = 0 ERROR_ZERO_RETURN = 6 ERROR_WANT_READ = 2 ERROR_WANT_WRITE = 3 ERROR_SYSCALL = 5 ERROR_SSL = 1 )
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ATLSConn ¶
type ATLSConn struct {
// contains filtered or unexported fields
}
func (*ATLSConn) RemoteAddr ¶
type ATLSServerListener ¶
type ATLSServerListener struct {
// contains filtered or unexported fields
}
func (*ATLSServerListener) Accept ¶
func (l *ATLSServerListener) Accept() (net.Conn, error)
accept implements the Accept method in the [Listener] interface; it waits for the next call and returns a generic [Conn].
func (*ATLSServerListener) Addr ¶
func (l *ATLSServerListener) Addr() net.Addr
addr returns the listener's network address, a [*TCPAddr]. the Addr returned is shared by all invocations of Addr, so do not modify it.
func (*ATLSServerListener) Close ¶
func (l *ATLSServerListener) Close() error
close stops listening on the TCP address. already Accepted connections are not closed.
type FetchAttestation ¶
type ValidationVerification ¶
Click to show internal directories.
Click to hide internal directories.