java.security.Security 支持的安全策略和算法
java.security.Security 支持的安全策略和算法
?
SUN : SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig Configuration)
Algorithms:
??? SHA1PRNG
??? SHA1withDSA
??? NONEwithDSA
??? DSA
??? MD2
??? MD5
??? SHA
??? SHA-256
??? SHA-384
??? SHA-512
??? DSA
??? DSA
??? DSA
??? X.509
??? JKS
??? CaseExactJKS
??? JavaPolicy
??? JavaLoginConfig
??? PKIX
??? PKIX
??? LDAP
??? Collection
??? com.sun.security.IndexedCollection
SunRsaSign : Sun RSA signature provider
Algorithms:
??? RSA
??? RSA
??? MD2withRSA
??? MD5withRSA
??? SHA1withRSA
??? SHA256withRSA
??? SHA384withRSA
??? SHA512withRSA
SunJSSE : Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
Algorithms:
??? RSA
??? RSA
??? MD2withRSA
??? MD5withRSA
??? SHA1withRSA
??? MD5andSHA1withRSA
??? SunX509
??? NewSunX509
??? SunX509
??? PKIX
??? SSL
??? SSLv3
??? TLS
??? TLSv1
??? Default
??? PKCS12
SunJCE : SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)
Algorithms:
??? RSA
??? DES
??? DESede
??? DESedeWrap
??? PBEWithMD5AndDES
??? PBEWithMD5AndTripleDES
??? PBEWithSHA1AndRC2_40
??? PBEWithSHA1AndDESede
??? Blowfish
??? AES
??? AESWrap
??? RC2
??? ARCFOUR
??? DES
??? DESede
??? Blowfish
??? AES
??? RC2
??? ARCFOUR
??? HmacMD5
??? HmacSHA1
??? HmacSHA256
??? HmacSHA384
??? HmacSHA512
??? DiffieHellman
??? DiffieHellman
??? DiffieHellman
??? DiffieHellman
??? DES
??? DESede
??? PBE
??? PBEWithMD5AndDES
??? PBEWithMD5AndTripleDES
??? PBEWithSHA1AndDESede
??? PBEWithSHA1AndRC2_40
??? Blowfish
??? AES
??? RC2
??? OAEP
??? DiffieHellman
??? DES
??? DESede
??? PBEWithMD5AndDES
??? PBEWithMD5AndTripleDES
??? PBEWithSHA1AndDESede
??? PBEWithSHA1AndRC2_40
??? PBKDF2WithHmacSHA1
??? HmacMD5
??? HmacSHA1
??? HmacSHA256
??? HmacSHA384
??? HmacSHA512
??? HmacPBESHA1
??? SslMacMD5
??? SslMacSHA1
??? JCEKS
??? SunTlsPrf
??? SunTlsRsaPremasterSecret
??? SunTlsMasterSecret
??? SunTlsKeyMaterial
SunJGSS : Sun (Kerberos v5, SPNEGO)
Algorithms:
??? 1.2.840.113554.1.2.2
??? 1.3.6.1.5.5.2
SunSASL : Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5)
Algorithms:
??? DIGEST-MD5
??? GSSAPI
??? EXTERNAL
??? PLAIN
??? CRAM-MD5
??? CRAM-MD5
??? GSSAPI
??? DIGEST-MD5
XMLDSig : XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory)
Algorithms:
??? http://www.w3.org/2000/09/xmldsig#enveloped-signature
??? http://www.w3.org/2002/06/xmldsig-filter2
??? http://www.w3.org/2001/10/xml-exc-c14n#WithComments
??? http://www.w3.org/2001/10/xml-exc-c14n#
??? http://www.w3.org/TR/2001/REC-xml-c14n-20010315#WithComments
??? DOM
??? http://www.w3.org/2000/09/xmldsig#base64
??? http://www.w3.org/TR/2001/REC-xml-c14n-20010315
??? http://www.w3.org/TR/1999/REC-xpath-19991116
??? http://www.w3.org/TR/1999/REC-xslt-19991116
??? DOM
SunPCSC : Sun PC/SC provider
Algorithms:
??? PC/SC
SunMSCAPI : Sun's Microsoft Crypto API provider
Algorithms:
??? Windows-PRNG
??? Windows-MY
??? Windows-ROOT
??? NONEwithRSA
??? SHA1withRSA
??? SHA256withRSA
??? SHA384withRSA
??? SHA512withRSA
??? MD5withRSA
??? MD2withRSA
??? RSA
??? RSA
??? RSA/ECB/PKCS1Padding