Codota Logo
CaApiURIsValue
Code IndexAdd Codota to your IDE (free)

How to use
CaApiURIsValue
in
org.qipki.commons.rest.values

Best Java code snippets using org.qipki.commons.rest.values.CaApiURIsValue (Showing top 7 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.codeartisans.qipki/qipki-ca-http

@Override
protected Representation get()
    throws ResourceException
{
  return new StringRepresentation( restValuesFactory.caApiURIs().toJSON(), MediaType.APPLICATION_JSON );
}
origin: org.codeartisans.qipki/qipki-ca-http

@Override
public CaApiURIsValue caApiURIs()
{
  Reference rootRef = restApi.apiRootRef();
  ValueBuilder<CaApiURIsValue> caApiBuilder = vbf.newValueBuilder( CaApiURIsValue.class );
  CaUriBuilder caUriBuilder = new CaUriBuilder( rootRef );
  CaApiURIsValue caApi = caApiBuilder.prototype();
  // API Root
  caApi.uri().set( rootRef.toString() );
  // Tools
  caApi.cryptoInspectorUri().set( caUriBuilder.tools().cryptoInspector().build() );
  // Domain
  caApi.cryptoStoreListUri().set( caUriBuilder.cryptoStore().build() );
  caApi.caListUri().set( caUriBuilder.ca().build() );
  caApi.x509ProfileListUri().set( caUriBuilder.x509Profile().build() );
  caApi.x509ListUri().set( caUriBuilder.x509().build() );
  caApi.escrowedKeyPairListUri().set( caUriBuilder.escrowedKeyPair().build() );
  return caApiBuilder.newInstance();
}
origin: org.codeartisans.qipki/qipki-ca-http-client

@Override
public Iterable<CryptoStoreValue> list( int start )
{
  String jsonCryptoStoreList = restClient.getJSON( restClient.fetchApiURIs().cryptoStoreListUri().get() );
  RestListValue restList = vbf.newValueFromJSON( RestListValue.class, jsonCryptoStoreList );
  return new RestListValueIterable<CryptoStoreValue>( restList );
}
origin: org.codeartisans.qipki/qipki-ca-http-client

@Override
public Iterable<CAValue> list( int start )
{
  String jsonCaList = restClient.getJSON( restClient.fetchApiURIs().caListUri().get() );
  RestListValue restList = vbf.newValueFromJSON( RestListValue.class, jsonCaList );
  return new RestListValueIterable<CAValue>( restList );
}
origin: org.codeartisans.qipki.qipki-clients/qipki-clients-http-ca

@Override
public Iterable<CryptoStoreValue> list( int start )
{
  String jsonCryptoStoreList = restClientService.getJSON( restClientService.fetchApiURIs().cryptoStoreListUri().get() );
  RestListValue restList = valueBuilderFactory.newValueFromJSON( RestListValue.class, jsonCryptoStoreList );
  return new RestListValueIterable<CryptoStoreValue>( restList );
}
origin: org.codeartisans.qipki/qipki-ca-http-client

@Override
public CAValue create( CAFactoryParamsValue params )
{
  String jsonCa = restClient.postJSON( restClient.fetchApiURIs().caListUri().get(), params.toJSON() );
  return vbf.newValueFromJSON( CAValue.class, jsonCa );
}
origin: org.codeartisans.qipki/qipki-ca-http-client

@Override
public CryptoStoreValue create( CryptoStoreFactoryParamsValue params )
{
  String jsonCryptoStore = restClient.postJSON( restClient.fetchApiURIs().cryptoStoreListUri().get(), params.toJSON() );
  return vbf.newValueFromJSON( CryptoStoreValue.class, jsonCryptoStore );
}
org.qipki.commons.rest.valuesCaApiURIsValue

Most used methods

  • cryptoStoreListUri
  • caListUri
  • cryptoInspectorUri
  • escrowedKeyPairListUri
  • toJSON
  • uri
  • x509ListUri
  • x509ProfileListUri

Popular in Java

  • Reading from database using SQL prepared statement
  • onRequestPermissionsResult (Fragment)
  • requestLocationUpdates (LocationManager)
  • getApplicationContext (Context)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • InetAddress (java.net)
    This class represents an Internet Protocol (IP) address. An IP address is either a 32-bit or 128-bit
  • Locale (java.util)
    A Locale object represents a specific geographical, political, or cultural region. An operation that
  • Executor (java.util.concurrent)
    An object that executes submitted Runnable tasks. This interface provides a way of decoupling task s
  • JFileChooser (javax.swing)
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now