tu.crossing.JavaCryptographicArchitecture.3.1.2.source-code.TrustManagerFactory.crysl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of JavaCryptographicArchitecture
Show all versions of JavaCryptographicArchitecture
JavaCryptographicArchitecture CrySL ruleset
The newest version!
SPEC javax.net.ssl.TrustManagerFactory
OBJECTS
java.lang.String algorithm;
java.security.KeyStore keyStore;
javax.net.ssl.ManagerFactoryParameters params;
javax.net.ssl.TrustManager[] trustManager;
EVENTS
g1: getInstance(algorithm);
g2: getInstance(algorithm, _);
Get := g1 | g2;
i1: init(keyStore);
i2: init(params);
Init := i1 | i2;
gtm1: trustManager = getTrustManagers();
GetTrustMng := gtm1;
ORDER
Get, Init, GetTrustMng?
CONSTRAINTS
algorithm in {"PKIX", "SunX509"};
REQUIRES
generatedKeyStore[keyStore];
generatedManagerFactoryParameters[params];
ENSURES
generatedTrustManager[this] after Init;
generatedTrustManagers[trustManager] after GetTrustMng;