ProGet SDK Reference
Version:

DockerDigest Class

Represents a Docker content digest.

Inheritance Hierarchy

  • object
    • Inedo.ProGet.Feeds.Docker.DockerDigest

Syntax

public class DockerDigest : IEquatable<DockerDigest>

Constructors

Name Description
DockerDigest(string algorithm, byte[] hash)

Initializes a new instance of the DockerDigest class.

Properties

Name Description
Algorithm

Gets the hash algorithm.

Hash

Gets the hash value.

IsSHA256

Gets a value indicating whether the algorithm is SHA256.

Methods

Name Description
Equals(DockerDigest value1, DockerDigest value2)

Returns a value indicating whether two digests are equivalent.

Equals(DockerDigest other)

Returns a value indicating whether this digest is equivalent to another digest.

Equals(object obj)

Returns a value indicating whether this digest is equivalent to another digest.

GetHashCode

Returns a hash code for the instance.

Parse(string s)

Parses the specified string and returns a DockerDigest instance.

ToHashString

Returns just the hash code as a hex string.

ToString

Returns a string representation of the digest in the form algorithm:hash.