test_class.declarator: association = TestParty.associationNotary("association")
test_class.modifier: private
test_class.original_string: private TestParty association = TestParty.associationNotary("association");
test_class.type: TestParty
test_class.var_name: association
test_class.declarator: network
test_class.modifier: private
test_class.original_string: private MockNetwork network;
test_class.type: MockNetwork
test_class.var_name: network
test_class.declarator: vault
test_class.modifier: private
test_class.original_string: private VCVault vault;
test_class.type: VCVault
test_class.var_name: vault
test_class.declarator: service
test_class.modifier: private
test_class.original_string: private VCService service;
test_class.type: VCService
test_class.var_name: service
test_class.file: cord3c-ssi-service/src/test/java/io/cord3c/ssi/corda/VCServiceTest.java
test_class.identifier: VCServiceTest
test_class.interfaces: implements WithAssertions
test_case.body: @Test
  	@SneakyThrows
  	public void verifyCordaDidPublicKey() {
  		DIDPublicKey publicKey = service.getCrypto().toDidKey(service.getIdentityKey().getPublicKey(), "did:hello:world");
  		assertThat(publicKey.getType()).isEqualTo("JwsVerificationKey2020");
  		assertThat(publicKey.getId()).isEqualTo("did:hello:world#keys-1");
  		assertThat(publicKey.getController()).isEqualTo("did:hello:world");
  	}
test_case.class_method_signature: VCServiceTest.verifyCordaDidPublicKey()
test_case.full_signature: @Test @SneakyThrows public void verifyCordaDidPublicKey()
test_case.identifier: verifyCordaDidPublicKey
test_case.invocations: toDidKey getCrypto getPublicKey getIdentityKey isEqualTo assertThat getType isEqualTo assertThat getId isEqualTo assertThat getController
test_case.modifiers: @Test @SneakyThrows public
test_case.parameters: ()
test_case.return: void
test_case.signature: void verifyCordaDidPublicKey()
focal_class.declarator: serviceHub
focal_class.modifier: private final
focal_class.original_string: private final AppServiceHub serviceHub;
focal_class.type: AppServiceHub
focal_class.var_name: serviceHub
focal_class.declarator: vault
focal_class.modifier: @Getter
  	private final
focal_class.original_string: @Getter
  	private final VCVault vault;
focal_class.type: VCVault
focal_class.var_name: vault
focal_class.declarator: univeralResolver
focal_class.modifier: @Getter
  	private final
focal_class.original_string: @Getter
  	private final UniversalResolver univeralResolver;
focal_class.type: UniversalResolver
focal_class.var_name: univeralResolver
focal_class.declarator: crypto
focal_class.modifier: @Getter
  	private final
focal_class.original_string: @Getter
  	private final VCCrypto crypto;
focal_class.type: VCCrypto
focal_class.var_name: crypto
focal_class.declarator: mapper
focal_class.modifier: @Getter
  	private final
focal_class.original_string: @Getter
  	private final VCMapper mapper;
focal_class.type: VCMapper
focal_class.var_name: mapper
focal_class.declarator: partyRegistry
focal_class.modifier: @Getter
  	private final
focal_class.original_string: @Getter
  	private final CordaPartyRegistry partyRegistry;
focal_class.type: CordaPartyRegistry
focal_class.var_name: partyRegistry
focal_class.file: cord3c-ssi-service/src/main/java/io/cord3c/ssi/corda/VCService.java
focal_class.identifier: VCService
focal_class.class_method_signature: VCService.VCService(AppServiceHub serviceHub)
focal_class.full_signature: public  VCService(AppServiceHub serviceHub)
focal_class.identifier: VCService
focal_class.modifiers: public
focal_class.parameters: (AppServiceHub serviceHub)
focal_class.signature:  VCService(AppServiceHub serviceHub)
focal_class.class_method_signature: VCService.setNetworkMapUrl(String networkMapUrl)
focal_class.full_signature: public void setNetworkMapUrl(String networkMapUrl)
focal_class.identifier: setNetworkMapUrl
focal_class.modifiers: public
focal_class.parameters: (String networkMapUrl)
focal_class.return: void
focal_class.signature: void setNetworkMapUrl(String networkMapUrl)
focal_class.class_method_signature: VCService.getNetworkMapUrl()
focal_class.full_signature: public String getNetworkMapUrl()
focal_class.identifier: getNetworkMapUrl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getNetworkMapUrl()
focal_class.class_method_signature: VCService.setBaseUrl(String baseUrl)
focal_class.full_signature: public void setBaseUrl(String baseUrl)
focal_class.identifier: setBaseUrl
focal_class.modifiers: public
focal_class.parameters: (String baseUrl)
focal_class.return: void
focal_class.signature: void setBaseUrl(String baseUrl)
focal_class.class_method_signature: VCService.getBaseUrl()
focal_class.full_signature: public String getBaseUrl()
focal_class.identifier: getBaseUrl
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String getBaseUrl()
focal_class.class_method_signature: VCService.sign(VerifiableCredential verifiableCredential)
focal_class.full_signature: public VerifiableCredential sign(VerifiableCredential verifiableCredential)
focal_class.identifier: sign
focal_class.modifiers: public
focal_class.parameters: (VerifiableCredential verifiableCredential)
focal_class.return: VerifiableCredential
focal_class.signature: VerifiableCredential sign(VerifiableCredential verifiableCredential)
focal_class.class_method_signature: VCService.getIdentityKey()
focal_class.full_signature: public X509Certificate getIdentityKey()
focal_class.identifier: getIdentityKey
focal_class.modifiers: public
focal_class.parameters: ()
focal_class.return: X509Certificate
focal_class.signature: X509Certificate getIdentityKey()
focal_class.class_method_signature: VCService.issue(Object state)
focal_class.full_signature: public VerifiableCredential issue(Object state)
focal_class.identifier: issue
focal_class.modifiers: public
focal_class.parameters: (Object state)
focal_class.return: VerifiableCredential
focal_class.signature: VerifiableCredential issue(Object state)
focal_class.class_method_signature: VCService.verify(VerifiableCredential verifiableCredential)
focal_class.full_signature: @SneakyThrows public void verify(VerifiableCredential verifiableCredential)
focal_class.identifier: verify
focal_class.modifiers: @SneakyThrows public
focal_class.parameters: (VerifiableCredential verifiableCredential)
focal_class.return: void
focal_class.signature: void verify(VerifiableCredential verifiableCredential)
focal_class.class_method_signature: VCService.verify(VerifiableCredential verifiableCredential, PublicKey publicKey)
focal_class.full_signature: @SneakyThrows public void verify(VerifiableCredential verifiableCredential, PublicKey publicKey)
focal_class.identifier: verify
focal_class.modifiers: @SneakyThrows public
focal_class.parameters: (VerifiableCredential verifiableCredential, PublicKey publicKey)
focal_class.return: void
focal_class.signature: void verify(VerifiableCredential verifiableCredential, PublicKey publicKey)
focal_class.superclass: extends SingletonSerializeAsToken
focal_method.body: public X509Certificate getIdentityKey() {
  		return serviceHub.getMyInfo().getLegalIdentitiesAndCerts().get(0).getCertificate();
  	}
focal_method.class_method_signature: VCService.getIdentityKey()
focal_method.full_signature: public X509Certificate getIdentityKey()
focal_method.identifier: getIdentityKey
focal_method.invocations: getCertificate get getLegalIdentitiesAndCerts getMyInfo
focal_method.modifiers: public
focal_method.parameters: ()
focal_method.return: X509Certificate
focal_method.signature: X509Certificate getIdentityKey()