A union type representing the names of all of the locally supported algorithms.
TypeScript fancy for making plain objects require at least one key-value pair of another set of key-values.
The latest supported Key Vault service API version
The @azure/logger configuration for this package.
Creates a new ChallengeBasedAuthenticationPolicy factory.
The TokenCredential implementation that can supply the challenge token.
Checks whether a key can be used at that specific moment, by comparing the current date with the bundle's notBefore and expires values.
Creates a span using the tracer that was set by the user
The name of the method creating the span.
Fill in the PEM with 64 character lines as per RFC:
"To represent the encapsulated text of a PEM message, the encoding function's output is delimited into text lines (using local conventions), with each line except the last containing exactly 64 printable characters and the final line containing 64 or fewer printable characters."
Since sign algorithms behave almost the same, we're making a generator to save up code.
We receive the sign algorithm, from the list of names in SignAlgorithmName
,
then we generate a LocalSupportedAlgorithm
that only create hashes and verifies signatures.
Parses the given Key Vault Key Id. An example is:
https://
On parsing the above Id, this function returns:
{
sourceId: "https://<keyvault-name>.vault.azure.net/keys/<key-name>/<unique-version-id>",
vaultUrl: "https://<keyvault-name>.vault.azure.net",
version: "<unique-version-id>",
name: "<key-name>"
}
The Id of the Key Vault Key.
Parses an WWW-Authenticate response.
This transforms a string value like:
Bearer authorization="some_authorization", resource="https://some.url"
into an object like:
{ authorization: "some_authorization", resource: "https://some.url" }
String value in the WWW-Authenticate header
Returns updated HTTP options with the given span as the parent of future spans, if applicable.
The span for the current operation.
The options for the underlying HTTP request.
Validates that the target local cryptography operation is allowed by the key's "keyOps" property.
Passes only when the operation is being executed in NodeJS. For operations that can only run in NodeJS.
Validates that the key type is "RSA". For operations on RSA keys.
Generated using TypeDoc
Supported algorithms for key wrapping/unwrapping