KeyVaultPrivateKey Class
- java.
lang. Object - com.
azure. security. keyvault. jca. KeyVaultPrivateKey
- com.
Implements
@Deprecated
public class KeyVaultPrivateKey
implements PrivateKey, SecretKey
Note
This class has been deprecated.
Should not use this class outside of azure-security-keyvault-jca.
KeyVault fake private which work when key less
Constructor Summary
| Constructor | Description |
|---|---|
| KeyVaultPrivateKey(String algorithm, String kid) |
Builder for key vault private key |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
getAlgorithm()
Get the algorithm |
| byte[] |
getEncoded()
Get the encoded |
| String |
getFormat()
Get the format |
| String |
getKid()
Get the Key |
| void |
setAlgorithm(String algorithm)
Store key vault certificate algorithm |
| void |
setKid(String kid)
Store the Key |
Methods inherited from java.lang.Object
Constructor Details
KeyVaultPrivateKey
public KeyVaultPrivateKey(String algorithm, String kid)
Builder for key vault private key
Parameters:
Method Details
getAlgorithm
public String getAlgorithm()
Get the algorithm
Returns:
getEncoded
public byte[] getEncoded()
Get the encoded
Returns:
getFormat
public String getFormat()
Get the format
Returns:
getKid
public String getKid()
Get the KeyId
Returns:
setAlgorithm
public void setAlgorithm(String algorithm)
Store key vault certificate algorithm
Parameters:
setKid
public void setKid(String kid)
Store the KeyId
Parameters: