Searched refs:isTrusted (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/java/lang/
H A DStringCoding.java75 private static byte[] safeTrim(byte[] ba, int len, Charset cs, boolean isTrusted) { argument
76 if (len == ba.length && (isTrusted || System.getSecurityManager() == null))
85 Charset cs, boolean isTrusted) {
86 if (len == ca.length && (isTrusted || System.getSecurityManager() == null))
126 private final boolean isTrusted; field in class:StringCoding.StringDecoder
134 this.isTrusted = (cs.getClass().getClassLoader0() == null);
154 return safeTrim(ca, clen, cs, isTrusted);
171 return safeTrim(ca, cb.position(), cs, isTrusted);
206 // (4)There might be a timing gap in isTrusted setting. getClassLoader0()
207 // is only chcked (and then isTrusted get
84 safeTrim(char[] ca, int len, Charset cs, boolean isTrusted) argument
277 private final boolean isTrusted; field in class:StringCoding.StringEncoder
[all...]
/openjdk7/jdk/src/share/classes/sun/security/pkcs11/
H A DSecmod.java255 boolean isTrusted(X509Certificate cert, TrustType trustType) { method in class:Secmod
264 return (attr == null) ? false : attr.isTrusted(trustType);
515 if (attr.isTrusted(TrustType.ALL) == false) {
677 boolean isTrusted(TrustType type) { method in class:Secmod.TrustAttributes
680 return isTrusted(clientAuth);
682 return isTrusted(serverAuth);
684 return isTrusted(codeSigning);
686 return isTrusted(emailProtection);
688 return isTrusted(TrustType.CLIENT_AUTH)
689 && isTrusted(TrustTyp
697 private boolean isTrusted(long l) { method in class:Secmod.TrustAttributes
[all...]
H A DP11KeyStore.java2377 cka_trusted = Secmod.getInstance().isTrusted(cert, nssTrustType);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/api/
H A DClientCodeWrapper.java113 if (isTrusted(fm))
119 if (isTrusted(fo))
132 if (isTrusted(fo))
152 if (isTrusted(dl))
158 if (isTrusted(tl))
173 protected boolean isTrusted(Object o) { method in class:ClientCodeWrapper

Completed in 73 milliseconds