일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | |||
5 | 6 | 7 | 8 | 9 | 10 | 11 |
12 | 13 | 14 | 15 | 16 | 17 | 18 |
19 | 20 | 21 | 22 | 23 | 24 | 25 |
26 | 27 | 28 | 29 | 30 | 31 |
- MSYS2
- OSX
- albumbook
- fido
- css
- openssl
- SwiftUI
- 앨범북
- Xcode
- 2FA
- 앱리소스
- SWIFT
- Android
- 안드로이드
- SSH
- appres
- Nodejs
- SSL
- WebAuthn
- 애플
- otpkey
- 앱스토어
- MFA
- OTP
- MYSQL
- git
- kmip
- FIDO2
- apple
- 인증
- Today
- Total
목록소스 팁 (172)
인디노트
TrustManagerFactory trustManagerFactory = TrustManagerFactory.getInstance("PKIX"); trustManagerFactory.init((KeyStore) null); TrustManager[] trustManagers = trustManagerFactory.getTrustManagers(); X509TrustManager trustManager = (X509TrustManager) trustManagers[0]; X509Certificate[] acceptedIssuers = trustManager.getAcceptedIssuers(); System.out.println("X509TrustManager count : " + trustManager..
String version = System.getProperty("java.version"); System.out.println("JAVA Version : " + version);
public static HttpClient wrapClient(HttpClient base) { try { SSLContext ctx = SSLContext.getInstance("TLS"); X509TrustManager tm = new X509TrustManager() { public void checkClientTrusted(X509Certificate[] xcs, String string) throws CertificateException { } public void checkServerTrusted(X509Certificate[] xcs, String string) throws CertificateException { } public X509Certificate[] getAcceptedIssu..
I built a quick and dirty little class to show the opening of a relative .pfx (P12) that I created with keytools. Naturally, you can also look through different potential directories looking for the file, if there are a couple likely places for it to be.The file structure looks like this:./bin ./bin/Test.java ./bin/Test.class ./conf ./conf/myFile.pfxHere's the test code:import java.io.*; import ..
Example 1From project backend-update-center2, under directory /src/main/java/org/jvnet/hudson/update_center/.Source file: Signer.java 38 private X509Certificate loadCertificate(CertificateFactory cf,File f) throws CertificateException, IOException { FileInputStream in=new FileInputStream(f); try { X509Certificate c=(X509Certificate)cf.generateCertificate(in); c.checkValidity(); return c; } final..
Java Keytool is a key and certificate management utility. It allows users to manage their own public/private key pairs and certificates. It also allows users to cache certificates. Java Keytool stores the keys and certificates in what is called a keystore. By default the Java keystore is implemented as a file. It protects private keys with a password. A Keytool keystore contains the private key ..
PHFetchOptionsA set of options that affect the filtering, sorting, and management of results that Photos returns when you fetch asset or collection objects.SDKsiOS 8.0+macOS 10.13+tvOS 10.0+FrameworkPhotosOn This PageOverviewTopicsRelationshipsSee AlsoOverviewUsing class methods on the PHAsset, PHCollection, PHAssetCollection, and PHCollectionList classes to fetch assets or collections produces ..
WWDC2016에서 iOS10과 함께 Notification Service Extension, Notification Content Extension이 소개되었습니다. 아이폰을 사용하시는 분께서는 이게 뭔지 잘 아시리라 생각됩니다.메세지 앱에 적용된 Extension Service Extension, Content Extension은 어떻게 다른 것인가?Service Extension적용하여 미디어 노출시키기Content Extension적용하여 푸쉬화면 커스터마이징하기Content Extension적용시 발생하는 몇 가지 문제점서버에서 해주어야 할일느낀 점1. Service Extension, Content Extension은 어떻게 다른 것인가? #Service Extension은 페이로드를 가로채 ..
This was fixed by adding $(inherited) in the Build Settings -> Search for LIBRARY_SEARCH_PATHS.This is understandable, since when updating your pod file for the latest versions of libraries which your project depends on, the debug output tells you where you need to add all the $(inherited) flags: LIBRARY_SEARCH_PATHS OTHER_LD_FLAGS GCC_PREPROCESSOR_DEFINITIONS
Photos Framework 정리Framework PhotosiCloud Photo Library 및 Live Photo 및 Photos 앱에 의해 관리되는 image 및 video asset을 가지고 작업합니다. 풀 크기의 asset 또는 thumbnail 이미지를 비동기적으로 가져오거나 cache 처리하며, 내용을 수정하고, 수정된 내용을 여러 장치에 동기화 합니다.개요iOS 및 macOS에서, Photos framework는 Photos앱을 위한 사진 편집 확장 기능을 지원하는 class를 제공합니다. iOS 및 tvOS에서, Photos framework는 Photos앱 및 iCloud Photo Library에서 관리하는 photo 및 video asset에 직접 액세스 할 수 있습니다. 이 ..