• Adam Langley's avatar
    crypto: add Signer · 7f2e68e9
    Adam Langley authored
    Signer is an interface to support opaque private keys.
    These keys typically result from being kept in special hardware
    (i.e. a TPM) although sometimes operating systems provide a
    similar interface using process isolation for security rather
    than hardware boundaries.
    
    This changes provides interfaces for representing them and
    alters crypto/tls so that client certificates can use
    opaque keys.
    
    LGTM=bradfitz
    R=bradfitz
    CC=golang-codereviews, jdeprez
    https://golang.org/cl/114680043
    7f2e68e9
rsa.go 15.4 KB