Crypto: missing new endpoint to get the creating operation for a key if known.

This commit is contained in:
REDMOND\brodes
2025-10-10 14:50:50 -04:00
parent 36673659ad
commit ffd191d0e1

View File

@@ -1497,6 +1497,10 @@ module CryptographyBase<LocationSig Location, InputSig<Location> Input> {
.getAGenericSourceNode()
}
KeyCreationOperationNode getCreatingOperation() {
instance.(KeyArtifactOutputInstance).getCreator() = result.asElement()
}
KeyCreationCandidateAlgorithmNode getAKnownAlgorithm() {
result =
instance