当前位置:编程学习 > JAVA >>

Java加密框架

private java.security.Provider[] providers() { 
 
    java.security.Provider[] providers = java.security.Security 
            .getProviders(); 
 
    for (java.security.Provider p : providers) { 
        Set<java.security.Provider.Service> services = p.getServices(); 
        for (java.security.Provider.Service service : services) { 
            System.out.println(service); 
        } 
 
    } 
    return providers; 

 

[java] view plaincopyprint?
SUN: SecureRandom.SHA1PRNG -> sun.security.provider.SecureRandom 
  attributes: {ImplementedIn=Software} 
 
SUN: Signature.SHA1withDSA -> sun.security.provider.DSA$SHA1withDSA 
  aliases: [DSA, DSS, SHA/DSA, SHA-1/DSA, SHA1/DSA, SHAwithDSA, DSAWithSHA1, OID.1.2.840.10040.4.3, 1.2.840.10040.4.3, 1.3.14.3.2.13, 1.3.14.3.2.27] 
  attributes: {ImplementedIn=Software, KeySize=1024, SupportedKeyClasses=java.security.inte易做图ces.DSAPublicKey|java.security.inte易做图ces.DSAPrivateKey} 
 
SUN: Signature.NONEwithDSA -> sun.security.provider.DSA$RawDSA 
  aliases: [RawDSA] 
  attributes: {SupportedKeyClasses=java.security.inte易做图ces.DSAPublicKey|java.security.inte易做图ces.DSAPrivateKey} 
 
SUN: KeyPairGenerator.DSA -> sun.security.provider.DSAKeyPairGenerator 
  aliases: [OID.1.2.840.10040.4.1, 1.2.840.10040.4.1, 1.3.14.3.2.12] 
  attributes: {ImplementedIn=Software, KeySize=1024} 
 
SUN: MessageDigest.MD2 -> sun.security.provider.MD2 
 
SUN: MessageDigest.MD5 -> sun.security.provider.MD5 
  attributes: {ImplementedIn=Software} 
 
SUN: MessageDigest.SHA -> sun.security.provider.SHA 
  aliases: [SHA-1, SHA1] 
  attributes: {ImplementedIn=Software} 
 
SUN: MessageDigest.SHA-256 -> sun.security.provider.SHA2 
 
SUN: MessageDigest.SHA-384 -> sun.security.provider.SHA5$SHA384 
 
SUN: MessageDigest.SHA-512 -> sun.security.provider.SHA5$SHA512 
 
SUN: AlgorithmParameterGenerator.DSA -> sun.security.provider.DSAParameterGenerator 
  attributes: {ImplementedIn=Software, KeySize=1024} 
 
SUN: AlgorithmParameters.DSA -> sun.security.provider.DSAParameters 
  aliases: [1.3.14.3.2.12, 1.2.840.10040.4.1] 
  attributes: {ImplementedIn=Software} 
 
SUN: KeyFactory.DSA -> sun.security.provider.DSAKeyFactory 
  aliases: [1.3.14.3.2.12, 1.2.840.10040.4.1] 
  attributes: {ImplementedIn=Software} 
 
SUN: CertificateFactory.X.509 -> sun.security.provider.X509Factory 
  aliases: [X509] 
  attributes: {ImplementedIn=Software} 
 
SUN: KeyStore.JKS -> sun.security.provider.JavaKeyStore$JKS 
  attributes: {ImplementedIn=Software} 
 
SUN: KeyStore.CaseExactJKS -> sun.security.provider.JavaKeyStore$CaseExactJKS 
 
SUN: Policy.JavaPolicy -> sun.security.provider.PolicySpiFile 
 
SUN: Configuration.JavaLoginConfig -> sun.security.provider.ConfigSpiFile 
 
SUN: CertPathBuilder.PKIX -> sun.security.provider.certpath.SunCertPathBuilder 
  attributes: {ValidationAlgorithm=RFC3280, ImplementedIn=Software} 
 
SUN: CertPathValidator.PKIX -> sun.security.provider.certpath.PKIXCertPathValidator 
  attributes: {ValidationAlgorithm=RFC3280, ImplementedIn=Software} 
 
SUN: CertStore.LDAP -> sun.security.provider.certpath.ldap.LDAPCertStore 
  attributes: {ImplementedIn=Software, LDAPSchema=RFC2587} 
 
SUN: CertStore.Collection -> sun.security.provider.certpath.CollectionCertStore 
  attributes: {ImplementedIn=Software} 
 
SUN: CertStore.com.sun.security.IndexedCollection -> sun.security.provider.certpath.IndexedCollectionCertStore 
  attributes: {ImplementedIn=Software} 
 
SunRsaSign: KeyFactory.RSA -> sun.security.rsa.RSAKeyFactory 
  aliases: [1.2.840.113549.1.1, OID.1.2.840.113549.1.1] 
 
SunRsaSign: KeyPairGenerator.RSA -> sun.security.rsa.RSAKeyPairGenerator 
  aliases: [1.2.840.113549.1.1, OID.1.2.840.113549.1.1] 
 
SunRsaSign: Signature.MD2withRSA -> sun.security.rsa.RSASignature$MD2withRSA 
  aliases: [1.2.840.113549.1.1.2, OID.1.2.840.113549.1.1.2] 
  attributes: {SupportedKeyClasses=java.security.inte易做图ces.RSAPublicKey|java.security.inte易做图ces.RSAPrivateKey} 
 
SunRsaSign: Signature.MD5withRSA -> sun.security.rsa.RSASignature$MD5withRSA 
  aliases: [1.2.840.113549.1.1.4, OID.1.2.840.113549.1.1.4] 
  attributes: {SupportedKeyClasses=java.security.inte易做图ces.RSAPublicKey|java.security.inte易做图ces.RSAPrivateKey} 
 
SunRsaSign: Signature.SHA1withRSA -> sun.security.rsa.RSASignature$SHA1withRSA 
  aliases: [1.2.840.113549.1.1.5, OID.1.2.840.113549.1.1.5, 1.3.14.3.2.29] 
  attributes: {SupportedKeyClasses=java.security.inte易做图ces.RSAPublicKey|java.security.inte易做图ces.RSAPrivateKey} 
 
SunRsaSign: Signature.SHA256withRSA -> sun.security.rsa.RSASignature$SHA256withRSA 
  aliases: [1.2.840.113549.1.1.11, OID.1.2.840.113549.1.1.11] 
  attributes: {SupportedKeyClasses=java.security.inte易做图ces.RSAPublicKey|java.security.inte易做图ces.RSAPrivateKey} 
 
SunRsaSign: Signature.SHA384withRSA -> sun.security.rsa.RSASignature$SHA384withRSA 
  aliases: [1.2.840.113549.1.1.12, OID.1.2.840.113549.1.1.12] 
  attributes: {SupportedKeyClasses=java.security.inte易做图ces.RSAPublicKey|java.security.inte易做图ces.RSAPrivateKey} 
 
SunRsaSign: Signature.SHA512withRSA -> sun.security.rsa.RSASignature$SHA512withRSA 
  aliases: [1.2.840.113549.1.1.13, OID.1.2.840.113549.1.1.13] 
  attributes: {SupportedKeyClasses=java.security.inte易做图ces.RSAPublicKey|java.security.inte易做图ces.RSAPrivateKey} 
 
SunEC: KeyFactory.EC -> sun.security.ec.ECKeyFactory 
  aliases: [EllipticCurve] 
  attributes: {ImplementedIn=Software} 
 
SunEC: AlgorithmParameters.EC -> sun.security.ec.ECParameters 
  aliases: [EllipticCurve] 
  attributes: {SupportedCurves=[secp112r1,1.3.132.0.6]|[secp112r2,1.3.132.0.7]|[secp128r1,1.3.132.0.28]|[secp128r2,1.3.132.0.29]|[secp160k1,1.3.132.0.9]|[secp160r1,1.3.132.0.8]|[secp160r2,1.3.132.0.30]|[secp192k1,1.3.132.0.31]|[secp192r1,NIST P-192,X9.62 prime192v1,1.2.840.10045.3.1.1]|[secp224k1,1.3.132.0.32]|[secp224r1,NIST P-224,1.3.132.0.33]|[secp256k1,1.3.132.0.10]|[secp256r1,NIST P-256,X9.62 prime256v1,1.2.840.10045.3.1.7]|[secp384r1,NIST P-384,1.3.132.0.34]|[secp521r1,NIST P-521,1.3.132.0.35]|[X9.62 prime192v2,1.2.840.10045.3.1.2]|[X9.62 prime192v3,1.2.840.10045.3.1.3]|[X9.62 prime239v1,1.2.840.10045.3.1

补充:综合编程 , 安全编程 ,
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,