Examples of TrustStoreKeyXO


Examples of com.sonatype.nexus.ssl.model.TrustStoreKeyXO

      throws Exception
  {
    try {
      lock.readLock().lock();
      final CapabilityReference reference = getManager(type).get(id);
      return new TrustStoreKeyXO().withEnabled(
          reference != null && reference.context().isEnabled()
      );
    }
    finally {
      lock.readLock().unlock();
View Full Code Here

Examples of com.sonatype.nexus.ssl.model.TrustStoreKeyXO

  private boolean getTrustStoreKey(final TrustStoreKey key) {
    return client.getKey(checkNotNull(key).value()).isEnabled();
  }

  private TrustStoreImpl updateTrustStoreKey(final TrustStoreKey key, final boolean enabled) {
    client.updateKey(checkNotNull(key).value(), new TrustStoreKeyXO().withEnabled(enabled));
    return this;
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.