Package dev.sigstore.timestamp.client
Class HashAlgorithm
java.lang.Object
dev.sigstore.timestamp.client.HashAlgorithm
Supported hash algorithms for timestamp requests.
-
Method Summary
Modifier and TypeMethodDescriptionfromOid(org.bouncycastle.asn1.ASN1ObjectIdentifier oid) static org.bouncycastle.asn1.ASN1ObjectIdentifiertoOid(AlgorithmRegistry.HashAlgorithm hashAlgorithm)
-
Method Details
-
toOid
public static org.bouncycastle.asn1.ASN1ObjectIdentifier toOid(AlgorithmRegistry.HashAlgorithm hashAlgorithm) -
fromOid
public static AlgorithmRegistry.HashAlgorithm fromOid(org.bouncycastle.asn1.ASN1ObjectIdentifier oid) throws UnsupportedAlgorithmException - Throws:
UnsupportedAlgorithmException
-