Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.springcryptoutils.core.spring;
 
    public void init() {
        // keystore
        registerBeanDefinitionParser("keystore"new KeyStoreBeanDefinitionParser());
        registerBeanDefinitionParser("defaultKeystore"new DefaultKeyStoreBeanDefinitionParser());
        registerBeanDefinitionParser("keystoreRegistry"new KeyStoreRegistryBeanDefinitionParser());
        // key
        registerBeanDefinitionParser("publicKey"new PublicKeyBeanDefinitionParser());
        registerBeanDefinitionParser("privateKey"new PrivateKeyBeanDefinitionParser());
        registerBeanDefinitionParser("secretKey"new SecretKeyBeanDefinitionParser());
        registerBeanDefinitionParser("publicKeyRegistryByAlias"new PublicKeyRegistryByAliasBeanDefinitionParser());
        registerBeanDefinitionParser("privateKeyRegistryByAlias"new PrivateKeyRegistryByAliasBeanDefinitionParser());
        // certificate
        registerBeanDefinitionParser("certificateRegistryByAlias"new CertificateRegistryByAliasBeanDefinitionParser());
        registerBeanDefinitionParser("certificate"new CertificateBeanDefinitionParser());
        // signature
        registerBeanDefinitionParser("verifier"new VerifierBeanDefinitionParser());
        registerBeanDefinitionParser("signerWithChoosersByAlias"new SignerWithChoosersByAliasBeanDefinitionParser());
        registerBeanDefinitionParser("verifierWithChoosersByAlias"new VerifierWithChoosersByAliasBeanDefinitionParser());
        registerBeanDefinitionParser("signerWithChooserByPrivateKeyId"new SignerWithChooserByPrivateKeyIdBeanDefinitionParser());
        registerBeanDefinitionParser("verifierWithChooserByPublicKeyId"new VerifierWithChooserByPublicKeyIdBeanDefinitionParser());
        registerBeanDefinitionParser("b64SignerWithChoosersByAlias"new Base64EncodedSignerWithChoosersByAliasBeanDefinitionParser());
        registerBeanDefinitionParser("b64VerifierWithChoosersByAlias"new Base64EncodedVerifierWithChoosersByAliasBeanDefinitionParser());
        registerBeanDefinitionParser("b64SignerWithChooserByPrivateKeyId"new Base64EncodedSignerWithChooserByPrivateKeyIdBeanDefinitionParser());
        registerBeanDefinitionParser("b64VerifierWithChooserByPublicKeyId"new Base64EncodedVerifierWithChooserByPublicKeyIdBeanDefinitionParser());
        // symmetric ciphers
        registerBeanDefinitionParser("symmetricKeyGenerator"new SymmetricKeyGeneratorBeanDefinitionParser());
        registerBeanDefinitionParser("symmetricCipherer"new SymmetricCiphererBeanDefinitionParser());
        registerBeanDefinitionParser("symmetricCiphererWithStaticKey"new SymmetricCiphererWithStaticKeyBeanDefinitionParser());
        registerBeanDefinitionParser("b64SymmetricCiphererWithStaticKey"new Base64EncodedSymmetricCiphererWithStaticKeyBeanDefinitionParser());
        // asymmetric ciphers
        registerBeanDefinitionParser("asymmetricCipherer"new AsymmetricCiphererBeanDefinitionParser());
        registerBeanDefinitionParser("asymmetricCiphererWithChooserByKeyId"new AsymmetricCiphererWithChooserByKeyIdBeanDefinitionParser());
        registerBeanDefinitionParser("b64AsymmetricCiphererWithChooserByKeyId"new Base64EncodedAsymmetricCiphererWithChooserByKeyIdBeanDefinitionParser());
        // message digests
        registerBeanDefinitionParser("digester"new DigesterBeanDefinitionParser());
        // message authentication codes
    }
New to GrepCode? Check out our FAQ X