Advertisement

Android系统签名定制

阅读量:

工具make_key的功能与应用

生成x509.pem文件(用于存储公钥)以及pk8文件(用于保存私钥)

复制代码
    openssl req -new -x509 -sha1 -key ${two} -out $1.x509.pem \
      -days 10000 -subj "$2" &
      openssl pkcs8 -in ${one} -topk8 -outform DER -out $1.pk8 -nocrypt
    
    
复制代码
    #development/tools/make_key
    
    #!/bin/bash
    #
    # Copyright (C) 2009 The Android Open Source Project
    #
    # Licensed under the Apache License, Version 2.0 (the "License");
    # you may not use this file except in compliance with the License.
    # You may obtain a copy of the License at
    #
    #      http://www.apache.org/l

全部评论 (0)

还没有任何评论哟~