HomeSort by relevance Sort by last modified time
    Searched refs:keyUsages (Results 1 - 5 of 5) sorted by null

  /libcore/ojluni/src/main/java/sun/security/x509/
ExtendedKeyUsageExtension.java 127 * Vector of KeyUsages for this object.
129 private Vector<ObjectIdentifier> keyUsages;
133 if (keyUsages == null || keyUsages.isEmpty()) {
140 for (int i = 0; i < keyUsages.size(); i++) {
141 tmp.putOID(keyUsages.elementAt(i));
152 * @param keyUsages the Vector of KeyUsages (ObjectIdentifiers)
154 public ExtendedKeyUsageExtension(Vector<ObjectIdentifier> keyUsages)
156 this(Boolean.FALSE, keyUsages);
    [all...]
  /prebuilts/go/darwin-x86/src/crypto/x509/
verify.go 136 KeyUsages []ExtKeyUsage
246 keyUsages := opts.KeyUsages
247 if len(keyUsages) == 0 {
248 keyUsages = []ExtKeyUsage{ExtKeyUsageServerAuth}
252 for _, usage := range keyUsages {
260 if checkChainForKeyUsage(candidate, keyUsages) {
423 func checkChainForKeyUsage(chain []*Certificate, keyUsages []ExtKeyUsage) bool {
424 usages := make([]ExtKeyUsage, len(keyUsages))
425 copy(usages, keyUsages)
    [all...]
verify_test.go 26 keyUsages []ExtKeyUsage
166 keyUsages: []ExtKeyUsage{ExtKeyUsageServerAuth},
176 keyUsages: []ExtKeyUsage{ExtKeyUsageEmailProtection},
316 KeyUsages: test.keyUsages,
    [all...]
  /prebuilts/go/linux-x86/src/crypto/x509/
verify.go 136 KeyUsages []ExtKeyUsage
246 keyUsages := opts.KeyUsages
247 if len(keyUsages) == 0 {
248 keyUsages = []ExtKeyUsage{ExtKeyUsageServerAuth}
252 for _, usage := range keyUsages {
260 if checkChainForKeyUsage(candidate, keyUsages) {
423 func checkChainForKeyUsage(chain []*Certificate, keyUsages []ExtKeyUsage) bool {
424 usages := make([]ExtKeyUsage, len(keyUsages))
425 copy(usages, keyUsages)
    [all...]
verify_test.go 26 keyUsages []ExtKeyUsage
166 keyUsages: []ExtKeyUsage{ExtKeyUsageServerAuth},
176 keyUsages: []ExtKeyUsage{ExtKeyUsageEmailProtection},
316 KeyUsages: test.keyUsages,
    [all...]

Completed in 632 milliseconds