精华内容
下载资源
问答
  • X.509 certificate sample

    千次阅读 2011-12-22 14:56:31
    Sample X.509 certificatesThis is an example of a decoded X.509 certificate for www.freesoft.org, generated with OpenSSL—the actual certificate is about 1 kB in size. It was issued by Thawte (since ...
     
    
    Sample X.509 certificates

    This is an example of a decoded X.509 certificate for www.freesoft.org, generated with OpenSSL—the actual certificate is about 1 kB in size. It was issued by Thawte (since acquired by VeriSign), as stated in the Issuer field. Its subject contains many personal details, but the most important part is usually the common name (CN), as this is the part that must match the host being authenticated. Also included is an RSA public key (modulus and public exponent), followed by the signature, computed by taking a MD5 hash of the first part of the certificate and signing it (applying the encryption operation) using Thawte's RSA private key.

    Certificate:
       Data:
           Version: 1 (0x0)
           Serial Number: 7829 (0x1e95)
           Signature Algorithm: md5WithRSAEncryption
           Issuer: C=ZA, ST=Western Cape, L=Cape Town, O=Thawte Consulting cc,
                   OU=Certification Services Division,
                   CN=Thawte Server CA/emailAddress=server-certs@thawte.com
           Validity   
               Not Before: Jul  9 16:04:02 1998 GMT
               Not After : Jul  9 16:04:02 1999 GMT
           Subject: C=US, ST=Maryland, L=Pasadena, O=Brent Baccala,
                    OU=FreeSoft, CN=www.freesoft.org/emailAddress=baccala@freesoft.org
           Subject Public Key Info:
               Public Key Algorithm: rsaEncryption
               RSA Public Key: (1024 bit)
                   Modulus (1024 bit):
                       00:b4:31:98:0a:c4:bc:62:c1:88:aa:dc:b0:c8:bb:
                       33:35:19:d5:0c:64:b9:3d:41:b2:96:fc:f3:31:e1:
                       66:36:d0:8e:56:12:44:ba:75:eb:e8:1c:9c:5b:66:
                       70:33:52:14:c9:ec:4f:91:51:70:39:de:53:85:17:
                       16:94:6e:ee:f4:d5:6f:d5:ca:b3:47:5e:1b:0c:7b:
                       c5:cc:2b:6b:c1:90:c3:16:31:0d:bf:7a:c7:47:77:
                       8f:a0:21:c7:4c:d0:16:65:00:c1:0f:d7:b8:80:e3:
                       d2:75:6b:c1:ea:9e:5c:5c:ea:7d:c1:a1:10:bc:b8:
                       e8:35:1c:9e:27:52:7e:41:8f
                   Exponent: 65537 (0x10001)
       Signature Algorithm: md5WithRSAEncryption
           93:5f:8f:5f:c5:af:bf:0a:ab:a5:6d:fb:24:5f:b6:59:5d:9d:
           92:2e:4a:1b:8b:ac:7d:99:17:5d:cd:19:f6:ad:ef:63:2f:92:
           ab:2f:4b:cf:0a:13:90:ee:2c:0e:43:03:be:f6:ea:8e:9c:67:
           d0:a2:40:03:f7:ef:6a:15:09:79:a9:46:ed:b7:16:1b:41:72:
           0d:19:aa:ad:dd:9a:df:ab:97:50:65:f5:5e:85:a6:ef:19:d1:
           5a:de:9d:ea:63:cd:cb:cc:6d:5d:01:85:b5:6d:c8:f3:d9:f7:
           8f:0e:fc:ba:1f:34:e9:96:6e:6c:cf:f2:ef:9b:bf:de:b5:22:
           68:9f
    

    To validate this certificate, one needs a second certificate that matches the Issuer (Thawte Server CA) of the first certificate. First, one verifies that the second certificate is of a CA kind; that is, that it can be used to issue other certificates. This is done by inspecting a value of the CA attribute in the X509v3 extension section. Then the RSA public key from the CA certificate is used to decode the signature on the first certificate to obtain a MD5 hash, which must match an actual MD5 hash computed over the rest of the certificate. An example CA certificate follows:

    Certificate:
       Data:
           Version: 3 (0x2)
           Serial Number: 1 (0x1)
           Signature Algorithm: md5WithRSAEncryption
           Issuer: C=ZA, ST=Western Cape, L=Cape Town, O=Thawte Consulting cc,
                   OU=Certification Services Division,
                   CN=Thawte Server CA/emailAddress=server-certs@thawte.com
           Validity
               Not Before: Aug  1 00:00:00 1996 GMT
               Not After : Dec 31 23:59:59 2020 GMT
           Subject: C=ZA, ST=Western Cape, L=Cape Town, O=Thawte Consulting cc,
                    OU=Certification Services Division,
                    CN=Thawte Server CA/emailAddress=server-certs@thawte.com
           Subject Public Key Info:
               Public Key Algorithm: rsaEncryption
               RSA Public Key: (1024 bit)
                   Modulus (1024 bit):
                       00:d3:a4:50:6e:c8:ff:56:6b:e6:cf:5d:b6:ea:0c:
                       68:75:47:a2:aa:c2:da:84:25:fc:a8:f4:47:51:da:
                       85:b5:20:74:94:86:1e:0f:75:c9:e9:08:61:f5:06:
                       6d:30:6e:15:19:02:e9:52:c0:62:db:4d:99:9e:e2:
                       6a:0c:44:38:cd:fe:be:e3:64:09:70:c5:fe:b1:6b:
                       29:b6:2f:49:c8:3b:d4:27:04:25:10:97:2f:e7:90:
                       6d:c0:28:42:99:d7:4c:43:de:c3:f5:21:6d:54:9f:
                       5d:c3:58:e1:c0:e4:d9:5b:b0:b8:dc:b4:7b:df:36:
                       3a:c2:b5:66:22:12:d6:87:0d
                   Exponent: 65537 (0x10001)
           X509v3 extensions:
               X509v3 Basic Constraints: critical
                   CA:TRUE
       Signature Algorithm: md5WithRSAEncryption
           07:fa:4c:69:5c:fb:95:cc:46:ee:85:83:4d:21:30:8e:ca:d9:
           a8:6f:49:1a:e6:da:51:e3:60:70:6c:84:61:11:a1:1a:c8:48:
           3e:59:43:7d:4f:95:3d:a1:8b:b7:0b:62:98:7a:75:8a:dd:88:
           4e:4e:9e:40:db:a8:cc:32:74:b9:6f:0d:c6:e3:b3:44:0b:d9:
           8a:6f:9a:29:9b:99:18:28:3b:d1:e3:40:28:9a:5a:3c:d5:b5:
           e7:20:1b:8b:ca:a4:ab:8d:e9:51:d9:e2:4c:2c:59:a9:da:b9:
           b2:75:1b:f6:42:f2:ef:c7:f2:18:f9:89:bc:a3:ff:8a:23:2e:
           70:47
    

    This is an example of a self-signed certificate, as the issuer and subject are the same. There's no way to verify this certificate except by checking it against itself; instead, these top-level certificates are manually stored by web browsers. Thawte is one of the root certificate authorities recognized by both Microsoft and Netscape. This certificate comes with the web browser and is trusted by default. As a long-lived, globally trusted certificate that can sign anything (as there are no constraints in the X509v3 Basic Constraints section), its matching private key has to be closely guarded.

    展开全文
  • TFX Iris sample

    2020-11-30 10:12:34
    <ul><li>[x] Sample test coverage</li><li>[x] Prebuilt sample config</li></ul> <p>This change is <a href="https://reviewable.io/reviews/kubeflow/pipelines/3119"><img src=...
  • <div><p>Add a sample showing how to run TFX pipeline on Kubeflow Runner. <p>TODO: - [x] Add proper dependency so it can be built into preload samples - [x] Add docs - [x] Add sample test coverage ...
  • x64_dbg和Sample

    热门讨论 2015-04-30 15:09:22
    里面是x64_dbg和对应的Sample,大家可以下载自行破解玩于q
  • Discuz_X3.0_Plugin_Sample

    2017-03-09 17:57:40
    Discuz_X3.0_Plugin_Sample
  • and <code>hcalPFClusterIso</code> from pat::Electron in a 102X (10_2_5) release from a 94X sample, I get only 0s. Reading them from a 102X sample is fine. Reading them in a 94X release from a 94X ...
  • Spring Security 2.0.x Sample Code
  • <div><h2>Proposed Changes <ul><li>Added a cloudevents sample using Vert.x</li></ul>该提问来源于开源项目:knative/docs</p></div>
  • x-b3-sampled: 1" -H "x-b3-flags: 1" app.platform-testing.testing.k8.atcloud.io 2>/dev/null | grep -i sampled "x-b3-sampled": "0", </code></pre>该提问来源于开源项目ÿ...
  • <div><p>Previously we maintain a precompiled <code>.tar.gz</code> package of the sample and test against that, which introduces several issues: 1. Compatibility b/w TFX and KFP SDK is not tested here;...
  • Can you provide sample code on initializing the 32x processing as part of a SGDK app and then even better, build some simple libraries to do things such as rendering to the video buffers and flipping ...
  • X-B3-Sampled") is either "1" or "0" as per the information provided at https://twitter.github.io/zipkin/Instrumenting.html</p> <p>However, passing "0" or "1" would ...
  • acegi-security-sample-contacts-x509.war
  • #include using namespace std; class Sample { private: int x; public: Sample() {} Sample (int a){x=a;} void disp(){cout<<"x="<<x;} Sample operator+(Sample &s); };
    #include <iostream>
    using namespace std;
    class Sample
    {
    private:
        int x;
    public:
        Sample() {}
        Sample (int a){x=a;}
        void disp(){cout<<"x="<<x<<endl;}
        Sample operator+(Sample &s);
    };
    Sample Sample:: operator+( Sample &s)//我们可以回想一下 C=C+B和C+=B;
    {
        return Sample(x+s.x);//这里运用了this指针 Sample(*this.x+s.x)
    }
    int main()
    {
        Sample obj1(20);
        Sample obj2(20);
        Sample obj3;
        obj3=obj1+obj2;
        obj3.disp();
        return 0;
    }
    


    解析 见 代码处

    运行结果

     

    展开全文
  • Firebase Cocos2d-x样本 Firebase C ++ SDK的iOS和Android cocos2d-x示例。 状态 该样本不再被主动维护,在这里仅供参考。 介绍 先决条件 setup_firebase_sample.py脚本要求将Python安装在本地。 访问以获取更多...
  • [1] 57268 killed ./sample -s $ ./sample [1] 57278 killed ./sample $ ./sample -s stop [1] 57288 killed ./sample -s stop $ ./sample -s reload [1] 57299 killed ./sample -s reload </sergey.yarmonov....
  • 最近下载了强大的VS2017 X64企业版,然后用最新的cmake3.11.0 X64重新编译了一把最新的opencv3.4.1库,这里是单独学习opencv库里的案例,所以编译出来的是X86版本的sample工程,解压后对应这里配置好的环境...
  • Bass24.Sample.Demos.bass.PAS and addons.x32.x64.7z
  • 盛思睿的温湿度传感器SHT3x的例代码,代码使用I2C,包含软件架构和代码
  • Normalized Frequency(x PI rad/sample)含义

    千次阅读 2017-07-07 17:40:24
    matlab信号处理工具规定单位频率为奈圭斯特频率(采样频率的一半),所以基本的滤波器设计函数的截止频率参数均以奈圭斯特频率为基准做归一化。例如,对于一个采样频率为1000Hz的系统,300Hz则对应300/500=0.6。...

    matlab信号处理工具规定单位频率为奈圭斯特频率(采样频率的一半),所以基本的滤波器设计函数的截止频率参数均以奈圭斯特频率为基准做归一化。例如,对于一个采样频率为1000Hz的系统,300Hz则对应300/500=0.6。若要将归一化频率转换为单位圆上的弧度,则将归一化值乘以π(PI)即可。

    下图为ISE中FIR滤波器显示的频率响应,横坐标是归一化的。若要求Hz为单位的截止频率,只需乘以fs/2即可,计算如下:

    下图中的0.5表示的是0.5*pi(rad),即为w = 0.5*pi, 由 w = 2 * pi * f / fs 得到 f = w * fs / 2pi,即 f = 0.5 * fs / 2 ,因为 fs = 122.88MHz,所以截止频率 f = 30.72MHz。


    展开全文
  • INSVOL</code> not being enabled for IT 1.x modules.</li><li>Fixed an incorrect bitshift on IT sample vibrato depth that resulted in IT sample vibrato being very weak.</li><li>Sample vibrato rate is ...
  • SMP865X广告机之RMFP(libsample v2)

    千次阅读 2011-06-09 10:54:00
    sigma-designs之前的libsample扩展性差,难以维护,难以使用。在libsample基础上做应用极其复杂。为了改变这种现象,逐步推出了libsample v2,简化了应用的开发。libsample v2即是RMFP库。 应用程序可以用RMFP库来...

    作者 QQ: 35327864,msn: fgwf1@hotmail.com,mail: agooou@gmail.com

    sigma-designs之前的libsample扩展性差,难以维护,难以使用。在libsample基础上做应用极其复杂。为了改变这种现象,逐步推出了libsample v2,简化了应用的开发。libsample v2即是RMFP库。
    应用程序可以用RMFP库来播放各种类型的流。
    libsamplev1的不足:
    • multiple playback instances
    • seamless output reconfiguration
    • code reuse
    • more flexible resource control
    • notification of several conditions
    • more flexible input stream control
    • set and be notified of RUA events regarding the decoders

    为了解决这些不足,编写了libsample2。
    libsample2 (或称为 RMFP, REALMagic File Player),内部架构不同与libsample1。
    • detection will be provided by the new detection API rmdetector3
    • playback will be provided by libplay
    • resource control will be handled by the application (or internally if the application does nothing)
    结构图请直接看文档,LibSampleV2

    对比libsamples1新支持的特性:
    • Internal indexing of program and transport streams (you can also use externally created indexes)
    • Seek in libsamples2 is accurate: when you seek on specify time, playback restart on picture corresponding to specified time (not on IFrame only as previously)
    • You can specify all resources used by video decoder, audio decoder, demux, etc.
    • Support for external text subtitles : SRT, SUB, SSA/ASS with colors/fonts/size/positioning using Freetype2
    • Support for external DVD like subtitles (sub/idx)
    • Support for Matroska MKV container (including embedded subtitles, chapters and attachments)
    • Can be used in multi threaded mode
    • Add/Remove RUA events
    • Several types of very useful notifications, stream properties, metadata, playback status, command status, etc.

    RMFP API的用法:
    详见文档LibSampleV2

    展开全文
  • Rounded Corners Sample

    2020-12-31 13:05:34
    - [x] New sample - [ ] Addition to existing sample - [ ] Modification to existing sample <p><strong>If this is an addition/modification to an existing sample page, which one?</strong></p> <p><strong>...
  • CameraX-api-sample 实现camerax api(带有三个按钮的简单ui [闪光灯,相机类型,拍摄照片])并以圆形图像视图显示捕获的照片
  • sample函数注意事项

    2020-11-09 09:22:19
    sample(x[x > 8]) # length 2 sample(x[x > 9]) # oops -- length 10!#意思就是,当选择的子变量是一个大于零的整数时,比如sample(10),就会返回1:10中的随机排列了,等同于sample(1:10,10,replace=...
  • TRMM Data Sample

    2020-12-09 00:41:25
    <div><p>Hello, <pre><code> I want to sample TRMM 2A...correctZFactor (9247 x 49 x 80 ((nscan X rays X height) please help me to sample data</p><p>该提问来源于开源项目:pytroll/pyresample</p></div>
  • Unity 5.X 3D游戏开发技术详解与典型案例 ,吴亚峰,索依娜编著 ,P627 sample
  • - [x] Add back sample test check for confusion matrix - [x] Doc <p>This change is <a href="https://reviewable.io/reviews/kubeflow/pipelines/2384"><img src=...
  • Refacto test sample

    2021-01-09 23:32:55
    - [x] Add sample test in Coffescript - [ ] Add sample test in ES6 (actually not written in ES6 _main.controller.spec.es6) - [ ] Add sample test in Typescript (actually not written in Typescript _main...
  • Update sample docs

    2020-12-08 23:40:52
    <ul><li>[x] My branch is up-to-date with upstream/develop branch.</li><li>[x] Everything works and tested for Python 3.5.2 and above.</li></ul> <h3>Description <p>According to the latest changes in ...

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 29,829
精华内容 11,931
关键字:

samplex