Documentation ¶
Index ¶
- func CertPoolFromPEM(pemCerts []byte) (*x509.CertPool, error)
- func NewDigest(algorithm Algorithm, digest string) digestImpl
- func NewUnknownAlgorithm(name string) unknownAlgorithmImpl
- type Algorithm
- type ArchiveDigestFilePathReader
- type Digest
- type MultipleDigest
- func MustNewMultipleDigest(digests ...Digest) MultipleDigest
- func MustParseMultipleDigest(json string) MultipleDigest
- func NewMultipleDigest(stream io.ReadSeeker, algos []Algorithm) (MultipleDigest, error)
- func NewMultipleDigestFromPath(filePath string, fs boshsys.FileSystem, algos []Algorithm) (MultipleDigest, error)
- func ParseMultipleDigest(json string) (MultipleDigest, error)
- func (m MultipleDigest) Algorithm() Algorithm
- func (m *MultipleDigest) DigestFor(algo Algorithm) (Digest, error)
- func (m MultipleDigest) MarshalJSON() ([]byte, error)
- func (m MultipleDigest) String() string
- func (m *MultipleDigest) UnmarshalJSON(data []byte) error
- func (m MultipleDigest) Verify(reader io.Reader) error
- func (m MultipleDigest) VerifyFilePath(filePath string, fs boshsys.FileSystem) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CertPoolFromPEM ¶ added in v0.1.0
func NewUnknownAlgorithm ¶ added in v0.0.10
func NewUnknownAlgorithm(name string) unknownAlgorithmImpl
Types ¶
type ArchiveDigestFilePathReader ¶ added in v0.0.10
type MultipleDigest ¶ added in v0.0.4
type MultipleDigest struct {
// contains filtered or unexported fields
}
func MustNewMultipleDigest ¶ added in v0.0.10
func MustNewMultipleDigest(digests ...Digest) MultipleDigest
func MustParseMultipleDigest ¶ added in v0.0.10
func MustParseMultipleDigest(json string) MultipleDigest
func NewMultipleDigest ¶
func NewMultipleDigest(stream io.ReadSeeker, algos []Algorithm) (MultipleDigest, error)
func NewMultipleDigestFromPath ¶ added in v0.0.10
func NewMultipleDigestFromPath(filePath string, fs boshsys.FileSystem, algos []Algorithm) (MultipleDigest, error)
func ParseMultipleDigest ¶ added in v0.0.10
func ParseMultipleDigest(json string) (MultipleDigest, error)
func (MultipleDigest) Algorithm ¶ added in v0.0.10
func (m MultipleDigest) Algorithm() Algorithm
func (*MultipleDigest) DigestFor ¶ added in v0.0.10
func (m *MultipleDigest) DigestFor(algo Algorithm) (Digest, error)
func (MultipleDigest) MarshalJSON ¶ added in v0.0.10
func (m MultipleDigest) MarshalJSON() ([]byte, error)
func (MultipleDigest) String ¶ added in v0.0.10
func (m MultipleDigest) String() string
func (*MultipleDigest) UnmarshalJSON ¶ added in v0.0.10
func (m *MultipleDigest) UnmarshalJSON(data []byte) error
func (MultipleDigest) Verify ¶ added in v0.0.10
func (m MultipleDigest) Verify(reader io.Reader) error
func (MultipleDigest) VerifyFilePath ¶ added in v0.0.10
func (m MultipleDigest) VerifyFilePath(filePath string, fs boshsys.FileSystem) error
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.