javax.management.DynamicMBean, javax.management.MBeanRegistration, javax.management.NotificationBroadcaster, RuntimeMBean, WebLogicMBeanpublic interface DomainKeystoresDomainRuntimeMBean extends RuntimeMBean
This MBean is used to manage a domain's Domain Keystores.
| Modifier and Type | Method | Description |
|---|---|---|
void |
addProvisionedIdentityCertificate(java.lang.String toAlias,
java.lang.String fromFileName,
java.lang.String fromFileType,
java.lang.String fromFilePassphrase,
java.lang.String fromAlias,
java.lang.String fromAliasPassphrase) |
Add a provisioned identity certificate to the domain.
|
void |
addProvisionedIdentityCertificateAndKey(java.lang.String toAlias,
java.lang.String certificateFileName,
java.lang.String certificateFileType,
java.lang.String privateKeyFileName,
java.lang.String privateKeyFileType,
java.lang.String privateKeyPassphrase) |
Add a provisioned identity certificate and PKCS#8 private key from separate files.
|
void |
addProvisionedTrustCertificate(java.lang.String toAlias,
java.lang.String fromFileName,
java.lang.String fromFileType,
java.lang.String fromFilePassphrase,
java.lang.String fromAlias) |
Add one provisioned trust anchor to the domain.
|
void |
addProvisionedTrustCertificates(java.lang.String aliasBase,
java.lang.String fromFileName,
java.lang.String fromFileType) |
Add every X.509 certificate in a PEM bundle to the Provisioned Trust keystore.
|
void |
exportDomainTrustCertificates(java.lang.String toFileName,
java.lang.String toFileType,
java.lang.String toFilePassphrase) |
Export only the Domain Trust keystore.
|
void |
exportProvisionedTrustCertificates(java.lang.String toFileName,
java.lang.String toFileType,
java.lang.String toFilePassphrase) |
Export only the Provisioned Trust keystore.
|
void |
exportTrustedCertificates(java.lang.String toFileName,
java.lang.String toFileType,
java.lang.String toFilePassphrase) |
Export the certificates trusted by the domain; that is,
the contents of the "Domain Trust" keystore combined with
the contents of the "Provisioned Trust" keystore.
|
X509CertificateInfoVBean[] |
listDomainCaKeystore() |
List the domain certificate authority's keystore.
|
X509CertificateInfoVBean[] |
listDomainTrustKeystore() |
List the domain certificate authority certificates trusted by the domain.
|
X509CertificateInfoVBean[] |
listProvisionedIdentityKeystore() |
List the provisioned identity certificates for the domain.
|
X509CertificateInfoVBean[] |
listProvisionedTrustKeystore() |
List the provisioned trust anchors for the domain.
|
void |
removeProvisionedIdentityCertificate(java.lang.String alias) |
Remove a provisioned identity certificate from the domain.
|
void |
removeProvisionedTrustCertificate(java.lang.String alias) |
Remove a provisioned trust anchor from the domain.
|
getAttribute, getAttributes, invoke, setAttribute, setAttributespostDeregister, postRegister, preRegisteraddNotificationListener, getNotificationInfo, removeNotificationListeneraddPropertyChangeListener, removePropertyChangeListenergetMBeanInfo, getName, getObjectName, getParent, getType, isCachingDisabled, isRegistered, setName, setParentX509CertificateInfoVBean[] listDomainCaKeystore() throws ManagementException
ManagementExceptionX509CertificateInfoVBean[] listDomainTrustKeystore() throws ManagementException
ManagementExceptionX509CertificateInfoVBean[] listProvisionedIdentityKeystore() throws ManagementException
ManagementExceptionvoid addProvisionedIdentityCertificate(java.lang.String toAlias,
java.lang.String fromFileName,
java.lang.String fromFileType,
java.lang.String fromFilePassphrase,
java.lang.String fromAlias,
java.lang.String fromAliasPassphrase)
throws ManagementException
fromAlias and fromAliasPassphrase. A PEM input contains one PKCS#8
private key, the matching leaf certificate, and an optional certificate chain;
fromAlias and fromAliasPassphrase are ignored for PEM input and
fromFilePassphrase decrypts an encrypted PKCS#8 key.
Remote callers must use an encrypted management transport such as T3S or HTTPS.
toAlias - The alias to use for the new provisioned identity certificatefromFileName - The name of the input filefromFileType - The type of the input filefromFilePassphrase - The passphrase for the input file (if needed)fromAlias - The alias of the entry in the input file (if needed)fromAliasPassphrase - The passphrase for the entry in the input file (if needed)ManagementExceptionvoid addProvisionedIdentityCertificateAndKey(java.lang.String toAlias,
java.lang.String certificateFileName,
java.lang.String certificateFileType,
java.lang.String privateKeyFileName,
java.lang.String privateKeyFileType,
java.lang.String privateKeyPassphrase)
throws ManagementException
Remote callers must use an encrypted management transport such as T3S or HTTPS.
toAlias - The alias to use for the new provisioned identity certificatecertificateFileName - The name of the certificate or certificate-chain filecertificateFileType - The certificate file type, PEM or DERprivateKeyFileName - The name of the PKCS#8 private-key fileprivateKeyFileType - The private-key file type, PEM or DERprivateKeyPassphrase - The private-key passphrase, or null/empty for an unencrypted keyManagementExceptionvoid removeProvisionedIdentityCertificate(java.lang.String alias)
throws ManagementException
alias - The alias of the provisioned identity certificate to removeManagementExceptionX509CertificateInfoVBean[] listProvisionedTrustKeystore() throws ManagementException
ManagementExceptionvoid addProvisionedTrustCertificate(java.lang.String toAlias,
java.lang.String fromFileName,
java.lang.String fromFileType,
java.lang.String fromFilePassphrase,
java.lang.String fromAlias)
throws ManagementException
addProvisionedTrustCertificates(String, String, String) to import every
certificate in a PEM bundle. DER input contains one X.509 certificate.
Remote callers must use an encrypted management transport such as T3S or HTTPS.
toAlias - The alias to use for the new provisioned trust anchorfromFileName - The name of the input filefromFileType - The type of the input filefromFilePassphrase - The passphrase for the input file (if needed)fromAlias - The alias of the entry in the input file (if needed)ManagementExceptionvoid addProvisionedTrustCertificates(java.lang.String aliasBase,
java.lang.String fromFileName,
java.lang.String fromFileType)
throws ManagementException
provisioned-<base>-1, provisioned-<base>-2, and so on in file order.
Duplicate aliases or certificates cause the entire operation to fail.aliasBase - The base used to generate one-based provisioned aliasesfromFileName - The name of the PEM bundlefromFileType - The input file type; only PEM is supportedManagementExceptionvoid removeProvisionedTrustCertificate(java.lang.String alias)
throws ManagementException
alias - The alias of the provisioned trust anchor to removeManagementExceptionvoid exportTrustedCertificates(java.lang.String toFileName,
java.lang.String toFileType,
java.lang.String toFilePassphrase)
throws ManagementException
toFileName - The name of the output filetoFileType - The type of the output filetoFilePassphrase - The passphrase for the output file (if needed)ManagementExceptionvoid exportDomainTrustCertificates(java.lang.String toFileName,
java.lang.String toFileType,
java.lang.String toFilePassphrase)
throws ManagementException
Remote callers must use an encrypted management transport such as T3S or HTTPS.
toFileName - The name of the output filetoFileType - The type of the output filetoFilePassphrase - The passphrase for the output file (if needed)ManagementExceptionvoid exportProvisionedTrustCertificates(java.lang.String toFileName,
java.lang.String toFileType,
java.lang.String toFilePassphrase)
throws ManagementException
Remote callers must use an encrypted management transport such as T3S or HTTPS.
toFileName - The name of the output filetoFileType - The type of the output filetoFilePassphrase - The passphrase for the output file (if needed)ManagementException