Package io.quarkus.vault.pki
Interface PrivateKeyData
- All Known Implementing Classes:
PrivateKeyData.DER,PrivateKeyData.PEM
public interface PrivateKeyData
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classDataFormat.DERimplementation ofPrivateKeyDatastatic classDataFormat.PEMimplementation ofPrivateKeyData -
Method Summary
Modifier and TypeMethodDescriptiongetData()Data inDataFormat.DERorDataFormat.PEMformat.Format ofgetData()property.booleanisPKCS8()Isdataencoded in PKCS8 format?
-
Method Details
-
getFormat
DataFormat getFormat()Format ofgetData()property. -
getData
Object getData()Data inDataFormat.DERorDataFormat.PEMformat.- See Also:
-
isPKCS8
boolean isPKCS8()Isdataencoded in PKCS8 format? -
getKeySpec
KeySpec getKeySpec()- Throws:
IllegalStateException- When called on non-PKCS8 encoded data.
-